Inkscape allways crash on startup,Why????
Hi, i use OpenSuse 10.0 and Inkscape allways crash on startup. I had this error with different versions from Suse and also with a 0.43+devel (Jan 27 2006) compiled on my host I run it under Gnome and i dont have the problematic KDE Baghira theme and the package gtk_qt_engine installed.
I have post this problem a few weeks before but found no solution. Can someone explain the backtrace or have an idea what's the problem? the line 88 in /usr/include/c++/4.0.2/bits/list.tcc is " __tmp->hook(__position._M_node);"
Here is the backtrace:
#0 0x40537447 in std::_List_node_base::hook () from //usr/lib/libstdc++.so.6 #1 0x08152c67 in std::list<sigc::slot_base, std::allocatorsigc::slot_base >::insert (this=0x85c8798, __position={_M_node = 0x85c8798}, __x=@0xbf8542c0) at list.tcc:88 #2 0x08152378 in sp_document_add_resource (document=0x8648f78, key=0x84731cf "layer", object=0x85cdb30) at signal_base.h:180 #3 0x08175266 in SPGroup::setLayerMode (this=0x85cdb30, mode=SPGroup::LAYER) at sp-item-group.cpp:663 #4 0x0818111a in sp_object_read_attr (object=0x85cdb30, key=0x8427416 "inkscape:groupmode") at sp-object.cpp:1057 #5 0x0817469d in sp_group_build (object=0x85cdb30, document=0x8648f78, repr=0x8646b94) at sp-item-group.cpp:124 #6 0x08181c51 in sp_object_invoke_build (object=0x85cdb30, document=0x8648f78, repr=0x8646b94, cloned=<value optimized out>) at sp-object.cpp:857 #7 0x08183255 in sp_object_build (object=0x85a8940, document=0x8648f78, repr=0x8646ef4) at sp-object.cpp:805 #8 0x0818e8f5 in sp_root_build (object=0x85a8940, document=0x8648f78, repr=0x8646ef4) at sp-root.cpp:162 #9 0x08181c51 in sp_object_invoke_build (object=0x85a8940, document=0x8648f78, repr=0x8646ef4, cloned=<value optimized out>) at sp-object.cpp:857 #10 0x081805d3 in sp_object_repr_build_tree (document=0x8648f78, ---Type <return> to continue, or q <return> to quit--- repr=0x8646ef4) at sp-object-repr.cpp:67 #11 0x0815132d in sp_document_create (rdoc=0x863d6e4, uri=0x0, base=0x0, name=0x85cadd8 "Neues Dokument 1", keepalive=<value optimized out>) at document.cpp:232 #12 0x081518d2 in sp_document_new (uri=0x0, keepalive=1, make_new=true) at document.cpp:356 #13 0x08153873 in sp_file_new ( templ=0x85c9848 "/opt/share/inkscape/templates/default.de.svg") at file.cpp:96 #14 0x081552e3 in sp_file_new_default () at file.cpp:132 #15 0x0814cd71 in sp_main_gui (argc=1, argv=0xbf854694) at main.cpp:825 #16 0x0821eb01 in Inkscape::NSApplication::Application::run (this=0xbf8545f8) at application.cpp:117 #17 0x0814c5d9 in main (argc=1, argv=0xbf854694) at main.cpp:675
Thanks Ralf
Ralf, this is a compicated matter, the backtrace is probably misleading.
I had this error with different versions from Suse and also with a 0.43+devel (Jan 27 2006) compiled on my host I run it under Gnome and i dont have the problematic KDE Baghira theme and the package gtk_qt_engine installed.
For the record, I have OpenSuSE 10.1 but inkscape worked with 10.0 here, too, under KDE, Gnome, and now under wm/AfterSTEP. However, there are more crash reports from RPM based systems than from Debian-based systems, so there must be some unsolved problem(s) on these systems.
There are still some possibilities for you, though. Because the last line in your backtrace is in libstdc++6, you could try to compile that and all other C++ libs needed (libsigc++,glibmm, gtkmm) with the same compiler as you use for inkscape. This problem (not the same g++ used) occurs frequently, and esp. recently.
Somewhat less laborious would be to get a backtrace from valgrind3, after you have done 'export _INKSCAPE_GC=disable'. valgrind is better in catching the right moment for the backtrace, so to speak.
Hope this helps, ralf
Ralf Stephan schrieb:
Ralf, this is a compicated matter, the backtrace is probably misleading.
I had this error with different versions from Suse and also with a 0.43+devel (Jan 27 2006) compiled on my host I run it under Gnome and i dont have the problematic KDE Baghira theme and the package gtk_qt_engine installed.
For the record, I have OpenSuSE 10.1 but inkscape worked with 10.0 here, too, under KDE, Gnome, and now under wm/AfterSTEP. However, there are more crash reports from RPM based systems than from Debian-based systems, so there must be some unsolved problem(s) on these systems.
There are still some possibilities for you, though. Because the last line in your backtrace is in libstdc++6, you could try to compile that and all other C++ libs needed (libsigc++,glibmm, gtkmm) with the same compiler as you use for inkscape. This problem (not the same g++ used) occurs frequently, and esp. recently.
Somewhat less laborious would be to get a backtrace from valgrind3, after you have done 'export _INKSCAPE_GC=disable'. valgrind is better in catching the right moment for the backtrace, so to speak.
I have attached the valgrind output.
thanks ralf
Hope this helps, ralf
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&da... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
valgrind inkscape ==10925== Memcheck, a memory error detector. ==10925== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==10925== Using LibVEX rev 1313, a library for dynamic binary translation. ==10925== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==10925== Using valgrind-3.0.1.SVN, a dynamic binary instrumentation framework. ==10925== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==10925== For more details, rerun with: -v ==10925== ==10925== Syscall param write(buf) points to uninitialised byte(s) ==10925== at 0x1CA83353: __write_nocancel (in /lib/tls/libpthread-2.3.5.so) ==10925== by 0x1C7A127D: (within /usr/X11R6/lib/libX11.so.6.2) ==10925== by 0x1C7A15AE: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2) ==10925== by 0x1C784C34: (within /usr/X11R6/lib/libX11.so.6.2) ==10925== by 0x1C784D5C: _XReply (in /usr/X11R6/lib/libX11.so.6.2) ==10925== by 0x1C7702A2: XInternAtom (in /usr/X11R6/lib/libX11.so.6.2) ==10925== by 0x1C78E0FA: XSetWMProperties (in /usr/X11R6/lib/libX11.so.6.2) ==10925== by 0x1C1FC5D9: (within /opt/gnome/lib/libgdk-x11-2.0.so.0.800.3) ==10925== by 0x1C1FF3D5: gdk_window_new (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.3) ==10925== by 0x1C1DD59B: gdk_display_open (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.3) ==10925== by 0x1C1BC2CE: gdk_display_open_default_libgtk_only (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.3) ==10925== by 0x1BFE2CEE: gtk_init_check (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.3) ==10925== Address 0x1CD5B070 is 128 bytes inside a block of size 16384 alloc'd ==10925== at 0x1B8FFB88: calloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x1C774AE3: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==10925== by 0x1C1DD4C1: gdk_display_open (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.3) ==10925== by 0x1C1BC2CE: gdk_display_open_default_libgtk_only (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.3) ==10925== by 0x1BFE2CEE: gtk_init_check (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.3) ==10925== by 0x1BFE2D23: gtk_init (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.3) ==10925== by 0x1BAB9AF7: Gtk::Main::init(int*, char***, bool) (in /opt/gnome/lib/libgtkmm-2.4.so.1.0.23) ==10925== by 0x1BAB9B77: Gtk::Main::Main(int*, char***, bool) (in /opt/gnome/lib/libgtkmm-2.4.so.1.0.23) ==10925== by 0x814CC4A: sp_main_gui(int, char const**) (main.cpp:796) ==10925== by 0x821EB00: Inkscape::NSApplication::Application::run() (application.cpp:117) ==10925== by 0x814C5D8: main (main.cpp:675) ==10925== ==10925== Mismatched free() / delete / delete [] ==10925== at 0x1B8FF3C3: free (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x1CC73C80: operator delete(void*) (in /usr/lib/libstdc++.so.5.0.7) ==10925== by 0x1BD05881: sigc::slot_base::~slot_base() (../sigc++/functors/slot_base.h:87) ==10925== by 0x817B3E4: sp_item_init(SPItem*) (slot.h:571) ==10925== by 0x1C926819: g_type_create_instance (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90BE51: (within /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90CADE: g_object_newv (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D696: g_object_new_valist (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D84F: g_object_new (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x81805A0: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:63) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== by 0x81518D1: sp_document_new(char const*, unsigned, bool) (document.cpp:356) ==10925== Address 0x1CD393C8 is 0 bytes inside a block of size 40 alloc'd ==10925== at 0x1B8FEC42: operator new(unsigned) (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x817B902: sigc::internal::typed_slot_rep<sigc::bind_functor<-1, sigc::pointer_functor3<SPObject*, SPObject*, SPItem*, void>, SPItem*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >::dup(void*) (slot.h:77) ==10925== by 0x1BD05806: sigc::slot_base::slot_base(sigc::slot_base const&) (../sigc++/functors/slot_base.h:93) ==10925== by 0x817B3CD: sp_item_init(SPItem*) (slot.h:611) ==10925== by 0x1C926819: g_type_create_instance (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90BE51: (within /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90CADE: g_object_newv (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D696: g_object_new_valist (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D84F: g_object_new (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x81805A0: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:63) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== by 0x81518D1: sp_document_new(char const*, unsigned, bool) (document.cpp:356) ==10925== ==10925== Mismatched free() / delete / delete [] ==10925== at 0x1B8FF3C3: free (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x1CC73C80: operator delete(void*) (in /usr/lib/libstdc++.so.5.0.7) ==10925== by 0x1BD05881: sigc::slot_base::~slot_base() (../sigc++/functors/slot_base.h:87) ==10925== by 0x817B3EC: sp_item_init(SPItem*) (slot.h:571) ==10925== by 0x1C926819: g_type_create_instance (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90BE51: (within /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90CADE: g_object_newv (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D696: g_object_new_valist (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D84F: g_object_new (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x81805A0: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:63) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== by 0x81518D1: sp_document_new(char const*, unsigned, bool) (document.cpp:356) ==10925== Address 0x1CD43768 is 0 bytes inside a block of size 40 alloc'd ==10925== at 0x1B8FEC42: operator new(unsigned) (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x817B362: sp_item_init(SPItem*) (slot.h:604) ==10925== by 0x1C926819: g_type_create_instance (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90BE51: (within /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90CADE: g_object_newv (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D696: g_object_new_valist (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D84F: g_object_new (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x81805A0: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:63) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== by 0x81518D1: sp_document_new(char const*, unsigned, bool) (document.cpp:356) ==10925== by 0x8153872: sp_file_new(char const*) (file.cpp:96) ==10925== by 0x81552E2: sp_file_new_default() (file.cpp:132) ==10925== ==10925== Mismatched free() / delete / delete [] ==10925== at 0x1B8FF3C3: free (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x1CC73C80: operator delete(void*) (in /usr/lib/libstdc++.so.5.0.7) ==10925== by 0x1BD05881: sigc::slot_base::~slot_base() (../sigc++/functors/slot_base.h:87) ==10925== by 0x817B4CD: sp_item_init(SPItem*) (slot.h:571) ==10925== by 0x1C926819: g_type_create_instance (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90BE51: (within /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90CADE: g_object_newv (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D696: g_object_new_valist (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D84F: g_object_new (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x81805A0: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:63) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== by 0x81518D1: sp_document_new(char const*, unsigned, bool) (document.cpp:356) ==10925== Address 0x1CD43858 is 0 bytes inside a block of size 40 alloc'd ==10925== at 0x1B8FEC42: operator new(unsigned) (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x817B902: sigc::internal::typed_slot_rep<sigc::bind_functor<-1, sigc::pointer_functor3<SPObject*, SPObject*, SPItem*, void>, SPItem*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >::dup(void*) (slot.h:77) ==10925== by 0x1BD05806: sigc::slot_base::slot_base(sigc::slot_base const&) (../sigc++/functors/slot_base.h:93) ==10925== by 0x817B4B3: sp_item_init(SPItem*) (slot.h:611) ==10925== by 0x1C926819: g_type_create_instance (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90BE51: (within /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90CADE: g_object_newv (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D696: g_object_new_valist (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D84F: g_object_new (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x81805A0: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:63) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== by 0x81518D1: sp_document_new(char const*, unsigned, bool) (document.cpp:356) ==10925== ==10925== Mismatched free() / delete / delete [] ==10925== at 0x1B8FF3C3: free (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x1CC73C80: operator delete(void*) (in /usr/lib/libstdc++.so.5.0.7) ==10925== by 0x1BD05881: sigc::slot_base::~slot_base() (../sigc++/functors/slot_base.h:87) ==10925== by 0x817B519: sp_item_init(SPItem*) (slot.h:571) ==10925== by 0x1C926819: g_type_create_instance (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90BE51: (within /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90CADE: g_object_newv (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D696: g_object_new_valist (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D84F: g_object_new (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x81805A0: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:63) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== by 0x81518D1: sp_document_new(char const*, unsigned, bool) (document.cpp:356) ==10925== Address 0x1CD39470 is 0 bytes inside a block of size 40 alloc'd ==10925== at 0x1B8FEC42: operator new(unsigned) (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x817B448: sp_item_init(SPItem*) (slot.h:604) ==10925== by 0x1C926819: g_type_create_instance (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90BE51: (within /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90CADE: g_object_newv (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D696: g_object_new_valist (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x1C90D84F: g_object_new (in /opt/gnome/lib/libgobject-2.0.so.0.800.1) ==10925== by 0x81805A0: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:63) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== by 0x81518D1: sp_document_new(char const*, unsigned, bool) (document.cpp:356) ==10925== by 0x8153872: sp_file_new(char const*) (file.cpp:96) ==10925== by 0x81552E2: sp_file_new_default() (file.cpp:132) ==10925== ==10925== Invalid read of size 4 ==10925== at 0x1BE22439: std::_List_node_base::hook(std::_List_node_base*) (in /usr/lib/libstdc++.so.6.0.6) ==10925== by 0x8152C66: std::list<sigc::slot_base, std::allocatorsigc::slot_base >::insert(std::_List_iteratorsigc::slot_base, sigc::slot_base const&) (list.tcc:88) ==10925== by 0x8152377: sp_document_add_resource(SPDocument*, char const*, SPObject*) (signal_base.h:180) ==10925== by 0x8175265: SPGroup::setLayerMode(SPGroup::LayerMode) (sp-item-group.cpp:663) ==10925== by 0x8181119: sp_object_read_attr(SPObject*, char const*) (sp-object.cpp:1057) ==10925== by 0x817469C: sp_group_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-item-group.cpp:124) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x8183254: sp_object_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-object.cpp:805) ==10925== by 0x818E8F4: sp_root_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-root.cpp:162) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x81805D2: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:67) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== Address 0x1CD77B44 is 0 bytes after a block of size 12 alloc'd ==10925== at 0x1B8FE8A6: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x1CC7510D: operator new(unsigned) (in /usr/lib/libstdc++.so.5.0.7) ==10925== by 0x1BD04B69: sigc::signal_base::impl() const (signal_base.cc:132) ==10925== by 0x1BD047D7: sigc::signal_base::signal_base(sigc::signal_base const&) (signal_base.cc:85) ==10925== by 0x815242F: sp_document_add_resource(SPDocument*, char const*, SPObject*) (signal.h:1735) ==10925== by 0x8175265: SPGroup::setLayerMode(SPGroup::LayerMode) (sp-item-group.cpp:663) ==10925== by 0x8181119: sp_object_read_attr(SPObject*, char const*) (sp-object.cpp:1057) ==10925== by 0x817469C: sp_group_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-item-group.cpp:124) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x8183254: sp_object_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-object.cpp:805) ==10925== by 0x818E8F4: sp_root_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-root.cpp:162) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== ==10925== Invalid read of size 4 ==10925== at 0x1BE22441: std::_List_node_base::hook(std::_List_node_base*) (in /usr/lib/libstdc++.so.6.0.6) ==10925== by 0x8152C66: std::list<sigc::slot_base, std::allocatorsigc::slot_base >::insert(std::_List_iteratorsigc::slot_base, sigc::slot_base const&) (list.tcc:88) ==10925== by 0x8152377: sp_document_add_resource(SPDocument*, char const*, SPObject*) (signal_base.h:180) ==10925== by 0x8175265: SPGroup::setLayerMode(SPGroup::LayerMode) (sp-item-group.cpp:663) ==10925== by 0x8181119: sp_object_read_attr(SPObject*, char const*) (sp-object.cpp:1057) ==10925== by 0x817469C: sp_group_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-item-group.cpp:124) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x8183254: sp_object_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-object.cpp:805) ==10925== by 0x818E8F4: sp_root_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-root.cpp:162) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x81805D2: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:67) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== Address 0x1CD77B44 is 0 bytes after a block of size 12 alloc'd ==10925== at 0x1B8FE8A6: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x1CC7510D: operator new(unsigned) (in /usr/lib/libstdc++.so.5.0.7) ==10925== by 0x1BD04B69: sigc::signal_base::impl() const (signal_base.cc:132) ==10925== by 0x1BD047D7: sigc::signal_base::signal_base(sigc::signal_base const&) (signal_base.cc:85) ==10925== by 0x815242F: sp_document_add_resource(SPDocument*, char const*, SPObject*) (signal.h:1735) ==10925== by 0x8175265: SPGroup::setLayerMode(SPGroup::LayerMode) (sp-item-group.cpp:663) ==10925== by 0x8181119: sp_object_read_attr(SPObject*, char const*) (sp-object.cpp:1057) ==10925== by 0x817469C: sp_group_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-item-group.cpp:124) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x8183254: sp_object_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-object.cpp:805) ==10925== by 0x818E8F4: sp_root_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-root.cpp:162) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== ==10925== Invalid write of size 4 ==10925== at 0x1BE22444: std::_List_node_base::hook(std::_List_node_base*) (in /usr/lib/libstdc++.so.6.0.6) ==10925== by 0x8152C66: std::list<sigc::slot_base, std::allocatorsigc::slot_base >::insert(std::_List_iteratorsigc::slot_base, sigc::slot_base const&) (list.tcc:88) ==10925== by 0x8152377: sp_document_add_resource(SPDocument*, char const*, SPObject*) (signal_base.h:180) ==10925== by 0x8175265: SPGroup::setLayerMode(SPGroup::LayerMode) (sp-item-group.cpp:663) ==10925== by 0x8181119: sp_object_read_attr(SPObject*, char const*) (sp-object.cpp:1057) ==10925== by 0x817469C: sp_group_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-item-group.cpp:124) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x8183254: sp_object_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-object.cpp:805) ==10925== by 0x818E8F4: sp_root_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-root.cpp:162) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x81805D2: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:67) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== Address 0x1CD77B44 is 0 bytes after a block of size 12 alloc'd ==10925== at 0x1B8FE8A6: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x1CC7510D: operator new(unsigned) (in /usr/lib/libstdc++.so.5.0.7) ==10925== by 0x1BD04B69: sigc::signal_base::impl() const (signal_base.cc:132) ==10925== by 0x1BD047D7: sigc::signal_base::signal_base(sigc::signal_base const&) (signal_base.cc:85) ==10925== by 0x815242F: sp_document_add_resource(SPDocument*, char const*, SPObject*) (signal.h:1735) ==10925== by 0x8175265: SPGroup::setLayerMode(SPGroup::LayerMode) (sp-item-group.cpp:663) ==10925== by 0x8181119: sp_object_read_attr(SPObject*, char const*) (sp-object.cpp:1057) ==10925== by 0x817469C: sp_group_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-item-group.cpp:124) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x8183254: sp_object_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-object.cpp:805) ==10925== by 0x818E8F4: sp_root_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-root.cpp:162) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== ==10925== Invalid write of size 4 ==10925== at 0x1BE22447: std::_List_node_base::hook(std::_List_node_base*) (in /usr/lib/libstdc++.so.6.0.6) ==10925== by 0x8152C66: std::list<sigc::slot_base, std::allocatorsigc::slot_base >::insert(std::_List_iteratorsigc::slot_base, sigc::slot_base const&) (list.tcc:88) ==10925== by 0x8152377: sp_document_add_resource(SPDocument*, char const*, SPObject*) (signal_base.h:180) ==10925== by 0x8175265: SPGroup::setLayerMode(SPGroup::LayerMode) (sp-item-group.cpp:663) ==10925== by 0x8181119: sp_object_read_attr(SPObject*, char const*) (sp-object.cpp:1057) ==10925== by 0x817469C: sp_group_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-item-group.cpp:124) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x8183254: sp_object_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-object.cpp:805) ==10925== by 0x818E8F4: sp_root_build(SPObject*, SPDocument*, Inkscape::XML::Node*) (sp-root.cpp:162) ==10925== by 0x8181C50: sp_object_invoke_build(SPObject*, SPDocument*, Inkscape::XML::Node*, unsigned) (sp-object.cpp:857) ==10925== by 0x81805D2: sp_object_repr_build_tree(SPDocument*, Inkscape::XML::Node*) (sp-object-repr.cpp:67) ==10925== by 0x815132C: sp_document_create(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned) (document.cpp:232) ==10925== Address 0x0 is not stack'd, malloc'd or (recently) free'd
Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it. bt ==10925== ==10925== Invalid read of size 2 ==10925== at 0x8150AE2: sp_document_idle_handler(void*) (document.cpp:720) ==10925== by 0x1C965940: (within /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1C96335B: g_main_context_dispatch (in /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1C9667CA: (within /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1C966AE6: g_main_loop_run (in /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1BF64859: gtk_dialog_run (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.3) ==10925== by 0x815814D: inkscape_segv_handler(int) (inkscape.cpp:525) ==10925== by 0x1CAE65E7: (within /lib/tls/libc-2.3.5.so) ==10925== by 0x8152C66: std::list<sigc::slot_base, std::allocatorsigc::slot_base >::insert(std::_List_iteratorsigc::slot_base, sigc::slot_base const&) (list.tcc:88) ==10925== by 0x8152377: sp_document_add_resource(SPDocument*, char const*, SPObject*) (signal_base.h:180) ==10925== by 0x8175265: SPGroup::setLayerMode(SPGroup::LayerMode) (sp-item-group.cpp:663) ==10925== by 0x8181119: sp_object_read_attr(SPObject*, char const*) (sp-object.cpp:1057) ==10925== Address 0xC is not stack'd, malloc'd or (recently) free'd ==10925== ==10925== Process terminating with default action of signal 11 (SIGSEGV) ==10925== Access not within mapped region at address 0xC ==10925== at 0x8150AE2: sp_document_idle_handler(void*) (document.cpp:720) ==10925== by 0x1C965940: (within /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1C96335B: g_main_context_dispatch (in /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1C9667CA: (within /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1C966AE6: g_main_loop_run (in /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1BF64859: gtk_dialog_run (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.3) ==10925== by 0x815814D: inkscape_segv_handler(int) (inkscape.cpp:525) ==10925== by 0x1CAE65E7: (within /lib/tls/libc-2.3.5.so) ==10925== by 0x8152C66: std::list<sigc::slot_base, std::allocatorsigc::slot_base >::insert(std::_List_iteratorsigc::slot_base, sigc::slot_base const&) (list.tcc:88) ==10925== by 0x8152377: sp_document_add_resource(SPDocument*, char const*, SPObject*) (signal_base.h:180) ==10925== by 0x8175265: SPGroup::setLayerMode(SPGroup::LayerMode) (sp-item-group.cpp:663) ==10925== by 0x8181119: sp_object_read_attr(SPObject*, char const*) (sp-object.cpp:1057) ==10925== ==10925== Invalid free() / delete / delete[] ==10925== at 0x1B8FF3C3: free (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10925== by 0x1CBB926D: free_mem (in /lib/tls/libc-2.3.5.so) ==10925== by 0x1CBB8D21: __libc_freeres (in /lib/tls/libc-2.3.5.so) ==10925== by 0x1B8FB69B: _vgw_freeres (in /usr/lib/valgrind/vg_preload_core.so) ==10925== by 0x1CD58C17: ??? ==10925== by 0x1C965940: (within /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1C96335B: g_main_context_dispatch (in /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1C9667CA: (within /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1C966AE6: g_main_loop_run (in /opt/gnome/lib/libglib-2.0.so.0.800.1) ==10925== by 0x1BF64859: gtk_dialog_run (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.3) ==10925== by 0x815814D: inkscape_segv_handler(int) (inkscape.cpp:525) ==10925== by 0x1CAE65E7: (within /lib/tls/libc-2.3.5.so) ==10925== Address 0x1CA8BD80 is not stack'd, malloc'd or (recently) free'd ==10925== ==10925== ERROR SUMMARY: 270 errors from 11 contexts (suppressed: 150 from 4) ==10925== malloc/free: in use at exit: 2169398 bytes in 38169 blocks. ==10925== malloc/free: 237379 allocs, 199211 frees, 26950525 bytes allocated. ==10925== For counts of detected errors, rerun with: -v ==10925== searching for pointers to 38169 not-freed blocks. ==10925== checked 3374316 bytes. ==10925== ==10925== LEAK SUMMARY: ==10925== definitely lost: 84065 bytes in 2705 blocks. ==10925== possibly lost: 181899 bytes in 2171 blocks. ==10925== still reachable: 1903434 bytes in 33293 blocks. ==10925== suppressed: 0 bytes in 0 blocks. ==10925== Use --leak-check=full to see details of leaked memory. Speicherzugriffsfehler
Ralf, I fear you will have to do the recompile as stated before. Only the first chunk of the backtrace shows here too. The rest clearly points to some C++ libs issue.
There are still some possibilities for you, though. Because the last line in your backtrace is in libstdc++6, you could try to compile that and all other C++ libs needed (libsigc++,glibmm, gtkmm) with the same compiler as you use for inkscape. This problem (not the same g++ used) occurs frequently, and esp. recently.
Better to include the compat-libstdc++ package, too, or remove it if not needed.
ralf
Ralf Stephan schrieb:
Ralf, I fear you will have to do the recompile as stated before. Only the first chunk of the backtrace shows here too. The rest clearly points to some C++ libs issue.
There are still some possibilities for you, though. Because the last line in your backtrace is in libstdc++6, you could try to compile that and all other C++ libs needed (libsigc++,glibmm, gtkmm) with the same compiler as you use for inkscape. This problem (not the same g++ used) occurs frequently, and esp. recently.
Ok i have compiled and installed libsigc++2-2.0.17-1.src.rpm, gtkmm24-2.8.0-2.src.rpm, glibmm24-2.8.0-2.src.rpm and inkscape still crashes.
To get a libstdc++ package i must compile gcc-4.0.2_20050901-3.src.rpm. That's in progress.
Ralf
Better to include the compat-libstdc++ package, too, or remove it if not needed.
ralf
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&da... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
Ralf Lehmann
-
Ralf Stephan