Bug 272949

Summary: KDevelop crash on start if kdevelop-php-docs installed
Product: [Applications] kdevelop Reporter: goldetsky
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: 4.2.0   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description goldetsky 2011-05-10 15:41:26 UTC
Application: kdevelop (4.0.1 (using KDevPlatform 1.0.1))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux 6.0.1 (squeeze)

-- Information about the crash:
KDevelop crash on start if kdevelop-php-docs package installed, crash appear after version update, if kdevelop-php-docs not installed or package are removed no crash apper.

Additionally installed (maybe relevated) package - kdevelop-php

The crash can be reproduced every time.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Aborted
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f6da1d6c760 (LWP 1265))]

Thread 8 (Thread 0x7f6d8cf8d700 (LWP 1266)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f6da050ddd2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f6d9c161a2e in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#3  0x00007f6da050ce15 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f6d9a19e8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f6d9f1fe02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f6d8559d700 (LWP 1268)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6da050de6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f6d9714ce56 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f6d9714f6fb in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f6d9714dc7f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f6d9714e1d8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f6da050ce15 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f6d9a19e8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f6d9f1fe02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f6d84d9c700 (LWP 1270)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6da050de6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f6d9714ce56 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f6d9714f6fb in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f6d9714dc7f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f6d9714e1d8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f6da050ce15 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f6d9a19e8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f6d9f1fe02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6d76bc5700 (LWP 1273)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f6d9f1a7458 in _L_lock_9590 () from /lib/libc.so.6
#2  0x00007f6d9f1a5841 in *__GI___libc_free (mem=0x7f6d9f48be40) at malloc.c:3737
#3  0x00007f6d998e9fea in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f6da0626193 in QEventDispatcherGlib::~QEventDispatcherGlib() () from /usr/lib/libQtCore.so.4
#5  0x00007f6da050ca04 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f6da050ce1d in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f6d9a19e8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f6d9f1fe02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6d773c6700 (LWP 1295)):
#0  0x00007f6d9f1f3113 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6d998ee2c9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f6d998ee71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f6da0625706 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f6da05fa9c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f6da05fad9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f6da050a77b in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f6da050ce15 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f6d9a19e8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f6d9f1fe02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6d731f3700 (LWP 1331)):
[KCrash Handler]
#5  0x00007f6d9f161165 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f6d9f163f70 in *__GI_abort () at abort.c:92
#7  0x00007f6d9f19727b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f6d9f1a0ad6 in malloc_printerr (action=3, str=0x7f6d9f254bd0 "malloc(): memory corruption", ptr=<value optimized out>) at malloc.c:6267
#9  0x00007f6d9f1a3b6d in _int_malloc (av=0x7f6d80000020, bytes=<value optimized out>) at malloc.c:4396
#10 0x00007f6d9f1a5930 in *__GI___libc_malloc (bytes=95) at malloc.c:3661
#11 0x00007f6d9f19721b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:138
#12 0x00007f6d9f1a0ad6 in malloc_printerr (action=3, str=0x7f6d9f254b75 "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6267
#13 0x00007f6d9f1a584c in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3739
#14 0x00007f6d8b7a6d96 in KDevelop::TypeFactory<KDevelop::UnsureType, KDevelop::UnsureTypeData>::callDestructor(KDevelop::AbstractTypeData*) const () from /usr/local/lib/libkdevplatformlanguage.so.2
#15 0x00007f6d9c205210 in KDevelop::AbstractType::~AbstractType() () from /usr/lib/libkdevplatformlanguage.so.1
#16 0x00007f6d9c212ca7 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#17 0x00007f6d74c53fb3 in ?? () from /usr/lib/libkdev4phpduchain.so
#18 0x00007f6d74c535c8 in Php::TypeBuilder::visitClassStatement(Php::ClassStatementAst*) () from /usr/lib/libkdev4phpduchain.so
#19 0x00007f6d74c43b7b in Php::DeclarationBuilder::visitClassStatement(Php::ClassStatementAst*) () from /usr/lib/libkdev4phpduchain.so
#20 0x00007f6d749f761d in Php::DefaultVisitor::visitClassBody(Php::ClassBodyAst*) () from /usr/lib/libkdev4phpparser.so
#21 0x00007f6d74c49722 in Php::ContextBuilder::visitClassDeclarationStatement(Php::ClassDeclarationStatementAst*) () from /usr/lib/libkdev4phpduchain.so
#22 0x00007f6d74c45de4 in Php::DeclarationBuilder::visitClassDeclarationStatement(Php::ClassDeclarationStatementAst*) () from /usr/lib/libkdev4phpduchain.so
#23 0x00007f6d749f8a00 in Php::DefaultVisitor::visitTopStatement(Php::TopStatementAst*) () from /usr/lib/libkdev4phpparser.so
#24 0x00007f6d74c3ce62 in Php::DeclarationBuilder::visitTopStatement(Php::TopStatementAst*) () from /usr/lib/libkdev4phpduchain.so
#25 0x00007f6d749f7fcd in Php::DefaultVisitor::visitInnerStatementList(Php::InnerStatementListAst*) () from /usr/lib/libkdev4phpparser.so
#26 0x00007f6d74c48ec5 in Php::ContextBuilder::startVisiting(Php::AstNode*) () from /usr/lib/libkdev4phpduchain.so
#27 0x00007f6d74c3dd63 in Php::DeclarationBuilder::supportBuild(Php::AstNode*, KDevelop::DUContext*) () from /usr/lib/libkdev4phpduchain.so
#28 0x00007f6d74c47aec in ?? () from /usr/lib/libkdev4phpduchain.so
#29 0x00007f6d74c46529 in Php::DeclarationBuilder::build(KDevelop::IndexedString const&, Php::AstNode*, KDevelop::ReferencedTopDUContext, bool) () from /usr/lib/libkdev4phpduchain.so
#30 0x00007f6d74eaabfd in ?? () from /usr/lib/kde4/kdevphplanguagesupport.so
#31 0x00007f6d9714e935 in ?? () from /usr/lib/libthreadweaver.so.4
#32 0x00007f6d9714ec2e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#33 0x00007f6d9714dc4f in ?? () from /usr/lib/libthreadweaver.so.4
#34 0x00007f6d9714e1d8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#35 0x00007f6da050ce15 in ?? () from /usr/lib/libQtCore.so.4
#36 0x00007f6d9a19e8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#37 0x00007f6d9f1fe02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#38 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7f6d729f2700 (LWP 1332)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6da050de6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f6da0508d07 in QReadWriteLock::lockForRead() () from /usr/lib/libQtCore.so.4
#3  0x00007f6d74eaaf85 in ?? () from /usr/lib/kde4/kdevphplanguagesupport.so
#4  0x00007f6d9714e935 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f6d9714ec2e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#6  0x00007f6d9714dc4f in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f6d9714e1d8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007f6da050ce15 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f6d9a19e8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f6d9f1fe02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7f6da1d6c760 (LWP 1265)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6da050c563 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f6da0507e05 in QMutex::lock() () from /usr/lib/libQtCore.so.4
#3  0x00007f6d8b7926e1 in KDevelop::TemporaryDataManager<KDevVarLengthArray<KDevelop::IndexedType, 10>, true>::free (this=0x7f6d81e61100, __in_chrg=<value optimized out>)
    at /home/goldetsky/.src/kdevplatform/language/duchain/./appendedlist.h:155
#4  ~TemporaryDataManager (this=0x7f6d81e61100, __in_chrg=<value optimized out>) at /home/goldetsky/.src/kdevplatform/language/duchain/./appendedlist.h:74
#5  0x00007f6d8b7a6297 in destroy () at /home/goldetsky/.src/kdevplatform/language/duchain/types/unsuretype.cpp:24
#6  0x00007f6d9f1655e2 in __run_exit_handlers (status=1, listp=0x7f6d9f48a4a8, run_list_atexit=true) at exit.c:78
#7  0x00007f6d9f165635 in *__GI_exit (status=-2115484852) at exit.c:100
#8  0x00007f6d9fa12e68 in ?? () from /usr/lib/libQtGui.so.4
#9  0x00007f6da0b451c8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#10 0x00007f6d9ac1ac9e in _XIOError () from /usr/lib/libX11.so.6
#11 0x00007f6d9ac22095 in ?? () from /usr/lib/libX11.so.6
#12 0x00007f6d9ac22987 in _XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007f6d9ac0b2ef in XEventsQueued () from /usr/lib/libX11.so.6
#14 0x00007f6d9fa4c35c in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007f6d998ed92a in g_main_context_check () from /lib/libglib-2.0.so.0
#16 0x00007f6d998ee2e3 in ?? () from /lib/libglib-2.0.so.0
#17 0x00007f6d998ee71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#18 0x00007f6da06256b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007f6d9fa4c19e in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f6da05fa9c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007f6da05fad9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007f6da05ffa2b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#23 0x00000000004088cf in _start ()

Possible duplicates by query: bug 272434, bug 267659, bug 255982, bug 254364, bug 253841.

Reported using DrKonqi
Comment 1 goldetsky 2011-05-16 11:54:34 UTC
Update to wheezy resolve problem.