GNU gdb (GDB) 6.8.50.20090628-cvs-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: ... (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagingation 0 No symbol "pagingation" in current context. (gdb) run 96 96 country_AU.svgz[1@/[1@h[1@o[1@m[1@e[1@/[1@j[1@o[1@n[1@a[1@t[1@h[1@a[1@n[1@/[1@D[1@oc[1@c[1@u[1@m[1@e[1@n[1@t[1@s[1@/country_AU.svgz /home/jonathan/Documents/country_AU .s png Starting program: /usr/bin/ksvgtopng 96 96 /home/jonathan/Documents/country_AU.svgz /home/jonathan/Documents/country_AU.png [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x00346c42 in QString::trimmed (this=0x80edf40) at tools/qstring.cpp:3923 3923 tools/qstring.cpp: No such file or directory. in tools/qstring.cpp (gdb) backtrace full #0 0x00346c42 in QString::trimmed (this=0x80edf40) at tools/qstring.cpp:3923 start = end = 135192160 l = #1 0x00594f8a in createSvgNode (parent=0x0, attributes=..., handler=0xbffff044) at qsvghandler.cpp:3023 yStr = {static null = {}, static shared_null = {ref = { _q_value = 94}, alloc = 0, size = 0, data = 0x4e645a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x4e646e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80ede60, static codecForCStrings = 0x0} w = -5.5955326050338069e-39 lst = {> = {{p = {static shared_null = {ref = {_q_value = 158}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x80edf20}, d = 0x80edf20}}, } heightStr = {static null = {}, static shared_null = {ref = { _q_value = 94}, alloc = 0, size = 0, data = 0x4e645a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x4e646e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1, static codecForCStrings = 0x0} x = 5.3509739773188177e-307 h = 1 xStr = {static null = {}, static shared_null = {ref = { _q_value = 94}, alloc = 0, size = 0, data = 0x4e645a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x4e646e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80edf00, static codecForCStrings = 0x0} widthStr = {static null = {}, static shared_null = {ref = { _q_value = 94}, alloc = 0, size = 0, data = 0x4e645a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x4e646e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80edf48, static codecForCStrings = 0x0} lt = 5777036 y = 7.0923719960927222e-308 type = QSvgHandler::LT_PX baseProfile = {static null = {}, static shared_null = {ref = { _q_value = 94}, alloc = 0, size = 0, data = 0x4e645a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x4e646e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x4e6448, static codecForCStrings = 0x0} widthStr = {static null = {}, static shared_null = {ref = { _q_value = 94}, alloc = 0, size = 0, data = 0x4e645a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x4e646e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80eddd8, static codecForCStrings = 0x0} heightStr = {static null = {}, static shared_null = {ref = { _q_value = 94}, alloc = 0, size = 0, data = 0x4e645a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x4e646e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80ede00, static codecForCStrings = 0x0} viewBoxStr = {static null = {}, static shared_null = {ref = { _q_value = 94}, alloc = 0, size = 0, data = 0x4e645a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x4e646e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80ede28, static codecForCStrings = 0x0} width = 1280.0007324207581 height = 640.00036621037953 #2 0x005a1d1b in QSvgHandler::startElement (this=0xbffff044, localName=..., attributes=...) at qsvghandler.cpp:3455 method = 0x594bc0 node = xmlSpace = {m_string = 0x0, m_position = 0, m_size = 0} #3 0x005a2fc8 in QSvgHandler::parse (this=0xbffff044) at qsvghandler.cpp:3401 done = false #4 0x005a32c7 in QSvgHandler::init (this=0xbffff044) at qsvghandler.cpp:3381 No locals. #5 0x005a35db in QSvgHandler (this=0xbffff044, data=...) at qsvghandler.cpp:3365 No locals. #6 0x005b4257 in QSvgTinyDocument::load (contents=...) at qsvgtinydocument.cpp:206 handler = {m_doc = 0x0, m_nodes = {> = {{p = 0x4e6470, d = 0x4e6470}}, }, m_resolveNodes = {{p = { static shared_null = {ref = {_q_value = 158}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x4e63d4}, d = 0x4e63d4}}, m_skipNodes = {> = {{p = 0x4e6470, d = 0x4e6470}}, }, m_whitespaceMode = {> = {{p = 0x80edce8, d = 0x80edce8}}, }, m_style = {t = 0x0}, m_defaultCoords = QSvgHandler::LT_PX, m_colorStack = {> = {{ p = 0x4e6470, d = 0x4e6470}}, }, m_colorTagCount = {> = {{p = 0x4e6470, d = 0x4e6470}}, }, m_inStyle = false, m_selector = 0x80ead00, m_animEnd = 11408288, xml = 0x80b7af8, m_cssParser = { symbols = {{p = 0x4e6470, d = 0x4e6470}}, index = 0, errorIndex = -1, hasEscapeSequences = false, sourcePath = {static null = {}, static shared_null = {ref = {_q_value = 94}, alloc = 0, size = 0, data = 0x4e645a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x4e646e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x4e6448, static codecForCStrings = 0x0}}, m_defaultPen = {d = 0x80eacc8}, m_ownsReader = true} doc = #7 0x005b661a in loadDocument (this=0xbffff204, contents=...) at qsvgrenderer.cpp:317 No locals. #8 QSvgRenderer::load (this=0xbffff204, contents=...) at qsvgrenderer.cpp:353 d = 0x8087fd8 #9 0x00dab3bc in KSvgRenderer::load (this=0xbffff204, contents=...) at ../../kdeui/util/ksvgrenderer.cpp:68 buf = { = { = {_vptr.QObject = 0x4e3d68, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x48cb20 "QObject", data = 0x48cbc0, extradata = 0x4e11b8}}, d_ptr = 0x80868f0, static staticQtMetaObject = { d = {superdata = 0x0, stringdata = 0x496300 "Qt", data = 0x499680, extradata = 0x0}}}, static staticMetaObject = {d = { superdata = 0x4e11a8, stringdata = 0x49da80 "QIODevice", data = 0x49dae0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x4e5028, stringdata = 0x484680 "QBuffer", data = 0x4846a0, extradata = 0x0}}} flt = 0x80b7af8 ar = {static shared_null = {ref = {_q_value = 375}, alloc = 0, size = 0, data = 0x4e6384 "", array = ""}, static shared_empty = {ref = {_q_value = 3}, alloc = 0, size = 0, data = 0x4e6398 "", array = ""}, d = 0x80e8658} #10 0x00dab471 in KSvgRenderer::load (this=0xbffff204, filename=...) at ../../kdeui/util/ksvgrenderer.cpp:50 fi = { = { = {_vptr.QObject = 0x4e4fa8, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x48cb20 "QObject", data = 0x48cbc0, extradata = 0x4e11b8}}, d_ptr = 0x8088548, static staticQtMetaObject = { d = {superdata = 0x0, stringdata = 0x496300 "Qt", data = 0x499680, extradata = 0x0}}}, static staticMetaObject = {d = { superdata = 0x4e11a8, stringdata = 0x49da80 "QIODevice", data = 0x49dae0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x4e5028, stringdata = 0x49da20 "QFile", data = 0x49da40, extradata = 0x0}}} #11 0x00dab623 in KSvgRenderer (this=0xbffff204, filename=..., parent=0x0) at ../../kdeui/util/ksvgrenderer.cpp:35 No locals. #12 0x080490c4 in main (argc=5, argv=0xbffff2f4) at ../../pics/ksvgtopng.cpp:32 app = { = { = {_vptr.QObject = 0x18aaf68, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x48cb20 "QObject", data = 0x48cbc0, extradata = 0x4e11b8}}, d_ptr = 0x804df80, static staticQtMetaObject = { d = {superdata = 0x0, stringdata = 0x496300 "Qt", data = 0x499680, extradata = 0x0}}}, static staticMetaObject = {d = { superdata = 0x4e11a8, stringdata = 0x49e7a0 "QCoreApplication", data = 0x49e840, extradata = 0x0}}, static self = 0xbffff20c}, static staticMetaObject = {d = {superdata = 0x4e57e4, stringdata = 0x16e14c0 "QApplication", data = 0x16e16c0, extradata = 0x0}}} img = { = {_vptr.QPaintDevice = 0x18ac510, painters = 0}, d = 0x8087f80} width = height = renderer = { = { = {_vptr.QObject = 0x804b088, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x48cb20 "QObject", data = 0x48cbc0, extradata = 0x4e11b8}}, d_ptr = 0x8087fd8, static staticQtMetaObject = { d = {superdata = 0x0, stringdata = 0x496300 "Qt", data = 0x499680, extradata = 0x0}}}, static staticMetaObject = {d = { superdata = 0x4e11a8, stringdata = 0x5c2580 "QSvgRenderer", data = 0x5c26c0, extradata = 0x0}}}, static staticMetaObject = {d = { superdata = 0x5ceacc, stringdata = 0xeafc00 "KSvgRenderer", data = 0xeafc60, extradata = 0x0}}} (gdb) info registers eax 0x0 0 ecx 0xbfffecd0 -1073746736 edx 0x0 0 ebx 0x4e5ff4 5136372 esp 0xbfffeba0 0xbfffeba0 ebp 0xbfffebd8 0xbfffebd8 esi 0xbfffecd0 -1073746736 edi 0x80edf40 135192384 eip 0x346c42 0x346c42 eflags 0x10212 [ AF IF RF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) x/16i $pc 0x346c42 <_ZNK7QString7trimmedEv+34>: mov 0x8(%eax),%edx 0x346c45 <_ZNK7QString7trimmedEv+37>: test %edx,%edx 0x346c47 <_ZNK7QString7trimmedEv+39>: jne 0x346c68 <_ZNK7QString7trimmedEv+72> 0x346c49 <_ZNK7QString7trimmedEv+41>: mov %eax,(%esi) 0x346c4b <_ZNK7QString7trimmedEv+43>: lock incl (%eax) 0x346c4e <_ZNK7QString7trimmedEv+46>: setne %dl 0x346c51 <_ZNK7QString7trimmedEv+49>: mov %esi,%eax 0x346c53 <_ZNK7QString7trimmedEv+51>: mov -0xc(%ebp),%ebx 0x346c56 <_ZNK7QString7trimmedEv+54>: mov -0x8(%ebp),%esi 0x346c59 <_ZNK7QString7trimmedEv+57>: mov -0x4(%ebp),%edi 0x346c5c <_ZNK7QString7trimmedEv+60>: mov %ebp,%esp 0x346c5e <_ZNK7QString7trimmedEv+62>: pop %ebp 0x346c5f <_ZNK7QString7trimmedEv+63>: ret $0x4 0x346c62 <_ZNK7QString7trimmedEv+66>: lea 0x0(%esi),%esi 0x346c68 <_ZNK7QString7trimmedEv+72>: mov 0xc(%eax),%eax 0x346c6b <_ZNK7QString7trimmedEv+75>: mov %eax,-0x20(%ebp) (gdb) thread apply all backtrace Thread 1 (Thread 0xb7fdd700 (LWP 6101)): #0 0x00346c42 in QString::trimmed (this=0x80edf40) at tools/qstring.cpp:3923 #1 0x00594f8a in createSvgNode (parent=0x0, attributes=..., handler=0xbffff044) at qsvghandler.cpp:3023 #2 0x005a1d1b in QSvgHandler::startElement (this=0xbffff044, localName=..., attributes=...) at qsvghandler.cpp:3455 #3 0x005a2fc8 in QSvgHandler::parse (this=0xbffff044) at qsvghandler.cpp:3401 #4 0x005a32c7 in QSvgHandler::init (this=0xbffff044) at qsvghandler.cpp:3381 #5 0x005a35db in QSvgHandler (this=0xbffff044, data=...) at qsvghandler.cpp:3365 #6 0x005b4257 in QSvgTinyDocument::load (contents=...) at qsvgtinydocument.cpp:206 #7 0x005b661a in loadDocument (this=0xbffff204, contents=...) at qsvgrenderer.cpp:317 #8 QSvgRenderer::load (this=0xbffff204, contents=...) at qsvgrenderer.cpp:353 #9 0x00dab3bc in KSvgRenderer::load (this=0xbffff204, contents=...) at ../../kdeui/util/ksvgrenderer.cpp:68 #10 0x00dab471 in KSvgRenderer::load (this=0xbffff204, filename=...) at ../../kdeui/util/ksvgrenderer.cpp:50 #11 0x00dab623 in KSvgRenderer (this=0xbffff204, filename=..., parent=0x0) at ../../kdeui/util/ksvgrenderer.cpp:35 #12 0x080490c4 in main (argc=5, argv=0xbffff2f4) at ../../pics/ksvgtopng.cpp:32 (gdb) quit The program is running. Quit anyway (and kill it)? (y or n)