Segfaults upon adding text object when compiled with gcc-4.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Undecided
|
Unassigned | ||
inkscape (Fedora) |
Fix Released
|
High
|
Bug Description
The crash happens only when compiled by GCC 4.3, but I can not tell whether it's compiler's fault, or Inkscape's;
It is easily reproducible, just add text object, type some text and press Enter.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912501729296 (LWP 24343)]
_wordcopy_
296 ((op_t *) dstp)[6] = a0;
Current language: auto; currently c
(gdb) up
#1 0x0000003d3a67a801 in memmove (dest=0x0, src=<value optimized out>, len=<value optimized out>) at memmove.c:99
99 WORD_COPY_BWD (dstp, srcp, len, len);
(gdb)
#2 0x00000000004b81dd in TextTagAttribut
at /usr/include/
377 __builtin_
Current language: auto; currently c++
(gdb)
#3 0x00000000004b82d0 in TextTagAttribut
copy_
742 mergeSingleAttr
(gdb)
#4 0x00000000004b8df1 in SPText:
at sp-text.cpp:518
518 tspan->
(gdb)
Full backtrace is attached to the Fedora bug referenced above.
Should any more information such as values of variables or core dump and debugging symbols be needed (in case you don't have gcc-4.3 handy, etc.), please let me know.
Changed in inkscape: | |
milestone: | none → 0.47 |
Changed in inkscape: | |
status: | Unknown → In Progress |
Changed in inkscape: | |
status: | In Progress → Fix Released |
Changed in inkscape (Fedora): | |
importance: | Unknown → High |
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. bwd_aligned (dstp=-56, srcp=<value optimized out>, len=<value
[Switching to Thread 0x2aaaacb26780 (LWP 31103)]
_wordcopy_
optimized out>)
at wordcopy.c:314
314 ((op_t *) dstp)[0] = a0;
Current language: auto; currently c
Version-Release number of selected component (if applicable): 0.45.1+ 0.46pre1- 2.fc9.x86_ 64
inkscape-
How reproducible:
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