ksvgtopng crashed with SIGSEGV in QString::trimmed()

Bug #426098 reported by Alexandre Demers
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: kdebase-runtime

building NavIt from today's svn

ProblemType: Crash
Architecture: i386
Date: Tue Sep 8 01:46:49 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/ksvgtopng
Package: kdebase-runtime 4:4.3.1-0ubuntu1
ProcCmdline: /usr/bin/ksvgtopng 8 8 country_AU.svg country_AU_8_8.png
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
SegvAnalysis:
 Segfault happened at: 0x40795c42 <_ZNK7QString7trimmedEv+34>: mov 0x8(%eax),%edx
 PC (0x40795c42) ok
 source "0x8(%eax)" (0x006f0074) not located in a known VMA region (needed readable region)!
 destination "%edx" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: kdebase-runtime
StacktraceTop:
 QString::trimmed() const () from /usr/lib/libQtCore.so.4
 ?? () from /usr/lib/libQtSvg.so.4
 ?? () from /usr/lib/libQtSvg.so.4
 ?? () from /usr/lib/libQtSvg.so.4
 ?? () from /usr/lib/libQtSvg.so.4
Title: ksvgtopng crashed with SIGSEGV in QString::trimmed()
Uname: Linux 2.6.31-9-generic i686
UserGroups:

Revision history for this message
Alexandre Demers (oxalin) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:QString::trimmed () from /usr/lib/libQtCore.so.4
?? () from /usr/lib/libQtSvg.so.4
?? () from /usr/lib/libQtSvg.so.4
?? () from /usr/lib/libQtSvg.so.4
?? () from /usr/lib/libQtSvg.so.4

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
tags: added: apport-failed-retrace
tags: removed: need-i386-retrace
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Is this crash reproducible? The backtrace isn't very complete, so we'll probably have to get one manually if we can. (Installing libqt4-dbg and libqt4-svg-dbg would help here)

visibility: private → public
Changed in kdebase-runtime (Ubuntu):
status: New → Incomplete
Revision history for this message
Alexandre Demers (oxalin) wrote :

I can reproduce it anytime. I'll add both libs and we'll see what we get.

Revision history for this message
Alexandre Demers (oxalin) wrote :

I can't seem to find libqt4-svg-dbg (no package, no clue anywhere)... any hint? Added libqt4-dbg.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Oh, I guess there's not a separate one for the svg libs. libqt4-dev should be fine.

affects: kdebase-runtime (Ubuntu) → qt4-x11 (Ubuntu)
Revision history for this message
Alexandre Demers (oxalin) wrote :

Since installing the libs, I still have de SEG fault, but the report is not built automatically as it was. I'm able to create a core dump with gdb, what else would you need? Sorry for asking. I can also provide you the initial .svgz file.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Sure, attach the svgz and I'll see if I can reproduce it here.

Revision history for this message
Alexandre Demers (oxalin) wrote :

Here is what I got when doing
gdb --args /usr/bin/ksvgtopng 96 96 country_AU.svgz country_AU_96_96.png

Program received signal SIGSEGV, Segmentation fault.
0x005f4c42 in QString::trimmed (this=0x817bf48) at tools/qstring.cpp:3923
3923 tools/qstring.cpp: No such file or directory.
 in tools/qstring.cpp

Attached svgz file and core dump

Revision history for this message
Alexandre Demers (oxalin) wrote :
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

k, I got the backtrace. Just had to ask gdb to be a bit more verbose. ;-)
I've filed a report with Qt Software, and once they get around to reviewing it hopefully we'll have a URL to their bug tracker we can use.

Changed in qt4-x11 (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Low
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fixed in Qt 4.6 in Kubuntu 10.04.

Changed in qt4-x11 (Ubuntu):
status: Triaged → Fix Released
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.