Re: SystemStackError in embedding
From:
Sentinel <sentinel27@...>
Date:
2003-10-19 00:04:24 UTC
List:
ruby-core #1643
> I am running on Linux, and it is compilable both as a pure Qt or a KDE
> application.
>
> The thing is, that through the same plugin interface python and perl are
> working just fine, so the error has to be in my ruby code.
>
> Regards,
>
> Peter
addendum:
I checked the stack and it looks like a pretty normal stack for a Qt app
if you leave away the levels which are generated by the assert I put in,
everything is minimal stack for a onTimer Signal generated by Qt.
#10 0x41f3b818 in XMRuby::reportError(QString const&, int) (this=0x81f18f0,
function=@0xfffffe00, err=-1073747008) at XMRuby_cc.in:72
#11 0x41f3c08b in XMRuby::timer() (this=0x81f18f0) at XMRuby_cc.in:207
#12 0x08068178 in Xpertmud::slotTimer() (this=0x41f4824c) at xpertmud.cc:816
is the only recursion generated by application code.
and the generateError level is entered _after_ the SystemStackError occurs
Stacktrace Ahead:
[New Thread 16384 (LWP 8416)]
0x410a9137 in waitpid () from /lib/libpthread.so.0
#0 0x410a9137 in waitpid () from /lib/libpthread.so.0
#1 0x406f4a3e in KCrash::defaultCrashHandler(int) ()
from /usr/kde/3.1/lib/libkdecore.so.4
#2 0x410a7fea in __pthread_sighandler () from /lib/libpthread.so.0
#3 <signal handler called>
#4 0x41149fe1 in kill () from /lib/libc.so.6
#5 0x410a55d3 in pthread_kill () from /lib/libpthread.so.0
#6 0x410a58eb in raise () from /lib/libpthread.so.0
#7 0x41149bc2 in raise () from /lib/libc.so.6
#8 0x4114b49c in abort () from /lib/libc.so.6
#9 0x411434a5 in __assert_fail () from /lib/libc.so.6
#10 0x41f3b818 in XMRuby::reportError(QString const&, int) (this=0x81f18f0,
function=@0xfffffe00, err=-1073747008) at XMRuby_cc.in:72
#11 0x41f3c08b in XMRuby::timer() (this=0x81f18f0) at XMRuby_cc.in:207
#12 0x08068178 in Xpertmud::slotTimer() (this=0x41f4824c) at xpertmud.cc:816
#13 0x0808da9a in Xpertmud::qt_invoke(int, QUObject*) (this=0x8155538,
_id=140, _o=0xbfffee30) at xpertmud.moc.cc:341
#14 0x40b47299 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/qt/3/lib/libqt-mt.so.3
#15 0x40b4713d in QObject::activate_signal(int) ()
from /usr/qt/3/lib/libqt-mt.so.3
#16 0x40e29c3b in QTimer::timeout() () from /usr/qt/3/lib/libqt-mt.so.3
#17 0x40b68362 in QTimer::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#18 0x40ae94c4 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
#19 0x40ae8a3b in QApplication::notify(QObject*, QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
#20 0x406667c9 in KApplication::notify(QObject*, QEvent*) ()
from /usr/kde/3.1/lib/libkdecore.so.4
#21 0x40ac4075 in QEventLoop::activateTimers() ()
from /usr/qt/3/lib/libqt-mt.so.3
#22 0x40aa18a8 in QEventLoop::processEvents(unsigned) ()
from /usr/qt/3/lib/libqt-mt.so.3
#23 0x40afd2c6 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#24 0x40afd168 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#25 0x40ae96f1 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#26 0x08063b23 in main (argc=-512, argv=0xfffffe00) at main.cc:71
#27 0x411367a7 in __libc_start_main () from /lib/libc.so.6