Instant crash when trying to move svg symbol

Bug #1662439 reported by Joakim Berglund on 2017-02-07
This bug affects 8 people
Affects Status Importance Assigned to Milestone

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

Joakim Berglund (neorth1) wrote :
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)

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
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.

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
jazzynico (jazzynico) wrote :

Patch attached. Please test!

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

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

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

jazzynico (jazzynico) wrote :

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

Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp) wrote :

Likely duplicate earlier report:
* Bug #1612989 “Crash on drag and drop”

(cf STR, backtraces).

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  Edit
Everyone can see this information.

Other bug subscribers