Crash when removing the last character with an open bitmap export dialog

Bug #960980 reported by Yann Papouin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Kris

Bug Description

Using trunk on Win32, to reproduce create a new text, type some chars the remove them with backspace. When deleting the last remaining character a crash occurred (see screenshot attached)

Revision history for this message
Yann Papouin (yann-papouin) wrote :
su_v (suv-lp)
tags: added: crash text
Revision history for this message
su_v (suv-lp) wrote :

Not reproduced with Inkscape 0.48+devel r11106 on
- Mac OS X 10.5.8 (i386), boost 1.47.0, Gtk+/X11 2.24.8, glib2 2.28.8
- OS X 10.7.2 (64bit), boost 1.49.0, Gtk+/X11 2.24.10, glib2 2.30.2
using default prefs and style settings (text has solid black fill and no stroke).

No longer reproduced with text which has a stroke set, even though this used to trigger such a crash:
<http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/37154/focus=37201>
(fixed in r10618 according to <http://article.gmane.org/gmane.comp.graphics.inkscape.devel/37208>)

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

- Can you reproduce the crash consistently?
- Any special attributes of the text which might trigger the crash?
  (please attach sample SVG file with a text object which does trigger the crash when deleted with backspace)

Changed in inkscape:
importance: Undecided → High
Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced on Windows XP, Inkscape trunk revision 11098, devlibs r29.

Revision history for this message
Yann Papouin (yann-papouin) wrote :

Ok I know how to reproduce every times, open the export to bitmap dialog first (even with a clean preferences.xml).

Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Debian Wheezy, Inkscape trunk revision 11198.
Not reproduced with 0.48.1.

Changed in inkscape:
status: New → Confirmed
tags: added: regression
Revision history for this message
jazzynico (jazzynico) wrote :
summary: - Crash when pressing backspace on the last remaining character
+ Crash when removing the last character with an open bitmap export dialog
Revision history for this message
su_v (suv-lp) wrote :

Crash reproduced with r11206 if 'Export bitmap…' dialog is open (docked)
- Mac OS X 10.5.8 (i386), boost 1.47.0, Gtk+/quartz 2.24.10, glib2 2.28.8
- OS X 10.7.2 (64bit), boost 1.49.0, Gtk+/x11 2.24.10, glib2 2.32.0

Kris (kris-degussem)
Changed in inkscape:
assignee: nobody → Kris (kris-degussem)
milestone: none → 0.49
Revision history for this message
Kris (kris-degussem) wrote :

Should be fixed in trunk revision 11288.
Was hard to track for me and in the end it was very little code to fix it (in essence, a single if did the trick).

Changed in inkscape:
status: Confirmed → Fix Released
Revision history for this message
su_v (suv-lp) wrote :

Removing milestone (the bug only occurred in trunk, and never in a released version).

Changed in inkscape:
milestone: 0.49 → none
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.