Crash while debugging

Tarjei Knapstad tarjeik at chemcon.no
Wed Jan 22 10:15:46 GMT 2003


KDevelop segfaulted on me today when I was debugging. I had 5 or 6
breaks set and was "Continuing" through my code when the crash occured.
I'm using KDevelop 2.1.4 on RedHat 8.0. Stack backtrace:

#0  0x420ae169 in wait4 () from /lib/i686/libc.so.6
#1  0x4212a2d0 in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x4130bc63 in waitpid () from /lib/i686/libpthread.so.0
#3  0x40a201e5 in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#4  <signal handler called>
#5  0x420791b7 in strchr () from /lib/i686/libc.so.6
#6  0x08adb853 in ?? ()
#7  0x400aaba9 in GDBController::parseBacktraceList(char*)
(this=0x87c7650, 
    buf=0xfffffe00 <Address 0xfffffe00 out of bounds>) at
gdbcontroller.cpp:809
#8  0x400ab620 in GDBController::parseCmdBlock(char*) (this=0x87c7650, 
    buf=0x8adb322 "Cannot access memory at address 0xad27f6c")
    at gdbcontroller.cpp:1024
#9  0x400ab860 in GDBController::parse(char*) (this=0x87c7650, 
    buf=0x8adb320 "\032tCannot access memory at address 0xad27f6c")
    at gdbcontroller.cpp:1106
#10 0x400ae370 in GDBController::slotDbgStdout(KProcess*, char*, int) (
    this=0x87c7650, buf=0xfffffe00 <Address 0xfffffe00 out of bounds>, 
    buflen=266) at gdbcontroller.cpp:1661
#11 0x400af388 in GDBController::qt_invoke(int, QUObject*)
(this=0x87c7650, 
    _id=-1073746736, _o=0xbfffecd0)
    at /usr/lib/qt3-gcc3.2/include/private/qucom_p.h:389
#12 0x40dd0d6b in QObject::activate_signal(QConnectionList*, QUObject*)
()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#13 0x409e5d99 in KProcess::receivedStdout(KProcess*, char*, int) ()
   from /usr/lib/libkdecore.so.4
#14 0x409e4808 in KProcess::childOutput(int) () from
/usr/lib/libkdecore.so.4
#15 0x409e4609 in KProcess::slotChildOutput(int) ()
   from /usr/lib/libkdecore.so.4
#16 0x409e60f9 in KProcess::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkdecore.so.4
#17 0x40dd0d6b in QObject::activate_signal(QConnectionList*, QUObject*)
()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#18 0x40dd0e35 in QObject::activate_signal(int, int) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#19 0x410987e2 in QSocketNotifier::activated(int) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#20 0x40dec5e0 in QSocketNotifier::event(QEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#21 0x40d7cc49 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#22 0x40d7c4f1 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#23 0x409b49c6 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#24 0x40d1cf11 in sn_activate() () from
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#25 0x40d1d325 in QApplication::processNextEvent(bool) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#26 0x40d7e280 in QApplication::enter_loop() ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#27 0x40d1d02d in QApplication::exec() ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#28 0x0812074e in main ()
#29 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6

Seems like illegal access through a pointer in debugger.cpp, but I
didn't yet investigate that code.

I'm aware that you're no longer working on the 2.x series of KDevelop,
I'm just reporting this in case the same problem still exists in Gideon.

Regards,
--
Tarjei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20030122/6ef54d59/attachment.sig>


More information about the KDevelop mailing list