Some files which have LPE on paths (mirror symetry) crash inkscape on load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Undecided
|
Jabiertxof | ||
0.92.x |
Fix Released
|
Undecided
|
Jabiertxof |
Bug Description
Some files which have LPE effect on path crash inkscape while trying to open the file by double clicking on them. I am on the latest inkscape from bzr which is updated this morning (rev # 15524)
Steps to reproduce :
1) Download the attached svg file (owl.svg)(artwork - cc.by.sa 4.0)
2) Double click on the file.
Expected result -
Inkscape should open and the file should be loaded as usual
Actual result -
Inkscape fails to load and segfaults with a dialog box saying - "Inkscape has encountered an internal error and will close now"
su_v from the IRC has helped me get the backtrace. here is the backtrace -
(gdb) r
Starting program: /Users/
Reading symbols for shared libraries +++++++
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_
0x000000010003bb68 in SPDocument:
(gdb) bt
#0 0x000000010003bb68 in SPDocument:
#1 0x000000010039345b in Inkscape:
#2 0x000000010031371d in Inkscape:
#3 0x0000000100125976 in SPLPEItem:
#4 0x0000000100146f69 in SPPath:
#5 0x0000000100142ee1 in sigc::internal:
#6 0x0000000100141ced in SPObject:
#7 0x00000001000eb2a6 in SPDefs::modified ()
#8 0x0000000100141cd5 in SPObject:
#9 0x000000010011416a in SPGroup::modified ()
#10 0x000000010014f102 in SPRoot::modified ()
#11 0x0000000100141cd5 in SPObject:
#12 0x000000010003da13 in SPDocument:
#13 0x000000010003da88 in SPDocument:
#14 0x00000001000218db in SPDesktop::init ()
#15 0x00000001003fcb00 in SPDesktopWidget
#16 0x00000001003fc99b in sp_desktop_
#17 0x000000010004f6a0 in sp_file_open ()
#18 0x000000010000299f in sp_main_gui ()
#19 0x0000000100001ed4 in start ()
(gdb) q
The program is running. Exit anyway? (y or n) y
(lldb) r
Process 32962 launched: '/Users/
Process 32962 stopped
* thread #1: tid = 0x4103, 0x000000010003bb68 inkscape`
frame #0: 0x000000010003bb68 inkscape`
inkscape`
-> 0x10003bb68: cmpq $0, 88(%rdi)
0x10003bb6d: je 0x10003bbfa ; SPDocument:
0x10003bb73: movq 48(%rdi), %rcx
0x10003bb77: testq %rcx, %rcx
(lldb) bt
* thread #1: tid = 0x4103, 0x000000010003bb68 inkscape`
frame #0: 0x000000010003bb68 inkscape`
frame #1: 0x000000010039345b inkscape`
frame #2: 0x000000010031371d inkscape`
frame #3: 0x0000000100125976 inkscape`
frame #4: 0x0000000100146f69 inkscape`
frame #5: 0x0000000100142ee1 inkscape`
frame #6: 0x0000000100141ced inkscape`
frame #7: 0x00000001000eb2a6 inkscape`
frame #8: 0x0000000100141cd5 inkscape`
frame #9: 0x000000010011416a inkscape`
frame #10: 0x000000010014f102 inkscape`
frame #11: 0x0000000100141cd5 inkscape`
frame #12: 0x000000010003da13 inkscape`
frame #13: 0x000000010003da88 inkscape`
frame #14: 0x00000001000218db inkscape`
frame #15: 0x00000001003fcb00 inkscape`
frame #16: 0x00000001003fc99b inkscape`
frame #17: 0x000000010004f6a0 inkscape`
frame #18: 0x000000010000299f inkscape`
frame #19: 0x0000000100001ed4 inkscape`start + 52
(lldb) q
I am running inkscape on arch linux with a updated system
Let me know if you want any more information.
thank you
=====
Original gist with the backtraces (no wrapping):
https:/
tags: | added: cli crash livepatheffects |
Changed in inkscape: | |
assignee: | nobody → Jabiertxof (jabiertxof) |
Changed in inkscape: | |
milestone: | none → 0.93 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Reproduced with Inkscape 0.92.0 r15299 and lp:inkscape/0.92.x r15378 on OS X 10.7.5.
(the backtraces pasted inline by the reporter were done with lp:inkscape/0.92.x r15378 on OS X 10.7.5)
Based on tests with archived builds of lp:inkscape/0.92.x:
- not reproduced with rev <= 15270,
- reproduced with rev >= 15281;
the reported issue might have been exposed with the changes of rev 15273:
Changelog: /bazaar. launchpad. net/~inkscape. dev/inkscape/ 0.92.x/ changes/ 15281
https:/
Fix a late detected bug on mirror symmetry on undo. Backported from trunk /bazaar. launchpad. net/~inkscape. dev/inkscape/ 0.92.x/ revision/ 15273
https:/
Based on the results of the tests with archived builds, the crash reported here seems possibly somehow (?) related to earlier bug #1665463.
Note that the crash reproduces if the file is loaded as command line parameter (or passed as command line argument by the launcher of the local file manager), but not when loaded from within a running instance of Inkscape.