Red Hat Bugzilla – Bug 432220
inkscape segv adding small word as new text to .svg
Last modified: 2009-01-07 13:09:53 EST
Description of problem:
I'm seeing inkscape sigsegv after adding a small word with the new text tool and
pressing enter. The backtrace with debuginfo is attached.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2aaaacb26780 (LWP 31103)]
_wordcopy_bwd_aligned (dstp=-56, srcp=<value optimized out>, len=<value
314 ((op_t *) dstp) = a0;
Current language: auto; currently c
Version-Release number of selected component (if applicable):
Very consistent, although I do not know if its new with this version (I haven't
been using it).
Steps to Reproduce:
1. add new layer, choose text tool
2. add new text (liberation sans, 16pt), write small word such as 'PCB'
3. press enter, then sigsegv occurs
Created attachment 294483 [details]
Happens on i686 as well, and with large or small words on either platform, using
This happens only in f9 -- the same version on f8 works fine. I will take a
closer look shortly.
Interesting thing is that on Fedora 8 it doesn't segfault when compiled with
gcc-4.1, but when compiled with gcc-4.3 (and newer libsigc++20, but otherwise
stock f8) it crashes.
Upstream bug: https://bugs.launchpad.net/fedora/+source/inkscape/+bug/190722
Jakub: Could you please have a short look at this in case it's a compiler issue?
Andrew: I attempted to fix the problem. inkscape-0.45.1+0.46pre1-3.fc9 is just
building  and will hit rawhide soon. Please check if you can cause inkscape
to crash. Thanks.
Thanks for the quick work on that, it looks like you got this one. After 5
minutes testing various words it has not happened; in contrast pre1-2 can be
crashed with the first attempt. I'll reopen if I notice it during some more
thorough work this week.