Crash when loading this SVG file.

Bug #168856 reported by Josh Lee
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Critical
Jon A. Cruz

Bug Description

Inkscape crashes when loading this SVG file from the command line.
Backtrace follows:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1230141760 (LWP 19409)]
sp_units_get_pixels (units=38725.230000000003, unit=@0x0)
    at helper/units.cpp:200
200 if (unit.base == SP_UNIT_ABSOLUTE || unit.base ==
SP_UNIT_DEVICE) {
(gdb) bt
#0 sp_units_get_pixels (units=38725.230000000003, unit=@0x0)
    at helper/units.cpp:200
#1 0x082edf57 in sp_rtb_value_changed (adj=0x8bc0c48, tbl=0x8c5bc58,
    value_name=0x85e6bb3 "width",
    setter=0x80da770 <sp_rect_set_visible_width(SPRect*, double)>)
    at widgets/toolbox.cpp:1837
#2 0xb7441c09 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#3 0xb7434772 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#4 0xb74452fd in ?? () from /usr/lib/libgobject-2.0.so.0
#5 0x08c65450 in ?? ()
#6 0x00000000 in ?? ()

Revision history for this message
Josh Lee (jleedev) wrote :
Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Originator: NO

joncruz, here's another report of your bug

Revision history for this message
Jon A. Cruz (jon-joncruz) wrote :

Originator: NO

Got it.
Seems to be something about opening the file at least twice (at least for
me here).
expected initialization paths were not hit, so a member was null. Fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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