segfaults on load of file that previously saved fine. blame: path-effect

Bug #734866 reported by shinyblue
This bug report is a duplicate of:  Bug #616198: seg fault on opening my file. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
High
Unassigned

Bug Description

I was working on a file (attached), no problems (well, it was unworkably slow to move a node (10s between updates, even in wireframe mode) and saved, quit, and had lunch.

Now my file will not open. Techno garb pasted below from gdb. If I "remove" the path effect (by spamming the attribute!) as shown in the patch below, then I can open the file again.

================================================================================================
$ diff broken fixed

1045c1045
< inkscape:path-effect="#path-effect7124"
---
> fixed_it_inkscape:path-effect="#path-effect7124"

================================================================================================

If Inkscape could be made to crash at the time of applying the path effect, then at least I'd only lose work since the last Save. As it is, I save regularly (with backups) but to no avail because it's only by closing and re-opening the file that I know whether Save worked.

================================================================================================

$ gdb `which inkscape`
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/inkscape...(no debugging symbols found)...done.

(gdb) run Desktop/mock2dC--segfault.svg
Starting program: /usr/bin/inkscape Desktop/mock2dC--segfault.svg
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000661ebe in ?? ()
(gdb) bt
#0 0x0000000000661ebe in ?? ()
#1 0x0000000000654745 in ?? ()
#2 0x0000000000653da2 in ?? ()
#3 0x00000000004d14a8 in ?? ()
#4 0x00000000004dfcd7 in ?? ()
#5 0x00000000004d1953 in ?? ()
#6 0x00000000004dfa86 in ?? ()
#7 0x00000000004e0e68 in ?? ()
#8 0x00000000004e04a0 in ?? ()
#9 0x00000000004d8d5a in ?? ()
#10 0x00000000004daec4 in ?? ()
#11 0x00000000004d8d5a in ?? ()
#12 0x00000000004daec4 in ?? ()
#13 0x00000000004ea66c in ?? ()
#14 0x00000000004d8d5a in ?? ()
#15 0x00000000004dc483 in ?? ()
#16 0x0000000000454c83 in ?? ()
#17 0x0000000000455ba4 in ?? ()
#18 0x00000000005c6a45 in ?? ()
#19 0x000000000045cd80 in ?? ()
#20 0x000000000044d7df in ?? ()
#21 0x00007fffef87ad8e in __libc_start_main () from /lib/libc.so.6
#22 0x000000000044c319 in ?? ()
---Type <return> to continue, or q <return> to quit---
#23 0x00007fffffffe388 in ?? ()
#24 0x000000000000001c in ?? ()
#25 0x0000000000000002 in ?? ()
#26 0x00007fffffffe639 in ?? ()
#27 0x00007fffffffe64b in ?? ()
#28 0x0000000000000000 in ?? ()
(gdb)
(gdb) quit
A debugging session is active.

Revision history for this message
shinyblue (shinyblue) wrote :
su_v (suv-lp)
tags: added: crash livepatheffects
Changed in inkscape:
importance: Undecided → High
Revision history for this message
su_v (suv-lp) wrote :

Which Inkscape version do you have installed?

Revision history for this message
su_v (suv-lp) wrote :

> Which Inkscape version do you have installed?

Nevermind - the SVG source reveals:

   inkscape:version="0.48.0 r9654"

Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48+devel r10098 on OS X 10.5.8 (i386)

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xfffffff8
0x003a00fe in Inkscape::LivePathEffect::LPEBendPath::doEffect_pwd2 (this=0x8200a80, pwd2_in=@0xbfffc1d0) at live_effects/lpe-bendpath.cpp:110
110 double scaling = uskeleton.cuts.back()/bboxHorizontal.extent();

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

Linking as duplicate to
Bug #616198 “seg fault on opening my file”
<https://bugs.launchpad.net/inkscape/+bug/616198>

Please add a comment here and revert the duplicate status if you don't agree and think these are different issues.

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.