crash if Pattern-along-Path LPE applied to path with horizontal line segment (rev >= 14226)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Krzysztof Kosinski | ||
lib2geom |
Fix Committed
|
High
|
Krzysztof Kosinski |
Bug Description
Inkscape trunk crashes if a 'Pattern-
Steps to reproduce:
1) launch trunk (default new prefs, default new doc)
2) switch to the pen tool, select shape 'Ellipse'
3) draw a path with at least one horizontal straight line segment
--> Inkscape crashes as soon as the path is finished (e.g. with RMB click):
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_
0x000000010038865b in Geom::SBasis:
79 return d[i];
Steps to reproduce:
1) launch trunk (default new prefs, default new doc)
2) switch to the star tool, draw a triangle (3 corners),
use 'Ctrl' so that base line is horizontal (drag vertically)
3) apply 'Pattern along Path' path effect
--> crash
First encountered with Inkscape 0.91+devel r14281 on OS X 10.7.5.
Based on tests with archived builds:
- not reproduced with 0.91+devel rev 14224,
- reproduced with 0.91+devel rev 14228;
this crash is likely related to the recent 2geom update in r14226:
https:/
Possibly related comment: Bug #1473317 comment 5
Related branches
Changed in inkscape: | |
importance: | Undecided → High |
Changed in inkscape: | |
assignee: | nobody → Alvin Penner (apenner) |
status: | Confirmed → In Progress |
Changed in lib2geom: | |
assignee: | nobody → Krzysztof Kosinski (tweenk) |
importance: | Undecided → High |
status: | New → Fix Committed |
Changed in inkscape: | |
status: | In Progress → Fix Committed |
Changed in inkscape: | |
assignee: | Alvin Penner (apenner) → nobody |
Changed in inkscape: | |
assignee: | nobody → Krzysztof Kosinski (tweenk) |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
reproduced using the attached demo file. This was made using the first method above, pen tool with shape 'Ellipse'. Upon loading the file I get the attached backtrace.
Program received signal SIGSEGV, Segmentation fault. continuity () continuity () SjLj_Unregister (fc=0x0) ./../src/ gcc-4.6. 1/libgcc/ ../gcc/ unwind. inc:77
0x00432832 in Geom::force_
(gdb) bt
#0 0x00432832 in Geom::force_
#1 0x00feb7cf in _Unwind_
at ../../.
#2 0x00000001 in ?? ()
#3 0x0023e1a8 in ?? ()