Crash when combining paths

Bug #1297174 reported by LucaDC on 2014-03-25
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
High
Johan Engelen

Bug Description

Inkscape crashes whenever I try to combine paths, both with ctrl-k shortcut and with the Path->Combine menu option.
Windows XP SP3, rev 13209.

To reproduce:
 - open new document;
 - draw one (or more) shape (e.g. a rectangle);
 - select it (or all of them);
 - press ctrl-k or select Path->Combine;
 - crash!

su_v (suv-lp) wrote :

Reproduced with r13209 on OS X 10.7.5:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x00000001061f64f0 in strlen ()
(gdb) bt
#0 0x00000001061f64f0 in strlen ()
#1 0x000000010435b7fd in Glib::ustring::operator= ()
#2 0x00000001001a5eb8 in sp_selected_path_combine (desktop=0x110534c00) at path-chemistry.cpp:118
#3 0x00000001003be0b2 in Inkscape::SelectionVerb::perform (action=0x10c949800, data=0x5c) at verbs.cpp:1185
<snip>

Regression was introduced between r13193 (ok) and r13202 (crash), full backtrace of debug build r13209 attached.

su_v (suv-lp) wrote :

@Johan - could you take a look at this recent regression?

Changed in inkscape:
importance: Undecided → High
milestone: none → 0.91
status: New → Confirmed
tags: added: crash regression
tags: added: blocker
Johan Engelen (johanengelen) wrote :

Sorry for that. Dumb mistake, my testing apparently accidentally always had a style and patheffect applied to the first selected element.
Fixed in rev 13210.

Changed in inkscape:
assignee: nobody → Johan Engelen (johanengelen)
status: Confirmed → Fix Released
su_v (suv-lp) wrote :

@Johan - thanks a lot for the fix!

tags: removed: blocker
Changed in inkscape:
milestone: 0.91 → none
LucaDC (dicappello) wrote :

Thank you for the quick fix.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers