FreeBSD 6.2 Segfault on startup

Bug #168755 reported by Bug Importer
0
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Hello.
I am using FreeBSD 6.2-STABLE, and I just built Inkscape-15328 using GCC
4.2.1 20070530. It's building properly, but when I run the app, the
following error occurs:
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.

And a blank window appeears.

Because this error shows nothing, i used gdb to trace. Here is the output
after "run" and "bt" in gdb:
------------------------
(gdb) run
Starting program: /usr/local/bin/inkscape
warning: Unable to get location for thread creation breakpoint: generic
error
[New LWP 100124]
[New Thread 0x859a000 (LWP 100065)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x859a000 (LWP 100140)]
0x00000003 in ?? ()
(gdb) bt
#0 0x00000003 in ?? ()
#1 0x0807f67b in SPDocument::bindObjectToId (this=0x8737f50,
    id=0x901e420 "linearGradient5376", object=0x9010288) at signal.h:686
#2 0x080bbde3 in sp_object_invoke_build (object=0x9010288,
    document=0x8737f50, repr=0x8b9be70, cloned=0) at sp-object.cpp:830
#3 0x080bd961 in sp_object_build (object=0x8e3d8c0, document=0x8737f50,
    repr=0x8b990f0) at sp-object.cpp:795
#4 0x080bbd01 in sp_object_invoke_build (object=0x8e3d8c0,
    document=0x8737f50, repr=0x8b990f0, cloned=0) at sp-object.cpp:853
#5 0x080bd961 in sp_object_build (object=0x870e270, document=0x8737f50,
    repr=0x8b99170) at sp-object.cpp:795
#6 0x080c87ed in sp_root_build (object=0x870e270, document=0x8737f50,
    repr=0x8b99170) at sp-root.cpp:162
#7 0x080bbd01 in sp_object_invoke_build (object=0x870e270,
    document=0x8737f50, repr=0x8b99170, cloned=0) at sp-object.cpp:853
#8 0x080babca in sp_object_repr_build_tree (document=0x8737f50,
    repr=0x8b99170) at sp-object-repr.cpp:87
#9 0x0807e2aa in sp_document_create (rdoc=0x85dfe18,
    uri=0x8f617c0 "/usr/local/share/inkscape/icons/icons.svg",
    base=0x8f61780 "/usr/local/share/inkscape/icons/",
    name=0x8ff4ac0 "icons.svg", keepalive=Variable "keepalive" is not
available.
) at document.cpp:255
#10 0x0807e7f2 in sp_document_new (
    uri=0x8f617c0 "/usr/local/share/inkscape/icons/icons.svg", keepalive=0,

---Type <return> to continue, or q <return> to quit---
    make_new=false) at document.cpp:375
#11 0x0825bbab in load_svg_pixels (name=0x8ff4a70 "object_font", lsize=1,
    psize=16) at widgets/icon.cpp:798
#12 0x0825be38 in sp_icon_fetch_pixbuf (icon=0x8e40680) at
widgets/icon.cpp:862
#13 0x08436115 in ink_action_create_menu_item (action=0x8bcd480)
    at ink-action.cpp:202
#14 0x28b56691 in gtk_action_create_menu_item ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#15 0x28b56715 in gtk_action_create_menu_item ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#16 0x28c1a470 in gtk_marshal_VOID__UINT_STRING ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#17 0x291336cd in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#18 0x29146b62 in g_signal_has_handler_pending ()
   from /usr/local/lib/libgobject-2.0.so.0
#19 0x29147739 in g_signal_emit_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#20 0x29147c58 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#21 0x28cd1f19 in gtk_tool_item_retrieve_proxy_menu_item ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#22 0x28ccbe85 in gtk_toolbar_remove_space ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#23 0x28cccdbb in gtk_toolbar_set_drop_highlight_item ()
---Type <return> to continue, or q <return> to quit---
   from /usr/local/lib/libgtk-x11-2.0.so.0
#24 0x2914882a in g_cclosure_marshal_VOID__BOXED ()
   from /usr/local/lib/libgobject-2.0.so.0
#25 0x29133981 in g_cclosure_new_swap ()
   from /usr/local/lib/libgobject-2.0.so.0
#26 0x291336cd in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#27 0x29146495 in g_signal_has_handler_pending ()
   from /usr/local/lib/libgobject-2.0.so.0
#28 0x29147a0a in g_signal_emit_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#29 0x29147c58 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#30 0x28d1363e in gtk_widget_size_allocate ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#31 0x28d0cd1b in gtk_vbox_new () from /usr/local/lib/libgtk-x11-2.0.so.0
#32 0x2914882a in g_cclosure_marshal_VOID__BOXED ()
   from /usr/local/lib/libgobject-2.0.so.0
#34 0x291336cd in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#35 0x29146495 in g_signal_has_handler_pending ()
   from /usr/local/lib/libgobject-2.0.so.0
#36 0x29147a0a in g_signal_emit_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#37 0x29147c58 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#38 0x28d1363e in gtk_widget_size_allocate ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#39 0x28bdf3af in gtk_handle_box_new () from
/usr/local/lib/libgtk-x11-2.0.so.0
#40 0x2914882a in g_cclosure_marshal_VOID__BOXED ()
   from /usr/local/lib/libgobject-2.0.so.0
#41 0x29133981 in g_cclosure_new_swap ()
   from /usr/local/lib/libgobject-2.0.so.0
#42 0x291336cd in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#43 0x29146495 in g_signal_has_handler_pending ()
   from /usr/local/lib/libgobject-2.0.so.0
#44 0x29147a0a in g_signal_emit_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#45 0x29147c58 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#46 0x28d1363e in gtk_widget_size_allocate ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#47 0x28d0cdf6 in gtk_vbox_new () from /usr/local/lib/libgtk-x11-2.0.so.0
#48 0x2914882a in g_cclosure_marshal_VOID__BOXED ()
   from /usr/local/lib/libgobject-2.0.so.0
#49 0x29133981 in g_cclosure_new_swap ()
   from /usr/local/lib/libgobject-2.0.so.0
#50 0x291336cd in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#51 0x29146495 in g_signal_has_handler_pending ()
---Type <return> to continue, or q <return> to quit---
   from /usr/local/lib/libgobject-2.0.so.0
#52 0x29147a0a in g_signal_emit_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#53 0x29147c58 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#54 0x28d1363e in gtk_widget_size_allocate ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#55 0x28bb5e79 in gtk_event_box_set_above_child ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#56 0x08255c34 in sp_desktop_widget_size_allocate (widget=0x87570d0,
    allocation=0xbfbfd9a0) at widgets/desktop-widget.cpp:461
#57 0x2914882a in g_cclosure_marshal_VOID__BOXED ()
   from /usr/local/lib/libgobject-2.0.so.0
#58 0x29133981 in g_cclosure_new_swap ()
   from /usr/local/lib/libgobject-2.0.so.0
#59 0x291336cd in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#60 0x29146495 in g_signal_has_handler_pending ()
   from /usr/local/lib/libgobject-2.0.so.0
#61 0x29147a0a in g_signal_emit_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#62 0x29147c58 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#63 0x28d1363e in gtk_widget_size_allocate ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#64 0x28d20367 in gtk_window_reshow_with_initial_size ()
---Type <return> to continue, or q <return> to quit---
   from /usr/local/lib/libgtk-x11-2.0.so.0
#65 0x2914882a in g_cclosure_marshal_VOID__BOXED ()
   from /usr/local/lib/libgobject-2.0.so.0
#66 0x29133981 in g_cclosure_new_swap ()
   from /usr/local/lib/libgobject-2.0.so.0
#67 0x291336cd in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#68 0x29146495 in g_signal_has_handler_pending ()
   from /usr/local/lib/libgobject-2.0.so.0
#69 0x29147a0a in g_signal_emit_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#70 0x29147c58 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#71 0x28d1363e in gtk_widget_size_allocate ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#72 0x28d224d2 in gtk_window_get_position ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#73 0x29148014 in g_cclosure_marshal_VOID__VOID ()
   from /usr/local/lib/libgobject-2.0.so.0
#74 0x29133981 in g_cclosure_new_swap ()
   from /usr/local/lib/libgobject-2.0.so.0
#75 0x291336cd in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#76 0x29146495 in g_signal_has_handler_pending ()
   from /usr/local/lib/libgobject-2.0.so.0
#77 0x29---Type <return> to continue, or q <return> to quit---
   from /usr/local/lib/libgobject-2.0.so.0
#78 0x29147c58 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#79 0x28d1835d in gtk_widget_show () from
/usr/local/lib/libgtk-x11-2.0.so.0
#80 0x0808950a in sp_create_window (vw=0x87570d0, editable=1)
    at interface.cpp:248

#81 0x08081dd4 in sp_file_new (templ=@0xbfbfe4d8) at file.cpp:107
#82 0x080821c5 in sp_file_new_default () at file.cpp:132
#83 0x0807abc3 in sp_main_gui (argc=1, argv=0xbfbfe614) at main.cpp:656
#84 0x081758b3 in Inkscape::NSApplication::Application::run
(this=0xbfbfe594)
    at application/application.cpp:117
#85 0x0807a9d4 in main (argc=1, argv=0xbfbfe614) at main.cpp:505
(gdb)
147a0a in g_signal_emit_valist ()
------------------------------------------------------

About my system:

$uname -a
FreeBSD lilly.evo.bg 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
11:05:30 UTC 2007 <email address hidden>:/usr/obj/usr/src/sys/SMP
 i386

$gcc42 --version
gcc42 (GCC) 4.2.1 20070530 (prerelease)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2999.68-MHz 686-class CPU)

Tags: crash bsd
Revision history for this message
Buliabyak-users (buliabyak-users) wrote :
Luca Bruno (lucab)
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
Tom Davidson (tjd-mit) wrote :

Did Bulia's suggestion fix your problem?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
ScislaC (scislac) wrote :

Given the lack of follow-up on this and the over 4,000 changes in svn since (not to mention that FreeBSD 7.0 is out and that FreeBSD 6.3 is considered the legacy version), this will be closed. If the problem still exists for you, please feel free to re-open this bug report.

Changed in inkscape:
importance: Medium → Undecided
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.