[Kde-bindings] Smokegen core dump

Michael Jansen kde at michael-jansen.biz
Sun Jan 30 00:13:24 UTC 2011


Hi

Since some time i am getting this error reliably. ( Fresh rebuild from scratch 
).

[ 28%] Built target smokekdecore
make -f kdeui/CMakeFiles/smokekdeui.dir/build.make 
kdeui/CMakeFiles/smokekdeui.dir/depend
parsing "/home/mjansen/kde/trunk/src/smoke/smokekde/attica/attica_includes.h" 
ASSERT failure in QList<T>::at: "index out of range", file 
/qt/trunk/include/QtCore/qlist.h, line 456
/bin/sh: line 1:  7841 Aborted                 (core dumped) 
/kde/trunk/kde/bin/smokegen -config 
/home/mjansen/kde/trunk/bld/smoke/smokekde/attica/../kdecore/config.xml -
smokeconfig /home/mjansen/kde/trunk/src/smoke/smokekde/attica/smokeconfig.xml 
-- /home/mjansen/kde/trunk/src/smoke/smokekde/attica/attica_includes.h
make[2]: *** [attica/smokedata.cpp] Error 134
make[2]: Leaving directory `/home/mjansen/kde/trunk/bld/smoke/smokekde'
make[1]: *** [attica/CMakeFiles/smokeattica.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....



The core files gives the following backtrace 

#0  0x00002b7df05479e5 in raise () from /lib64/libc.so.6
#1  0x00002b7df0548ee6 in abort () from /lib64/libc.so.6
#2  0x00002b7def3b1d78 in qt_message_output (msgType=QtFatalMsg, buf=0x672a68 
"ASSERT failure in QList<T>::at: \"index out of range\", file 
/qt/trunk/include/QtCore/qlist.h, line 456") at 
/home/mjansen/kde/trunk/src/qt/qt/src/corelib/global/qglobal.cpp:2282
#3  0x00002b7def3b1ef4 in qt_message(QtMsgType, const char *, typedef 
__va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x2b7def55bdb0 "ASSERT 
failure in %s: \"%s\", file %s, line %d", ap=0x7fffc23cdf30) at 
/home/mjansen/kde/trunk/src/qt/qt/src/corelib/global/qglobal.cpp:2328
#4  0x00002b7def3b2762 in qFatal (msg=0x2b7def55bdb0 "ASSERT failure in %s: 
\"%s\", file %s, line %d") at 
/home/mjansen/kde/trunk/src/qt/qt/src/corelib/global/qglobal.cpp:2511
#5  0x00002b7def3b196b in qt_assert_x (where=0x449dc9 "QList<T>::at", 
what=0x449d23 "index out of range", file=0x449d88 
"/qt/trunk/include/QtCore/qlist.h", line=456) at 
/home/mjansen/kde/trunk/src/qt/qt/src/corelib/global/qglobal.cpp:2035
#6  0x000000000043669d in QList<QString>::at (this=0x65d2a0, i=1953391972) at 
/qt/trunk/include/QtCore/qlist.h:456
#7  0x00002b7defb337f9 in IndexedString::byteArray (this=0x7fffc23ce100) at 
/home/mjansen/kde/trunk/src/smoke/smokegen/parser/indexedstring.cpp:203
#8  0x00002b7defb4f037 in stringFromContents (contents=0x67537c, count=5) at 
/home/mjansen/kde/trunk/src/smoke/smokegen/parser/rpp/chartools.cpp:65
#9  0x00002b7defb4ef93 in lineFromContents (size=28, contents=0x675320, 
lineNumber=23) at 
/home/mjansen/kde/trunk/src/smoke/smokegen/parser/rpp/chartools.cpp:56
#10 0x00002b7defb18897 in Parser::reportError (this=0x7fffc23ce6a0, msg=...) 
at /home/mjansen/kde/trunk/src/smoke/smokegen/parser/parser.cpp:372
#11 0x00002b7defb185af in Parser::syntaxError (this=0x7fffc23ce6a0) at 
/home/mjansen/kde/trunk/src/smoke/smokegen/parser/parser.cpp:339
#12 0x00002b7defb22e7b in Parser::parseDeclarationInternal 
(this=0x7fffc23ce6a0, node=@0x7fffc23ce468) at 
/home/mjansen/kde/trunk/src/smoke/smokegen/parser/parser.cpp:3584
#13 0x00002b7defb19827 in Parser::parseDeclaration (this=0x7fffc23ce6a0, 
node=@0x7fffc23ce468) at 
/home/mjansen/kde/trunk/src/smoke/smokegen/parser/parser.cpp:712
#14 0x00002b7defb1930c in Parser::parseTranslationUnit (this=0x7fffc23ce6a0, 
node=@0x7fffc23ce4c8) at 
/home/mjansen/kde/trunk/src/smoke/smokegen/parser/parser.cpp:613
#15 0x00002b7defb17c8f in Parser::parse (this=0x7fffc23ce6a0, 
_session=0x7fffc23ce7e0) at 
/home/mjansen/kde/trunk/src/smoke/smokegen/parser/parser.cpp:192
#16 0x0000000000423e0c in main (argc=7, argv=0x7fffc23cef68) at 
/home/mjansen/kde/trunk/src/smoke/smokegen/main.cpp:224


In Frame 7 
(gdb) p/x m_index 
$1 = 0x746e6564

In frame 8
(gdb) p/x contents[a]
$2 = 0x746e6564
(gdb) p a
$3 = 4

In frame 10
(gdb) p/x *msg
Cannot resolve function operator* to any overloaded instance
gdb) p p->position.line
warning: can't find linker symbol for virtual table for `Problem' value
$17 = 23


Anyone an idea how to debug / fix that bug?

Btw i am on a 64bit system.

Mike




More information about the Kde-bindings mailing list