Bug 294741 - kdevelop crashes when parsing big project
Summary: kdevelop crashes when parsing big project
Status: RESOLVED DUPLICATE of bug 291248
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-24 12:00 UTC by tisi sit
Modified: 2012-02-24 12:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tisi sit 2012-02-24 12:00:36 UTC
Application: kdevelop (4.3.60)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.4
Operating System: Linux 2.6.41.10-3.fc15.i686.PAE i686
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
- What I was doing when the application crashed:

I didn't do anything special. I just started the kdevelop, and let it parse the opened project.

This is the output I saw :
kdevelop: Fatal IO error: client killed
FunctionDeclarationData::m_defaultParameters There were items left on destruction: 4510
ClassFunctionDeclarationData::m_defaultParameters There were items left on destruction: 15220
DUContextData::m_uses There were items left on destruction: 31267
SpecialTemplateDeclarationData::m_specializations There were items left on destruction: 6724
ClassDeclarationData::baseClasses There were items left on destruction: 6811
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/vladimir/.kde/socket-thuja/kdeinit4__0
QSocketNotifier: Invalid socket 35 and type 'Read', disabling...

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76f3780 (LWP 16458))]

Thread 10 (Thread 0xb1c4cb70 (LWP 16459)):
#0  0x00f97424 in __kernel_vsyscall ()
#1  0x48d094f4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x493b8f7f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x001b327a in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9298d88) at /sandbox/vladimir/temp/kdevelop/src/kdevplatform/language/duchain/duchain.cpp:282
#4  0x493b8ae4 in ?? () from /usr/lib/libQtCore.so.4
#5  0x48d05a2e in start_thread () from /lib/libpthread.so.0
#6  0x48c1f89e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb08ffb70 (LWP 16462)):
#0  0x48d44c60 in clock_gettime () from /lib/librt.so.1
#1  0x494106a6 in ?? () from /usr/lib/libQtCore.so.4
#2  0x494e3a87 in ?? () from /usr/lib/libQtCore.so.4
#3  0x494e3deb in ?? () from /usr/lib/libQtCore.so.4
#4  0x494e2673 in ?? () from /usr/lib/libQtCore.so.4
#5  0x494e270d in ?? () from /usr/lib/libQtCore.so.4
#6  0x48da4b5c in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x48da59d8 in ?? () from /lib/libglib-2.0.so.0
#8  0x48da606f in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x494e3177 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x494b3e1e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x494b4071 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x493b5bac in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x002b7a06 in KDevelop::CompletionWorkerThread::run (this=0x9465e68) at /sandbox/vladimir/temp/kdevelop/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84
#14 0x493b8ae4 in ?? () from /usr/lib/libQtCore.so.4
#15 0x48d05a2e in start_thread () from /lib/libpthread.so.0
#16 0x48c1f89e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb00feb70 (LWP 16463)):
#0  0x00f97424 in __kernel_vsyscall ()
#1  0x48c151de in poll () from /lib/libc.so.6
#2  0x48db4aac in g_poll () from /lib/libglib-2.0.so.0
#3  0x48da5c36 in ?? () from /lib/libglib-2.0.so.0
#4  0x48da606f in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x494e3177 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x494b3e1e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x494b4071 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x493b5bac in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x002b7a06 in KDevelop::CompletionWorkerThread::run (this=0x94665a8) at /sandbox/vladimir/temp/kdevelop/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84
#10 0x493b8ae4 in ?? () from /usr/lib/libQtCore.so.4
#11 0x48d05a2e in start_thread () from /lib/libpthread.so.0
#12 0x48c1f89e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xac577b70 (LWP 16468)):
#0  0x00f97424 in __kernel_vsyscall ()
#1  0x48d0914c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4c177ed1 in ?? () from /usr/lib/libQtScript.so.4
#3  0x4c177f10 in ?? () from /usr/lib/libQtScript.so.4
#4  0x48d05a2e in start_thread () from /lib/libpthread.so.0
#5  0x48c1f89e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xab7e4b70 (LWP 16484)):
#0  0x00f97424 in __kernel_vsyscall ()
#1  0x48c151de in poll () from /lib/libc.so.6
#2  0x48db4aac in g_poll () from /lib/libglib-2.0.so.0
#3  0x48da5c36 in ?? () from /lib/libglib-2.0.so.0
#4  0x48da606f in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x494e3177 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x494b3e1e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x494b4071 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x493b5bac in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x4949441e in ?? () from /usr/lib/libQtCore.so.4
#10 0x493b8ae4 in ?? () from /usr/lib/libQtCore.so.4
#11 0x48d05a2e in start_thread () from /lib/libpthread.so.0
#12 0x48c1f89e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xaadffb70 (LWP 16510)):
#0  0x00f97424 in __kernel_vsyscall ()
#1  0x48d0914c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4e0f87e0 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x4e0f88c0 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x48d05a2e in start_thread () from /lib/libpthread.so.0
#5  0x48c1f89e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa952cb70 (LWP 16511)):
#0  0x48d44c60 in clock_gettime () from /lib/librt.so.1
#1  0x494106a6 in ?? () from /usr/lib/libQtCore.so.4
#2  0x494e3a87 in ?? () from /usr/lib/libQtCore.so.4
#3  0x494e36be in ?? () from /usr/lib/libQtCore.so.4
#4  0x48da524c in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x48da5c90 in ?? () from /lib/libglib-2.0.so.0
#6  0x48da606f in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x494e3177 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x494b3e1e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x494b4071 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x493b5bac in QThread::exec() () from /usr/lib/libQtCore.so.4
#11 0x493b5c9c in QThread::run() () from /usr/lib/libQtCore.so.4
#12 0x493b8ae4 in ?? () from /usr/lib/libQtCore.so.4
#13 0x48d05a2e in start_thread () from /lib/libpthread.so.0
#14 0x48c1f89e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa88bfb70 (LWP 16596)):
#0  0x00f97424 in __kernel_vsyscall ()
#1  0x48d0914c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x493b8ff8 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x4e7b1a77 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x4e7b463c in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x4e7b169b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x4e7b474c in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x4e7b15f4 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x4e7b4768 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x4e7b15f4 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x4e7b31f4 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x4e7b32bb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0x493b8ae4 in ?? () from /usr/lib/libQtCore.so.4
#13 0x48d05a2e in start_thread () from /lib/libpthread.so.0
#14 0x48c1f89e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa7effb70 (LWP 16597)):
[KCrash Handler]
#7  QVector<Token>::realloc (this=0xda4bd60, asize=16777215, aalloc=33554431) at /usr/include/QtCore/qvector.h:491
#8  0x01501921 in QVector<Token>::append (this=0xda4bd60, t=...) at /usr/include/QtCore/qvector.h:549
#9  0x0150123a in Lexer::tokenize (this=0xa7efecf8, _session=0xdf5a4e8) at /sandbox/vladimir/temp/kdevelop/src/kdevelop/languages/cpp/parser/lexer.cpp:315
#10 0x015135d3 in Parser::parse (this=0xa7efecf0, _session=0xdf5a4e8) at /sandbox/vladimir/temp/kdevelop/src/kdevelop/languages/cpp/parser/parser.cpp:202
#11 0x0143b563 in CPPInternalParseJob::run (this=<optimized out>) at /sandbox/vladimir/temp/kdevelop/src/kdevelop/languages/cpp/cppparsejob.cpp:560
#12 0x0143e560 in CPPInternalParseJob::run (this=0xe909fa0) at /sandbox/vladimir/temp/kdevelop/src/kdevelop/languages/cpp/cppparsejob.cpp:423
#13 0x4e7b3b8e in ?? () from /usr/lib/libthreadweaver.so.4
#14 0x4e7b3cf5 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#15 0x4e7b52d6 in ?? () from /usr/lib/libthreadweaver.so.4
#16 0x4e7b31c2 in ?? () from /usr/lib/libthreadweaver.so.4
#17 0x4e7b32bb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#18 0x493b8ae4 in ?? () from /usr/lib/libQtCore.so.4
#19 0x48d05a2e in start_thread () from /lib/libpthread.so.0
#20 0x48c1f89e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb76f3780 (LWP 16458)):
#0  0x00f97424 in __kernel_vsyscall ()
#1  0x48d0914c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x493b8ff8 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x493b8795 in QThread::wait(unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x49486ab6 in QFileSystemWatcher::~QFileSystemWatcher() () from /usr/lib/libQtCore.so.4
#5  0x49486b83 in QFileSystemWatcher::~QFileSystemWatcher() () from /usr/lib/libQtCore.so.4
#6  0x494c7f92 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#7  0x494cd8a9 in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#8  0x4b6c953c in ?? () from /usr/lib/libsolid.so.4
#9  0x4b6c9573 in ?? () from /usr/lib/libsolid.so.4
#10 0x4b6c93d3 in ?? () from /usr/lib/libsolid.so.4
#11 0x4b64c7fa in ?? () from /usr/lib/libsolid.so.4
#12 0x48b77741 in __run_exit_handlers () from /lib/libc.so.6
#13 0x48b777cd in exit () from /lib/libc.so.6
#14 0x497b90d9 in ?? () from /usr/lib/libQtGui.so.4
#15 0x4afad60a in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#16 0x4afad645 in ?? () from /usr/lib/libkdeui.so.5
#17 0x48ebd075 in _XIOError () from /usr/lib/libX11.so.6
#18 0x48eba7cf in _XEventsQueued () from /usr/lib/libX11.so.6
#19 0x48eab0b8 in XEventsQueued () from /usr/lib/libX11.so.6
#20 0x497f4af6 in ?? () from /usr/lib/libQtGui.so.4
#21 0x48da524c in g_main_context_check () from /lib/libglib-2.0.so.0
#22 0x48da5c90 in ?? () from /lib/libglib-2.0.so.0
#23 0x48da606f in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x494e3177 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x497f4cab in ?? () from /usr/lib/libQtGui.so.4
#26 0x494b3e1e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x494b4071 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x494b87cb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0x4973df45 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#30 0x080528d7 in main (argc=<optimized out>, argv=0xbfca5e14) at /sandbox/vladimir/temp/kdevelop/src/kdevelop/app/main.cpp:479

This bug may be a duplicate of or related to bug 291248.

Possible duplicates by query: bug 291248.

Reported using DrKonqi
Comment 1 Milian Wolff 2012-02-24 12:34:20 UTC

*** This bug has been marked as a duplicate of bug 291248 ***