Odd crash (is it CppSupportPart or ProblemReporter at fault?)

Matthew Woehlke mw_triad at users.sourceforge.net
Thu Dec 14 00:40:53 UTC 2006


Matthew Woehlke wrote:
> Boom! And hopefully a "Eureka!". KDevelop just broke again... This one 
> is more clearly in ProblemReporter (which is what I've been blaming the 
> whole time). Here is the initial backtrace (and some stdout):

Ok, I'm starting to wonder if this is KDevelop at all (although I wasn't 
seeing this in any of the beta's, and honestly I can't say I've ever 
seen this many problems outside of tinkering with plastik). Here's the 
latest:

> kdevelop (cpp support): /usr/local/src/kde-3.5.5/kdelibs-3.5.5/kstyles/plastik/plastik.cpp---> file added to background-parser by problem-reporter
> kdecore (KAccel): KAccelPrivate::eventFilter( AccelOverride ): this = 0xe9b63c0, key = Shift+Return
> kdevelop (cpp support): lexing file /usr/local/src/kde-3.5.5/kdelibs-3.5.5/kstyles/plastik/plastik.cpp
> *** glibc detected *** malloc(): memory corruption (fast): 0x13d02dd7 ***
> 
> Program received signal SIGABRT, Aborted.
> [Switching to Thread -1208113472 (LWP 14586)]
> 0x0049f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> (gdb) bt
> #0  0x0049f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> #1  0x08c5e7d5 in raise () from /lib/tls/libc.so.6
> #2  0x08c60149 in abort () from /lib/tls/libc.so.6
> #3  0x08c9227a in __libc_message () from /lib/tls/libc.so.6
> #4  0x08c99994 in _int_malloc () from /lib/tls/libc.so.6
> #5  0x08c9af01 in malloc () from /lib/tls/libc.so.6
> #6  0x00cc0357 in operator new () from /usr/lib/libstdc++.so.6
> #7  0x075d8c0e in QGArray::newData () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> #8  0x075d8d2b in QGArray::QGArray$base () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> #9  0x075cb4fe in QCString::QCString () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> #10 0x07b89e30 in KConfigBase::readEntryUtf8 (this=0x9fe7968, pKey=0x13d02cb8 "InfoOutput") at kconfigbase.cpp:323
> #11 0x07b8b236 in KConfigBase::readNumEntry (this=0x9fe7968, pKey=0x13d02cb8 "InfoOutput", nDefault=2) at kconfigbase.cpp:588
> #12 0x07b8b1f2 in KConfigBase::readNumEntry (this=0x9fe7968, pKey=@0xbfe34050, nDefault=2) at kconfigbase.cpp:583
> #13 0x07b787f9 in kDebugBackend (nLevel=0, nArea=125, data=0x13d013a8 "KAccelPrivate::eventFilter( AccelOverride ): this = 0xe9b2830, key = Shift+Return\n") at kdebug.cpp:241
> #14 0x07b7903e in kdbgstream::flush (this=0xbfe341b0) at kdebug.cpp:336
> #15 0x0804f066 in kdbgstream::operator<< (this=0xbfe341b0, string=0x8053e4a "\n") at /usr/local/kde-3.5/include/kdebug.h:232
> #16 0x0804f1b4 in endl (s=@0xbfe341b0) at /usr/local/kde-3.5/include/kdebug.h:430
> #17 0x0804efb4 in kdbgstream::operator<< (this=0xbfe341b0, f=0x804f19e <endl(kdbgstream&)>) at /usr/local/kde-3.5/include/kdebug.h:260
> #18 0x07bec96a in KAccelPrivate::eventFilter (this=0xe9b2830, pEvent=0xbfe345b0) at kaccel.cpp:350
> #19 0x0732da22 in QObject::activate_filters () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> #20 0x0732dadb in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> #21 0x07365e3a in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> #22 0x072d18f9 in QApplication::internalNotify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> #23 0x072d1f0c in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> #24 0x07b64460 in KApplication::notify (this=0xbfe34b60, receiver=0xe8e1488, event=0xbfe345b0) at kapplication.cpp:550
> #25 0x001974df in QApplication::sendEvent (receiver=0xe8e1488, event=0xbfe345b0) at /usr/lib/qt-3.3/include/qapplication.h:515
> #26 0x07beb853 in KAccelEventHandler::x11Event (this=0xa005820, pEvent=0xbfe349d0) at kaccel.cpp:144
> #27 0x07b7312b in KAppX11HackWidget::publicx11Event (this=0xa005820, e=0xbfe349d0) at kapplication.cpp:1651
> #28 0x07b69288 in KApplication::x11EventFilter (this=0xbfe34b60, _event=0xbfe349d0) at kapplication.cpp:1721
> #29 0x07261b01 in qt_set_x11_event_filter () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> #30 0xbfe349d0 in ?? ()
> #31 0x07266c77 in QETWidget::translateKeyEventInternal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> #32 0x08054f60 in typeinfo name for ShellExtension ()
> #33 0x09faf8d8 in ?? ()
> #34 0x00000000 in ?? ()

...no sign of ProblemReporter this time. Looks like it's time to run 
under valgrind. Won't *that* be fun.

So now I have limited the problem to:
- KDevelop
- KDE
- Qt
- the kernel
- something else?

...any guesses? :-)

(And FWIW I still have the previous crashed process "alive" in gdb.)

-- 
Matthew
"unsubscribe me plz!!" -- Newbies





More information about the KDevelop-devel mailing list