crash when hit Enter with no text present

Bug #1445204 reported by Alvin Penner on 2015-04-16
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
High
Mc

Bug Description

- Windows XP, Inkscape 0.91+devel r14057 (Apr 16 2015)
- start Inkscape, select text tool F8
- place the cursor on the screen without typing anything
- hit Enter, Inkscape crashes, backtrace attached.

- not reproduced on Windows 7, Inkscape 0.91 r13725 (Jan 30 2015)
- somewhat similar to bug #1426879 but different crash message

.................................................

(gdb) symbol-file inkscape.dbg
Reading symbols from C:\InkscapeBZR\inkscape/inkscape.dbg...done.
(gdb) run
Starting program: C:\InkscapeBZR\inkscape/inkscape.exe
[New thread 2680.0x4ec]
[New thread 2680.0x508]
[New thread 2680.0xfe0]

Program received signal SIGSEGV, Segmentation fault.
0x006f284c in Inkscape::Text::Layout::queryCursorShape ()
(gdb) bt
#0 0x006f284c in Inkscape::Text::Layout::queryCursorShape ()
#1 0x0139ad84 in typeinfo for SPTRef ()
#2 0x0139ad84 in typeinfo for SPTRef ()
#3 0x08eff718 in ?? ()
#4 0x00f6adff in _Unwind_SjLj_Unregister (fc=0x0)
    at ../../../../src/gcc-4.6.1/libgcc/../gcc/unwind.inc:77
#5 0x08eff718 in ?? ()
#6 0x00000000 in ?? ()

su_v (suv-lp) wrote :

On OS X 10.7.5:
- not reproduced with Inkscape 0.91+devel rev <= 13836
- reproduced with Inkscape 0.91+devel rev >= 13841
(no archived builds in-between).

Possibly related to implementation of new textLength and textAdjust attributes (?):
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/changes/13841

With rev 13824-13836 (no crash), there are already these messages on the console:
SPObject::~SPObject(): someone else still holding ref to style
SPObject::~SPObject(): someone else still holding ref to style

Full backtrace with debug build (r14057) attached.

Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
tags: added: crash regression text
jazzynico (jazzynico) wrote :

Also reproduced on Crunchbang Waldorf, Inkscape trunk rev. 14120. Same backtrace.

Changed in inkscape:
status: Confirmed → Triaged
Mc (mc...) wrote :

fixed in r14308

Changed in inkscape:
assignee: nobody → Mc (mc...)
status: Triaged → Fix Committed
su_v (suv-lp) on 2015-08-17
Changed in inkscape:
milestone: none → 0.92
Bryce Harrington (bryce) on 2017-01-10
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