Segmentation fault when opening a file with the Path effect

Bug #941661 reported by inspirra
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

Reproduce:
1. Create rectangles (F4)
2. Draw Bezier Curve (Shift+F6)
3. Copy Curve (Ctrl+C)
4. Select rectangles (Tab)
5. Path Effect Editor (Shift+Ctrl+7)
6. Add «Bend» effect
7. Click «Link to path» button
8. Save (Ctrl+S)
9. Open the saved document...
...Segmentation fault

The sequence is important. If draw a curve earlier than the rectangle - the problem does not arise.

Ubuntu-11.10
$> LC_ALL=C inkscape -V
Inkscape 0.48.2 r9819 (Jul 11 2011)
$> uname -rms
Linux 3.0.0-16-generic x86_64

Revision history for this message
inspirra (inspirra) wrote :
inspirra (inspirra)
description: updated
Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows XP, Inkscape rev 11012. Using your instructions I created my own file. When I load it I get a crash, backtrace below.

warning: Lowest section in C:\WINDOWS\system32\odbcint.dll is .rsrc at 00401000
BFD: C:\WINDOWS\system32\WMVCore.dll: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .reloc
BFD: C:\WINDOWS\system32\WMVCore.dll: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .reloc
warning: Lowest section in C:\WINDOWS\system32\xpsp2res.dll is .rsrc at 00011000

Program received signal SIGSEGV, Segmentation fault.
0x00a7d94c in Inkscape::LivePathEffect::LPEBendPath::doEffect_pwd2 ()
(gdb) bt
#0 0x00a7d94c in Inkscape::LivePathEffect::LPEBendPath::doEffect_pwd2 ()
Cannot access memory at address 0x22e2b0
(gdb) c
Continuing.
error return win32-nat.c:1254 was 31

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

Reproduced with 0.48.2, 0.48.3.1 and 0.48+devel r11019 on OS X 10.7.2

Based on the backtrace (attached), same as
 Bug #734866 "segfaults on load of file that previously saved fine. blame: path-effect"
 <https://bugs.launchpad.net/inkscape/+bug/734866>
which is a duplicate of
 Bug #616198 "seg fault on opening my file"
 <https://bugs.launchpad.net/inkscape/+bug/616198>

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

Also confirming that stack order (aka z-order) matters: the linked bend path needs to come before (aka be stacked below) the bent path (path with path effect applied).

Proposing to link bug #734866 and bug ##616198 as duplicates to this (newer) report (bug #941661) because it provides easy and precise 'steps to reproduce'.

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

Reproduced with Inkscape 0.48+devel r12395,
no longer reproduced with rev 12398

-> the fix for bug #616198 as expected also fixes this one. Linking as duplicate to bug #616198 because devs decided to discuss and comment the issue there.

Feel free to add a comment here (bug #941661) and to revert the duplicate status if you disagree 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.