[Kde-bindings] Building QtRuby for Qt/Embedded

Steffen Beyer serpent at centibel.org
Sat Feb 20 17:49:38 UTC 2010

On Sat, 20 Feb 2010 17:03:42 +0000, Richard Dale wrote:
> Hmm, not sure what this is - can you try running under gdb and getting a 
> stack trace of where the assert fails?

Like that? I don't have much experience with gdb...

(gdb) run main.rb
Starting program: /usr/bin/ruby main.rb
[Thread debugging using libthread_db enabled]
[New Thread 0xb7a55b70 (LWP 19992)]
ASSERT failure in QList<T>::operator[]: "index out of range", file 
/usr/local/include/QtCore/qlist.h, line 447

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7d32571 in raise () from /lib/libc.so.6
#2  0xb7d33d72 in abort () from /lib/libc.so.6
#3  0xb77ec8b2 in qt_message_output (msgType=QtFatalMsg, buf=0x83747e8 
"ASSERT failure in QList<T>::operator[]: \"index out of range\", file 
/usr/local/include/QtCore/qlist.h, line 447") at global/qglobal.cpp:2250
#4  0xb77ec9ab in qt_message (msgType=QtFatalMsg, msg=0x6 <Address 0x6 out 
of bounds>, ap=0xbfffe024 "\222v\244\267rv\244\267Pv\244\267\277\001") at 
#5  0xb77eca09 in qFatal (msg=0xb7945c8c "ASSERT failure in %s: \"%s\", 
file %s, line %d") at global/qglobal.cpp:2479
#6  0xb77eca4c in qt_assert_x (where=0xb7a47692 "QList<T>::operator[]", 
what=0xb7a47672 "index out of range", file=0xb7a47650 
"/usr/local/include/QtCore/qlist.h", line=447) at global/qglobal.cpp:2021
#7  0xb7a420da in QList<Smoke*>::operator[](int) () from 
#8  0xb7a3a93a in insert_pclassid () from 
#9  0xb7f6fbd2 in call_cfunc () from /usr/lib/libruby.so.1.9
#10 0xb7f6ff44 in vm_call_cfunc () from /usr/lib/libruby.so.1.9
#11 0xb7f7c43e in vm_call_method () from /usr/lib/libruby.so.1.9
#12 0x00002ec0 in ?? ()
#13 0x00002ec0 in ?? ()

Kind regards,
Steffen Beyer <serpent at centibel.org>

GnuPG key fingerprint: CA00 1611 242B 89D4 E643  E235 05F3 7689 DD3E EB26
Public key available upon request or at http://wwwkeys.de.pgp.net

More information about the Kde-bindings mailing list