Skip to content

Instantly share code, notes, and snippets.

@su-v
Created December 1, 2013 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save su-v/cd4ef1cc1c4832f07989 to your computer and use it in GitHub Desktop.
Save su-v/cd4ef1cc1c4832f07989 to your computer and use it in GitHub Desktop.
inkscape-osxmenu, crash on Mavericks (embed image on import)
claytonwalker@Claytons-MacBook ~ % GTK_DEBUG_LLDB=true /Users/claytonwalker/Inkscape.app/Contents/MacOS/inkscape
Current executable set to '/Users/claytonwalker/Inkscape.app/Contents/MacOS/inkscape-bin' (x86_64).
(lldb) run
Process 15417 launched: '/Users/claytonwalker/Inkscape.app/Contents/MacOS/inkscape-bin' (x86_64)
Assertion failed: (this->is_initialized()), function get, file /Volumes/magenta/mp-trunk/quartz/include/boost/optional/optional.hpp, line 631.
Process 15417 stopped
* thread #1: tid = 0x3189ba, 0x00007fff86d98866 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT
frame #0: 0x00007fff86d98866 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill + 10:
-> 0x7fff86d98866: jae 0x7fff86d98870 ; __pthread_kill + 20
0x7fff86d98868: movq %rax, %rdi
0x7fff86d9886b: jmpq 0x7fff86d95175 ; cerror_nocancel
0x7fff86d98870: ret
(lldb) bt
* thread #1: tid = 0x3189ba, 0x00007fff86d98866 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT
frame #0: 0x00007fff86d98866 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff8f8f035c libsystem_pthread.dylib`pthread_kill + 92
frame #2: 0x00007fff8d184bba libsystem_c.dylib`abort + 125
frame #3: 0x00007fff8d14ea5f libsystem_c.dylib`__assert_rtn + 321
frame #4: 0x0000000100019a32 inkscape-bin`boost::optional<Geom::Rect>::get(this=0x00007fff5fbfbfb0) + 82 at optional.hpp:631
frame #5: 0x00000001000193f5 inkscape-bin`boost::optional<Geom::Rect>::operator*(this=0x00007fff5fbfbfb0) + 21 at optional.hpp:647
frame #6: 0x0000000100249c19 inkscape-bin`sp_image_set_curve(image=0x0000000156427c20) + 249 at sp-image.cpp:832
frame #7: 0x0000000100249aee inkscape-bin`SPImage::set(this=0x0000000156427c20, key=91, value=0x0000000155110290) + 2174 at sp-image.cpp:322
frame #8: 0x00000001002a0095 inkscape-bin`SPObject::setKeyValue(this=0x0000000156427c20, key=91, value=0x0000000155110290) + 53 at sp-object.cpp:915
frame #9: 0x000000010029f515 inkscape-bin`SPObject::readAttr(this=0x0000000156427c20, key=0x00000001080651c3) + 229 at sp-object.cpp:932
frame #10: 0x000000010029c7b9 inkscape-bin`SPObject::repr_attr_changed(key=0x00000001080651c3, is_interactive=false, data=0x0000000156427c20) + 57 at sp-object.cpp:940
frame #11: 0x00000001007045e4 inkscape-bin`Inkscape::XML::(anonymous namespace)::VectorNodeObserver::notifyAttributeChanged(this=0x0000000155106160, node=0x000000015511a940, name=939, old_value=ptr_shared<char> at 0x00007fff5fbfc270, new_value=ptr_shared<char> at 0x00007fff5fbfc268) + 148 at composite-node-observer.cpp:144
frame #12: 0x00000001007032b0 inkscape-bin`Inkscape::XML::CompositeNodeObserver::notifyAttributeChanged(this=0x000000015511a8c0, node=0x000000015511a940, name=939, old_value=ptr_shared<char> at 0x00007fff5fbfc2f0, new_value=ptr_shared<char> at 0x00007fff5fbfc2e8) + 208 at composite-node-observer.cpp:94
frame #13: 0x000000010071b69d inkscape-bin`Inkscape::XML::SimpleNode::setAttribute(this=0x000000015511a870, name=0x0000000100fc55ed, value=0x0000000155ec59e8) + 2957 at simple-node.cpp:400
frame #14: 0x000000010071b82c inkscape-bin`non-virtual thunk to Inkscape::XML::SimpleNode::setAttribute(char const*, char const*, bool) + 76
frame #15: 0x0000000100716f2a inkscape-bin`sp_repr_set_svg_double(repr=0x000000015511a940, key=0x0000000100fc55ed, val=NaN) + 314 at repr-util.cpp:501
frame #16: 0x000000010024aec9 inkscape-bin`SPImage::write(this=0x0000000156427c20, xml_doc=0x000000010b04f620, repr=0x000000015511a940, flags=2) + 185 at sp-image.cpp:530
frame #17: 0x00000001002a08dd inkscape-bin`SPObject::updateRepr(this=0x0000000156427c20, doc=0x000000010b04f620, repr=0x000000015511a940, flags=2) + 221 at sp-object.cpp:1077
frame #18: 0x00000001002a0107 inkscape-bin`SPObject::updateRepr(this=0x0000000156427c20, flags=2) + 103 at sp-object.cpp:1054
frame #19: 0x00000001002550c4 inkscape-bin`SPItem::doWriteTransform(this=0x0000000156427c20, repr=0x000000015511a940, transform=0x0000000156427d00, adv=0x0000000000000000, compensate=false) + 2084 at sp-item.cpp:1408
frame #20: 0x00000001001acd4a inkscape-bin`sp_selection_apply_affine(selection=0x000000010b0b52d0, affine=0x00007fff5fbfd950, set_i2d=true, compensate=false) + 5594 at selection-chemistry.cpp:1568
frame #21: 0x00000001000bf536 inkscape-bin`file_import(in_doc=0x000000010b06ef00, uri=0x00007fff5fbfdc28, key=0x0000000000000000) + 2374 at file.cpp:1241
frame #22: 0x00000001000bfe62 inkscape-bin`sp_file_import(parentWindow=0x0000000146571e40) + 1746 at file.cpp:1360
frame #23: 0x00000001003259b4 inkscape-bin`Inkscape::FileVerb::perform(action=0x0000000108333e70, data=0x000000000000000a) + 484 at verbs.cpp:864
frame #24: 0x000000010033793b inkscape-bin`sigc::pointer_functor2<SPAction*, void*, void>::operator(this=0x000000010c17b038, _A_a1=0x000000010c17b048, _A_a2=0x000000010c17b040)(SPAction* const&, void* const&) const + 43 at ptr_fun.h:147
frame #25: 0x0000000100337907 inkscape-bin`sigc::adaptor_functor<sigc::pointer_functor2<SPAction*, void*, void> >::deduce_result_type<SPAction*&, void*&, void, void, void, void, void>::type sigc::adaptor_functor<sigc::pointer_functor2<SPAction*, void*, void> >::operator(this=0x000000010c17b030, _A_arg1=0x000000010c17b048, _A_arg2=0x000000010c17b040)<SPAction*&, void*&>(SPAction*&, void*&) const + 55 at adaptor_trait.h:103
frame #26: 0x00000001003378c9 inkscape-bin`sigc::bind_functor<-1, sigc::pointer_functor2<SPAction*, void*, void>, void*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::deduce_result_type<SPAction*&, void, void, void, void, void, void>::type sigc::bind_functor<-1, sigc::pointer_functor2<SPAction*, void*, void>, void*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator(this=0x000000010c17b028, _A_arg1=0x000000010c17b048)<SPAction*&>(SPAction*&) + 73 at bind.h:1122
frame #27: 0x0000000100337875 inkscape-bin`sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::pointer_functor2<SPAction*, void*, void>, void*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, SPAction*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator(this=0x000000010c17b020)() + 53 at bind.h:1110
frame #28: 0x0000000100337834 inkscape-bin`sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::pointer_functor2<SPAction*, void*, void>, void*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, SPAction*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void>::call_it(rep=0x000000010c17aff0) + 36 at slot.h:103
frame #29: 0x0000000100066ed4 inkscape-bin`sigc::internal::signal_emit0<void, sigc::nil>::emit(impl=0x000000010c17c050) + 452 at signal.h:772
frame #30: 0x0000000100062a49 inkscape-bin`sigc::signal0<void, sigc::nil>::emit(this=0x0000000108333ec8) const + 25 at signal.h:2669
frame #31: 0x00000001004fcc1f inkscape-bin`sp_action_perform(action=0x0000000108333e70) + 255 at action.cpp:136
frame #32: 0x00000001001dbac0 inkscape-bin`sp_shortcut_invoke(shortcut=134217833, view=0x000000010b0b6c00) + 112 at shortcuts.cpp:74
frame #33: 0x00000001005061df inkscape-bin`on_window_key_press(event=0x000000014745cc40) + 191 at window.cpp:41
frame #34: 0x00000001005065f0 inkscape-bin`sigc::pointer_functor1<_GdkEventKey*, bool>::operator(this=0x0000000146572fd8, _A_a1=0x00007fff5fbfe030)(_GdkEventKey* const&) const + 32 at ptr_fun.h:111
frame #35: 0x00000001005065bf inkscape-bin`sigc::adaptor_functor<sigc::pointer_functor1<_GdkEventKey*, bool> >::deduce_result_type<_GdkEventKey* const&, void, void, void, void, void, void>::type sigc::adaptor_functor<sigc::pointer_functor1<_GdkEventKey*, bool> >::operator(this=0x0000000146572fd0, _A_arg1=0x00007fff5fbfe030)<_GdkEventKey* const&>(_GdkEventKey* const&) const + 47 at adaptor_trait.h:84
frame #36: 0x0000000100506577 inkscape-bin`sigc::internal::slot_call1<sigc::pointer_functor1<_GdkEventKey*, bool>, bool, _GdkEventKey*>::call_it(rep=0x0000000146572fa0, a_1=0x00007fff5fbfe030) + 55 at slot.h:136
frame #37: 0x00000001032b43ba libgtkmm-2.4.1.dylib`(anonymous namespace)::Widget_signal_key_press_event_callback(_GtkWidget*, _GdkEventKey*, void*) + 84
frame #38: 0x0000000103dad8ea libgtk-quartz-2.0.0.dylib`_gtk_marshal_BOOLEAN__BOXED + 159
frame #39: 0x0000000105043521 libgobject-2.0.0.dylib`g_closure_invoke + 237
frame #40: 0x0000000105056523 libgobject-2.0.0.dylib`signal_emit_unlocked_R + 2350
frame #41: 0x00000001050572e4 libgobject-2.0.0.dylib`g_signal_emit_valist + 2886
frame #42: 0x00000001050575ee libgobject-2.0.0.dylib`g_signal_emit + 134
frame #43: 0x0000000103ea54a1 libgtk-quartz-2.0.0.dylib`gtk_widget_event_internal + 539
frame #44: 0x0000000103dabb43 libgtk-quartz-2.0.0.dylib`gtk_propagate_event + 311
frame #45: 0x0000000103dab7fc libgtk-quartz-2.0.0.dylib`gtk_main_do_event + 942
frame #46: 0x0000000100011e54 inkscape-bin`snooper(event=0x000000014745cc40) + 740 at main.cpp:1009
frame #47: 0x0000000104162527 libgdk-quartz-2.0.0.dylib`gdk_event_dispatch + 84
frame #48: 0x00000001050b74cc libglib-2.0.0.dylib`g_main_context_dispatch + 300
frame #49: 0x00000001050b77ce libglib-2.0.0.dylib`g_main_context_iterate + 411
frame #50: 0x00000001050b7a53 libglib-2.0.0.dylib`g_main_loop_run + 256
frame #51: 0x0000000103dab181 libgtk-quartz-2.0.0.dylib`gtk_main + 179
frame #52: 0x00000001000115a5 inkscape-bin`sp_main_gui(argc=1, argv=0x00007fff5fbfea50) + 1909 at main.cpp:1103
frame #53: 0x0000000100010c9f inkscape-bin`main(argc=1, argv=0x00007fff5fbfea50) + 1823 at main.cpp:789
frame #54: 0x0000000100010574 inkscape-bin`start + 52
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment