Instant crash when trying to move svg symbol

Bug #1662439 reported by Joakim Berglund
62
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
jazzynico
0.92.x
Fix Released
High
jazzynico

Bug Description

Steps to reproduce:
1. Run Inkscape 0.92.0 r15299
2. Open attached file
3. Drag the symbol from the symbol toolbar to the canvas
4. Try to move the symbol on the canvas => Crash

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

Based on tests with archived builds (on OS X 10.7.5):
- not reproduced with Inkscape 0.91 r13725,
- not reproduced with lp:inkscape rev <= 14831,
- reproduced with lp:inkscape rev >= 14835,
- reproduced with Inkscape 0.92.0 r15299,
- reproduced with lp:inkscape/0.92.x r15355;
the reported issue possibly was exposed by changes in commits to address "invalid state when picking" warnings. (#Hackfest2016, r14832-14835)
https://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/changes/14835

Full backtrace attached (done with default new prefs, and a somewhat dated but equally affected debug build (r15036)).

tags: added: crash regression symbols
Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

The content of the symbol does not trigger the crash, as tested with attached modified version of the test case (<symbol/> replaced with <g/>, viewBox attribute moved to root <svg/> element): the group can be moved without triggering the crash.

Revision history for this message
jazzynico (jazzynico) wrote :

Also reproduced on Windows XP (32-bit), lp:inkscape/0.92.x rev. 15364.

Changed in inkscape:
milestone: none → 0.93
status: Confirmed → Triaged
Revision history for this message
jazzynico (jazzynico) wrote :

Patch attached. Please test!

Changed in inkscape:
assignee: nobody → jazzynico (jazzynico)
importance: Undecided → High
status: Triaged → In Progress
Revision history for this message
su_v (suv-lp) wrote :

Patch tested successfully with lp:inkscape/0.92.x r15364 on OS X 10.7.5.

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

On Ubuntu 14.04.5 LTS:
- crash reproduced with lp:inkscape r15496, lp:inkscape/0.92.x r15364
- patch tested successfully lp:inkscape r15497, lp:inkscape/0.92.x r15364

Revision history for this message
jazzynico (jazzynico) wrote :

Fixed in lp:inkscape rev. 15498.
Thanks for your tests!

Changed in inkscape:
status: In Progress → Fix Committed
Revision history for this message
su_v (suv-lp) wrote :

Likely duplicate earlier report:
* Bug #1612989 “Crash on drag and drop”
  https://bugs.launchpad.net/inkscape/+bug/1612989

(cf STR, backtraces).

Revision history for this message
jazzynico (jazzynico) wrote :

Fixed in lp:inkscape/0.92.x rev. 15384.

Changed in inkscape:
status: Fix Committed → Fix Released
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.