rendered paste bodyhdh@gunship [23:41:26]:~/e1/KDE4-trunk/bag/backtraces/testcase
$ make
g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../path/64/KDE4/qt-copy/mkspecs/linux-g++-64 -I. -I../../../../path/64/KDE4/qt-copy/include/QtCore -I../../../../path/64/KDE4/qt-copy/include/QtCore -I../../../../path/64/KDE4/qt-copy/include/QtGui -I../../../../path/64/KDE4/qt-copy/include/QtGui -I../../../../path/64/KDE4/qt-copy/include -I. -I. -I. -o testcase.o testcase.cpp
g++ -m64 -Wl,-rpath,/home/hdh/e1/path/64/KDE4/qt-copy/lib -o testcase testcase.o -L/home/hdh/e1/path/64/KDE4/qt-copy/lib -lQtGui -L/home/hdh/e1/path/64/KDE4/qt-copy/lib -L/usr/X11R6/lib64 -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
hdh@gunship [23:41:31]:~/e1/KDE4-trunk/bag/backtraces/testcase
$ gdb ./testcase
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /home/hdh/e1/KDE4-trunk/bag/backtraces/testcase/testcase
[Thread debugging using libthread_db enabled]
[New Thread 47627697237536 (LWP 8777)]
38
*** glibc detected *** /home/hdh/e1/KDE4-trunk/bag/backtraces/testcase/testcase: free(): invalid next size (fast): 0x00000000006044d0 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b512f684b0a]
/lib/libc.so.6(cfree+0x8c)[0x2b512f6886fc]
/home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtCore.so.4[0x2b512de59f3a]
/home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtCore.so.4[0x2b512de54017]
/home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtCore.so.4[0x2b512de1b8f0]
/home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtCore.so.4(_ZN12QDirIterator4nextEv+0x38)[0x2b512de1bcb4]
/home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtCore.so.4(_ZNK19QAbstractFileEngine9entryListE6QFlagsIN4QDir6FilterEERK11QStringList+0x9e)[0x2b512de0fdb4]
/home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtCore.so.4(_ZNK13QFSFileEngine9entryListE6QFlagsIN4QDir6FilterEERK11QStringList+0x3e)[0x2b512de526b8]
/home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtCore.so.4[0x2b512de19bf0]
/home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtCore.so.4(_ZNK4QDir5countEv+0x22)[0x2b512de15bf8]
/home/hdh/e1/KDE4-trunk/bag/backtraces/testcase/testcase(__gxx_personality_v0+0x1c9)[0x400b39]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2b512f630b44]
/home/hdh/e1/KDE4-trunk/bag/backtraces/testcase/testcase(__gxx_personality_v0+0x89)[0x4009f9]
======= Memory map: ========
00400000-00401000 r-xp 00000000 08:06 881021 /home/hdh/e1/KDE4-trunk/bag/backtraces/testcase/testcase
00601000-00602000 rw-p 00001000 08:06 881021 /home/hdh/e1/KDE4-trunk/bag/backtraces/testcase/testcase
00602000-00623000 rw-p 00602000 00:00 0 [heap]
2b512b3dc000-2b512b3f9000 r-xp 00000000 08:01 2007702 /lib/ld-2.6.1.so
2b512b3f9000-2b512b3fc000 rw-p 2b512b3f9000 00:00 0
2b512b5f8000-2b512b5fa000 rw-p 0001c000 08:01 2007702 /lib/ld-2.6.1.so
2b512b5fa000-2b512bee7000 r-xp 00000000 08:06 609084 /home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtGui.so.4.3.1
2b512bee7000-2b512c0e6000 ---p 008ed000 08:06 609084 /home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtGui.so.4.3.1
2b512c0e6000-2b512c127000 rw-p 008ec000 08:06 609084 /home/hdh/e1/path/64/KDE4/qt-copy/lib/libQtGui.so.4.3.1
2b512c127000-2b512c128000 rw-p 2b512c127000 00:00 0
2b512c128000-2b512c14c000 r-xp 00000000 08:01 510244 /usr/lib/libpng12.so.0.15.0
2b512c14c000-2b512c34c000 ---p 00024000 08:01 510244 /usr/lib/libpng12.so.0.15.0
2b512c34c000-2b512c34d000 rw-p 00024000 08:01 510244 /usr/lib/libpng12.so.0.15.0
2b512c34d000-2b512c355000 r-xp 00000000 08:01 510073 /usr/lib/libSM.so.6.0.0
2b512c355000-2b512c554000 ---p 00008000 08:01 510073 /usr/lib/libSM.so.6.0.0
2b512c554000-2b512c555000 rw-p 00007000 08:01 510073 /usr/lib/libSM.so.6.0.0
2b512c555000-2b512c556000 rw-p 2b512c555000 00:00 0
2b512c556000-2b512c56d000 r-xp 00000000 08:01 510071 /usr/lib/libICE.so.6.3.0
2b512c56d000-2b512c76d000 ---p 00017000 08:01 510071 /usr/lib/libICE.so.6.3.0
2b512c76d000-2b512c76e000 rw-p 00017000 08:01 510071 /usr/lib/libICE.so.6.3.0
2b512c76e000-2b512c772000 rw-p 2b512c76e000 00:00 0
2b512c772000-2b512c77a000 r-xp 00000000 08:01 510105 /usr/lib/libXi.so.6.0.0
2b512c77a000-2b512c97a000 ---p 00008000 08:01 510105 /usr/lib/libXi.so.6.0.0
2b512c97a000-2b512c97b000 rw-p 00008000 08:01 510105 /usr/lib/libXi.so.6.0.0
2b512c97b000-2b512c984000 r-xp 00000000 08:01 510067 /usr/lib/libXrender.so.1.3.0
2b512c984000-2b512cb83000 ---p 00009000 08:01 510067 /usr/lib/libXrender.so.1.3.0
2b512cb83000-2b512cb84000 rw-p 00008000 08:01 510067 /usr/lib/libXrender.so.1.3.0
2b512cb84000-2b512cb85000 rw-p 2b512cb84000 00:00 0
2b512cb85000-2b512cb8c000 r-xp 00000000 08:01 510166 /usr/lib/libXrandr.so.2.1.0
2b512cb8c000-2b512cd8b000 ---p 00007000 08:01 510166 /usr/lib/libXrandr.so.2.1.0
2b512cd8b000-2b512cd8c000 rw-p 00006000 08:01 510166 /usr/lib/libXrandr.so.2
Program received signal SIGABRT, Aborted.
[Switching to Thread 47627697237536 (LWP 8777)]
0x00002b512f644765 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0x00002b512f644765 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00002b512f6461c0 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00002b512f67d60b in ?? () from /lib/libc.so.6
No symbol table info available.
#3 0x00002b512f684b0a in ?? () from /lib/libc.so.6
No symbol table info available.
#4 0x00002b512f6886fc in free () from /lib/libc.so.6
No symbol table info available.
#5 0x00002b512de59f3a in QFSFileEngineIterator::advance (this=0x60c980)
at io/qfsfileengine_iterator_unix.cpp:83
No locals.
#6 0x00002b512de54017 in QFSFileEngineIterator::next (this=0x60c980)
at io/qfsfileengine_iterator.cpp:58
No locals.
---Type <return> to continue, or q <return> to quit---
#7 0x00002b512de1b8f0 in QDirIteratorPrivate::advance (this=0x603300)
at io/qdiriterator.cpp:223
it = (class QAbstractFileEngineIterator *) 0x60c980
filePath = {static null = {<No data fields>}, static shared_null = {
ref = {value = 44}, alloc = 0, size = 0, data = 0x2b512e14937a, clean = 0,
simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}}, static shared_empty = {ref = {value = 1},
alloc = 0, size = 0, data = 0x2b512e14939a, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
d = 0x7fff7f6cc220, static codecForCStrings = 0x0}
foundValidEntry = false
#8 0x00002b512de1bcb4 in QDirIterator::next (this=0x7fff7f6cc340)
at io/qdiriterator.cpp:467
No locals.
#9 0x00002b512de0fdb4 in QAbstractFileEngine::entryList (this=0x6022e0,
filters=@0x7fff7f6cc3e0, filterNames=@0x6022a0)
---Type <return> to continue, or q <return> to quit---
at io/qabstractfileengine.cpp:606
ret = (QStringList &) @0x7fff7f6cc420: {<QList<QString>> = {{p = {
static shared_null = {ref = {value = 3}, alloc = 0, begin = 0,
end = 0, sharable = 1, array = {0x0}}, d = 0x6108e0},
d = 0x6108e0}}, <No data fields>}
ret = {<QList<QString>> = {{p = {static shared_null = {ref = {
value = 3}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {
0x0}}, d = 0x7fff7f6cc370}, d = 0x7fff7f6cc370}}, <No data fields>}
it = {_vptr.QDirIterator = 0x2b512e142ad0, d = 0x603300}
#10 0x00002b512de526b8 in QFSFileEngine::entryList (this=0x6022e0,
filters=@0x7fff7f6cc430, filterNames=@0x6022a0) at io/qfsfileengine.cpp:730
No locals.
#11 0x00002b512de19bf0 in QDirPrivate::updateFileLists (this=0x602270)
at io/qdir.cpp:307
l = {<QList<QString>> = {{p = {static shared_null = {ref = {
value = 3}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {
---Type <return> to continue, or q <return> to quit---
0x0}}, d = 0x6108e0}, d = 0x6108e0}}, <No data fields>}
#12 0x00002b512de15bf8 in QDir::count (this=0x7fff7f6cc4b0) at io/qdir.cpp:1292
d = (const QDirPrivate * const) 0x602270
#13 0x0000000000400b39 in main () at testcase.cpp:10
dir = {d_ptr = 0x602270}
(gdb) quit
The program is running. Exit anyway? (y or n) y
hdh@gunship [23:42:08]:~/e1/KDE4-trunk/bag/backtraces/testcase
$