[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 86646] Crash when quickly closing modified file in CPP Parser
From: David Saxton <david () bluehaze ! org>
Date: 2004-08-05 17:54:23
Message-ID: 20040805175423.4193.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=86646
------- Additional Comments From david bluehaze org 2004-08-05 19:54 -------
AFAIK, I compiled kdevelop with --debug=full (although not qt). gdb mentions a \
corrupted stack - possibly this is the reason for a bad backtrace? I can attempt a \
clean configure and rebuild, but in the meanwhile - perhaps this gdb output for \
thread 2 from the kdevelop debugger is more useful:
(gdb) backtrace
#0 0x41b38266 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#1 0x41b35745 in _L_mutex_lock_24 () from /lib/tls/libpthread.so.0
#2 0x4295b318 in __JCR_LIST__ () from /usr/lib/libkdevcppparser.so.0
#3 0x436716e8 in ?? ()
#4 0x4291fe05 in Driver::addMacro (this=0x811aba8, macro= 0x811abcc) at \
/usr/src/kde/kdecvs/kdevelop/lib/cppparser/driver.cpp:169 #5 0x416f1f64 in \
QMutex::lock () from /usr/share/qt3/lib/libqt-mt.so.3 #6 0x413ff9d4 in \
QApplication::lock () from /usr/share/qt3/lib/libqt-mt.so.3 #7 0x42814e0f in \
KDevSourceProvider::contents (this=0x897acc8, fileName= 0x43671a60) at \
/usr/src/kde/kdecvs/kdevelop/languages/cpp/backgroundparser.cpp:62 #8 0x429202ef in \
Driver::parseFile (this=0x8689178, fileName= 0x43671a60, onlyPreProcess=false, \
force=112) at /usr/src/kde/kdecvs/kdevelop/lib/cppparser/driver.cpp:243 #9 \
0x428121ac in BackgroundParser::parseFile (this=0x86a66b8, fileName= 0x43671a60, \
readFromDisk=96, lock=true) at \
/usr/src/kde/kdecvs/kdevelop/languages/cpp/backgroundparser.cpp:262 #10 0x4281285a in \
BackgroundParser::run (this=0x86a66b8) at \
/usr/src/kde/kdecvs/kdevelop/languages/cpp/backgroundparser.cpp:374 #11 0x413f14ba in \
QThreadInstance::start () from /usr/share/qt3/lib/libqt-mt.so.3 #12 0x41b339b4 in \
start_thread () from /lib/tls/libpthread.so.0 #13 0x00000000 in ?? ()
I also ran kdevelop under valgrind, which gives lots of errors regarding "Invalid \
read of size #" when accessing m_fileList in the cpp backgroundparser class (for \
example when doing "return m_file.front()". It would seem that the cpp \
backgroundparser class is attempting to access a list item that doesn't exist, and is \
crashing as a result?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic