Been getting a segfault starting inkscape .4 and also tried a pre .4 that ran fine back in Oct. Using strace I traced it to icons.svg. Rename it and it runs fine. Any idea what might be wrong.
Thanks Robert Davis
system: Gentoo ~x86
backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 12092)] 0x0812cf67 in sigc::internal::signal_emit2<void, SPObject*, SPObject*, sigc::nil>::emit (impl=0x84321e8, _A_a1=@0xbfffe89c, _A_a2=@0x8432258) at slot_base.h:263 263 { return (!rep_ || !rep_->call_); } (gdb) bt #0 0x0812cf67 in sigc::internal::signal_emit2<void, SPObject*, SPObject*, sigc::nil>::emit (impl=0x84321e8, _A_a1=@0xbfffe89c, _A_a2=@0x8432258) at slot_base.h:263 #1 0x0812ca63 in Inkscape::URIReference::_setObject (this=0x8432248, obj=0x0) at signal.h:1806 #2 0x0812c7db in Inkscape::URIReference::attach (this=0x8432248, uri=@0x8432254) at uri-references.cpp:78 #3 0x080ec5db in sp_gradient_set (object=0x8432370, key=8, value=0x8420e88 "#linearGradient800") at sp-gradient.cpp:389 #4 0x080eec44 in sp_lineargradient_set (object=0x8432370, key=8, value=0x8420e88 "#linearGradient800") at sp-gradient.cpp:1157 #5 0x081012c4 in sp_object_set (object=0x8432370, key=24, value=0x18 <Address 0x18 out of bounds>) at sp-object.cpp:790 #6 0x081013d8 in sp_object_read_attr (object=0x8432370, key=0x82ab05a "xlink:href") at sp-object.cpp:811 #7 0x080ec39e in sp_gradient_build (object=0x8432370, document=0x83b1b80, repr=0x0) at sp-gradient.cpp:296 #8 0x080eebd3 in sp_lineargradient_build (object=0x8432370, document=0x84321f0, repr=0x8432288) at sp-gradient.cpp:1117 #9 0x08100a52 in sp_object_invoke_build (object=0x8432370, document=0x83b1b80, repr=0x8421780, cloned=0) at sp-object.cpp:642 #10 0x08100909 in sp_object_build (object=0x83aee08, document=0x83b1b80, repr=0x18) at sp-object.cpp:589 #11 0x08100a52 in sp_object_invoke_build (object=0x83aee08, document=0x83b1b80, repr=0x8419880, cloned=0) at sp-object.cpp:642 #12 0x08100909 in sp_object_build (object=0x83a40f0, document=0x83b1b80, repr=0x18) at sp-object.cpp:589 #13 0x080f6e9a in sp_item_build (object=0x83a40f0, document=0x18, repr=0x18) at sp-item.cpp:301 #14 0x080f3b55 in sp_group_build (object=0x83a40f0, document=0x18, repr=0x18) at sp-item-group.cpp:124 #15 0x0810c8a0 in sp_root_build (object=0x83a40f0, document=0x18, repr=0x84198c0) at sp-root.cpp:167 #16 0x08100a52 in sp_object_invoke_build (object=0x83a40f0, document=0x83b1b80, repr=0x84198c0, cloned=0) at sp-object.cpp:642 #17 0x080feefa in sp_object_repr_build_tree (document=0x83b1b80, repr=0x84198c0) at sp-object-repr.cpp:70 #18 0x080ca155 in sp_document_create (rdoc=0x0, uri=0x842c5e8 "/usr/local/share/inkscape/icons/icons.svg", base=0x84359f8 "/usr/local/share/inkscape/icons/", name=0x18 <Address 0x18 out of bounds>, advertize=0, keepalive=0) at document.cpp:289 #19 0x080ca779 in sp_document_new (uri=0x842c5e8 "/usr/local/share/inkscape/icons/icons.svg", advertize=24, keepalive=24, make_new=false) at document.cpp:434 #20 0x081e4e56 in sp_icon_image_load_svg (name=0x18 <Address 0x18 out of bounds>, size=10, scale=10) at icon.cpp:369 #21 0x081e4238 in sp_icon_image_load (name=0x842aca0 "sticky_zoom", size=10, scale=10) at icon.cpp:214 #22 0x081e403e in sp_icon_new_full (size=10, scale=10, name=0x842aca0 "sticky_zoom") at icon.cpp:158 #23 0x081e413c in sp_icon_new (size=24, name=0x8432288 "\uffff!C\b \uffff!C\b\2203C\b") at icon.cpp:185 #24 0x081e0fc1 in sp_button_set_action (button=0x842b688, action=0x841bfc0) at button.cpp:253 #25 0x081e0db1 in sp_button_new (size=10, type=24, action=0x18, doubleclick_action=0x0, tooltips=0x83ba060) at button.cpp:204 #26 0x081e1208 in sp_button_new_from_data (size=24, type=24, view=0x18, name=0x8432288 "\uffff!C\b\uffff!C\b\2203C\b", tip=0x18 <Address 0x18 out of bounds>, tooltips=0x18) at button.cpp:329 #27 0x0813dc94 in sp_desktop_widget_init (dtw=0x83b6bb0) at desktop.cpp:906 #28 0x40aaa025 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #29 0x000001ac in ?? ()
On Tue, 21 Dec 2004, Robert Davis wrote:
Been getting a segfault starting inkscape .4 and also tried a pre .4 that ran fine back in Oct. Using strace I traced it to icons.svg. Rename it and it runs fine. Any idea what might be wrong.
What version of libsigc++ is it linked against?
-mental
Fixed it. I lowered my CFLAGS and recompiled glibmm, gtkmm, and inkscape and works now.
Robert Davis
On Tue, 2004-12-21 at 17:36 -0500, MenTaLguY wrote:
On Tue, 21 Dec 2004, Robert Davis wrote:
Been getting a segfault starting inkscape .4 and also tried a pre .4 that ran fine back in Oct. Using strace I traced it to icons.svg. Rename it and it runs fine. Any idea what might be wrong.
What version of libsigc++ is it linked against?
-mental
SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (2)
-
MenTaLguY
-
Robert Davis