[Ktechlab-devel] run crash

Mr Jiff geoff at gwh.uklinux.net
Mon Feb 6 14:33:35 UTC 2006


What is supposed to happen when, with the asm file (created from sdcc) 
displayed in the editor, I click on the "Run" icon? All I get is a crash. 

The generated cod file works when run by hand (gpsim -s). 

Isn't the patched gpsim supposed to solve this crash problem?


With the patched gpsim from http://ktechlab.org/download/gpsim-0.21.11.tar.bz2 
and the ktechlab svn from 24 hours ago this is the result

Now with the asm  source tab open and "Run" clicked, here's the trace:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 1110000224 (LWP 2354)]
[KCrash handler]
#4  0x00000000 in ?? ()
#5  0x405a7903 in Symbol_Table::clear (this=0x4062b8c0) at symbol.cc:739
#6  0x40599bbc in ProgramFileTypeList::LoadProgramFile (this=0x8430050, 
    pProcessor=0xbf84dd44, 
    pFilename=0x8634bf0 "/tmp/kde-gh/ktechlabmo4jkb.cod", pFile=0x87134f8)
    at program_files.cc:98
#7  0x0825f7a8 in GpsimProcessor (this=0x87e6a80, symbolFile=@0xbf84dd8c, 
    parent=0x897bdc0) at gpsimprocessor.cpp:129
#8  0x08133e55 in TextDocument::slotCODCreationSucceeded (this=0x897bdc0)
    at textdocument.cpp:861
#9  0x08135b13 in TextDocument::qt_invoke (this=0x897bdc0, _id=22, 
    _o=0xbf84de28) at textdocument.moc:153
#10 0x4191f1f9 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x4191f6a0 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x0830318e in ProcessChain::successful (this=0x8998c38)
    at processchain.moc:114
#13 0x083043ec in ProcessChain::slotFinishedCompile (this=0x8998c38, 
    language=0x88cd3b0) at processchain.cpp:261
#14 0x0830724f in ProcessChain::qt_invoke (this=0x8998c38, _id=2, 
    _o=0xbf84e0b8) at processchain.moc:126
#15 0x4191f1f9 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x082ff843 in Language::processSucceeded (this=0x88cd3b0, t0=0x88cd3b0)
    at language.moc:198
#17 0x08300f72 in Language::finish (this=0x88cd3b0, successful=true)
    at language.cpp:70
#18 0x08318f40 in ExternalLanguage::processExited (this=0x88cd3b0)
    at externallanguage.cpp:101
#19 0x0831980f in ExternalLanguage::qt_invoke (this=0x88cd3b0, _id=4, 
    _o=0xbf84e264) at externallanguage.moc:101
#20 0x4191f1f9 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x414a0c22 in KProcess::processExited () 
from /opt/kde3/lib/libkdecore.so.4
#22 0x414a0c8f in KProcess::processHasExited ()
   from /opt/kde3/lib/libkdecore.so.4
#23 0x4149a860 in KProcessController::slotDoHousekeeping ()
   from /opt/kde3/lib/libkdecore.so.4
#24 0x4149a982 in KProcessController::qt_invoke ()
   from /opt/kde3/lib/libkdecore.so.4
#25 0x4191f1f9 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x4191f7d1 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x41c607d0 in QSocketNotifier::activated ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x4193e4d0 in QSocketNotifier::event () 
from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x418bfa91 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x418c0409 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x4154797e in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#32 0x418b38dd in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x4186de93 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x418d6989 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x418d6886 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x418bf3df in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x08327954 in main (argc=1, argv=0xbf84eac4) at main.cpp:57




More information about the Ktechlab-devel mailing list