another guide deletion-related crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
High
|
Unassigned |
Bug Description
Version: 0.48.4
OS: Debian unstable, package version is actually 0.48.4-3
Steps to reproduce:
- create new document
- enable grid (tried only configured with 1mm:1mm steps, with 2mm:2mm as origin, but should not affect the bug)
- place a guide
- delete the guide (tried only with select + delete by keypress)
- and the result is a SIGSEGV
Bug place:
static void sp_guideline_
Exact line:
if (SP_GUIDELINE(
The problem is that this function runs more than once for the same deletion.
The segmentation fault is caused by the repeated run.
It seems like after
gtk_object_
SP_GUIDELINE(
Dirty fix:
Add
SP_GUIDELINE(
after the mentioned gtk_object_
Crash not reproduced with Inkscape 0.48.4 on OS X 10.7.5 (64bit), based on the provided steps.