Crash after Group Object to Symbol -> Undo -> Same Object to Symbol

Bug #1492615 reported by Hachmann on 2015-09-05
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

Inkscape crashes reproducibly without error message / emergency save when I do this:

1. Group any objects
2. Select, press 'Add symbol from the current document' in Symbol dialog
3. Undo (because I noticed I need to change something - color, for example)
3a. Optionally: change style of elements
4. Select group again
5. 'Add symbol from the current document' again
6. Crash.

Inkscape 0.91, LM 17.2 (Ubuntu 14.04 base, official repo), 64bit

Related branches

su_v (suv-lp) on 2015-09-05
tags: added: crash symbols undo
su_v (suv-lp) wrote :

Reproduced (crash including lack of emergency save) with Inkscape 0.91 r13725 and 0.91+devel r14341 on OS X 10.7.5:

(inkscape:56570): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_S_construct NULL not valid

Based on tests with archived builds:
- not reproduced with rev <= 13056,
- reproduced with rev >= 13058;
the crash was possibly exposed as side-effect of the changes in rev 13057:
Revision 13057: Rewrite of symbol creation code. Partial fix for 1201325.

Changed in inkscape:
importance: Undecided → Critical
milestone: none → 0.92
status: New → Confirmed
Mc (mc...) wrote :

fix pushed to r14343/14344

su_v (suv-lp) on 2015-09-05
Changed in inkscape:
assignee: nobody → Mc (mc...)
status: Confirmed → Fix Committed
tags: added: backport-proposed
Hachmann (marenhachmann) wrote :

Wow - that was fast :) Thx, Mc!

su_v (suv-lp) wrote :

Mc - any chance you could help with backporting the fix to 0.91.x? (std::string vs Glib::ustring differences between the two branches ...)

Mc (mc...) wrote :
su_v (suv-lp) wrote :

Fix backported to 0.91.x in rev 13826.

Changed in inkscape:
milestone: 0.92 → 0.91.1
tags: removed: backport-proposed
jazzynico (jazzynico) on 2017-01-28
Changed in inkscape:
milestone: 0.91.1 → 0.92
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