Bug 237145 - Kdevelop crashes on startup
Summary: Kdevelop crashes on startup
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 20:19 UTC by th3flyboy
Modified: 2010-05-10 20:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description th3flyboy 2010-05-10 20:19:51 UTC
Application: kdevelop (4.0.60 (using KDevPlatform 1.0.60))
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Upon installing Kdevelop from GIT, Kdevelop crashes on startup with a segfault.

The crash can be reproduced every time.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
__lll_lock_wait_private ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7fc49c89f760 (LWP 19221))]

Thread 4 (Thread 0x7fc47921a710 (LWP 19230)):
#0  0x00007fc4975d4f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc492a8d4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fc492a8d8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fc4992d1566 in QEventDispatcherGlib::processEvents (this=0x3ef16a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fc4992a6992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fc4992a6d6c in QEventLoop::exec (this=0x7fc479219df0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fc4991b0d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fc4991b3775 in QThreadPrivate::start (arg=0x3ee2e60) at thread/qthread_unix.cpp:248
#8  0x00007fc498f239ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fc4975e169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc4731f7710 (LWP 19231)):
#0  timerSourcePrepare (source=0x42817b0, timeout=0x7fc4731f6c1c) at kernel/qeventdispatcher_glib.cpp:163
#1  0x00007fc492a8ceb1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007fc492a8d318 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fc492a8d8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007fc4992d1566 in QEventDispatcherGlib::processEvents (this=0x4281500, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007fc4992a6992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fc4992a6d6c in QEventLoop::exec (this=0x7fc4731f6db0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fc4991b0d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007fc499287178 in QInotifyFileSystemWatcherEngine::run (this=0x4280920) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc4991b3775 in QThreadPrivate::start (arg=0x4280920) at thread/qthread_unix.cpp:248
#10 0x00007fc498f239ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fc4975e169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc4729a7710 (LWP 19305)):
[KCrash Handler]
#5  KDevelop::Bucket<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, 0u>::makeDataPrivate (index=2555904, manager=<value optimized out>)
    at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/repositories/itemrepository.h:1044
#6  KDevelop::Bucket<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, 0u>::prepareChange (index=2555904, manager=<value optimized out>)
    at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/repositories/itemrepository.h:990
#7  KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, true, 0u, 1048576u>::dynamicItemFromIndexSimple (index=2555904, manager=<value optimized out>)
    at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/repositories/itemrepository.h:1805
#8  KDevelop::TypeRepository::increaseReferenceCount (index=2555904, manager=<value optimized out>)
    at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/repositories/typerepository.cpp:128
#9  0x00007fc495e8b1ce in IndexedType (this=0x7fc485ff4a82, rhs=<value optimized out>) at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/types/indexedtype.cpp:34
#10 0x00007fc4832bcd5c in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#11 0x00007fc495e9b3fa in KDevelop::AbstractTypeDataRequest::createItem (this=0x7fc4729a5450, item=0x7fc485ff4a52)
    at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/repositories/typerepository.cpp:50
#12 0x00007fc495e9e82d in KDevelop::Bucket<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, 0u>::index (this=0x7fc484cc8ae0, request=<value optimized out>)
    at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/repositories/itemrepository.h:518
#13 KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, true, 0u, 1048576u>::index (this=0x7fc484cc8ae0, request=<value optimized out>)
    at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/repositories/itemrepository.h:1496
#14 0x00007fc495e98bbb in KDevelop::TypeRepository::indexForType (input=) at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/repositories/typerepository.cpp:102
#15 0x00007fc495e84b70 in KDevelop::AbstractType::indexed (this=0x27) at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/types/abstracttype.cpp:101
#16 0x00007fc495e85b4c in KDevelop::FunctionType::setReturnType (this=0x7fc485ff43f0, returnType=<value optimized out>)
    at /home/pciii/development/programs/kdevelop/master/kdevplatform/language/duchain/types/functiontype.cpp:108
#17 0x00007fc4770606c3 in Php::TypeBuilder::openFunctionType(Php::AstNode*) () from /usr/lib/libkdev4phpduchain.so
#18 0x00007fc4770608c0 in Php::TypeBuilder::visitClassStatement(Php::ClassStatementAst*) () from /usr/lib/libkdev4phpduchain.so
#19 0x00007fc477051a1b in Php::DeclarationBuilder::visitClassStatement(Php::ClassStatementAst*) () from /usr/lib/libkdev4phpduchain.so
#20 0x00007fc476e0440d in Php::DefaultVisitor::visitClassBody(Php::ClassBodyAst*) () from /usr/lib/libkdev4phpparser.so
#21 0x00007fc477057322 in Php::ContextBuilder::visitClassDeclarationStatement(Php::ClassDeclarationStatementAst*) () from /usr/lib/libkdev4phpduchain.so
#22 0x00007fc477053c84 in Php::DeclarationBuilder::visitClassDeclarationStatement(Php::ClassDeclarationStatementAst*) () from /usr/lib/libkdev4phpduchain.so
#23 0x00007fc476e057f0 in Php::DefaultVisitor::visitTopStatement(Php::TopStatementAst*) () from /usr/lib/libkdev4phpparser.so
#24 0x00007fc47704aae2 in Php::DeclarationBuilder::visitTopStatement(Php::TopStatementAst*) () from /usr/lib/libkdev4phpduchain.so
#25 0x00007fc476e04dbd in Php::DefaultVisitor::visitInnerStatementList(Php::InnerStatementListAst*) () from /usr/lib/libkdev4phpparser.so
#26 0x00007fc477056ac5 in Php::ContextBuilder::startVisiting(Php::AstNode*) () from /usr/lib/libkdev4phpduchain.so
#27 0x00007fc47704b0f3 in Php::DeclarationBuilder::supportBuild(Php::AstNode*, KDevelop::DUContext*) () from /usr/lib/libkdev4phpduchain.so
#28 0x00007fc4770556ec in ?? () from /usr/lib/libkdev4phpduchain.so
#29 0x00007fc477054129 in Php::DeclarationBuilder::build(KDevelop::IndexedString const&, Php::AstNode*, KDevelop::ReferencedTopDUContext, bool) () from /usr/lib/libkdev4phpduchain.so
#30 0x00007fc4772ba65f in ?? () from /usr/lib/kde4/kdevphplanguagesupport.so
#31 0x00007fc49ad108dd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fc4729a6d70, th=0x3ea4540, job=0x487f4c0) at ../../../threadweaver/Weaver/Job.cpp:106
#32 0x00007fc49ad10bde in ThreadWeaver::Job::execute (this=0x487f4c0, th=0x3ea4540) at ../../../threadweaver/Weaver/Job.cpp:135
#33 0x00007fc49ad0fbcf in ThreadWeaver::ThreadRunHelper::run (this=0x7fc4729a6e00, parent=0x2d102b0, th=0x3ea4540) at ../../../threadweaver/Weaver/Thread.cpp:95
#34 0x00007fc49ad10168 in ThreadWeaver::Thread::run (this=0x3ea4540) at ../../../threadweaver/Weaver/Thread.cpp:142
#35 0x00007fc4991b3775 in QThreadPrivate::start (arg=0x3ea4540) at thread/qthread_unix.cpp:248
#36 0x00007fc498f239ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#37 0x00007fc4975e169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#38 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc49c89f760 (LWP 19221)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fc498f2865b in _L_lock_20 () from /lib/libpthread.so.0
#2  0x00007fc498f28409 in __pthread_cond_destroy (cond=0x2e27cb8) at pthread_cond_destroy.c:33
#3  0x00007fc4991b43f0 in ~QWaitCondition (this=0x7fc496149770, __in_chrg=<value optimized out>) at thread/qwaitcondition_unix.cpp:125
#4  0x00007fc495dba20d in ~SpinLockData (this=0x7fc496149760, __in_chrg=<value optimized out>) at /home/pciii/development/programs/kdevelop/master/kdevplatform/util/spinlock.h:36
#5  0x00007fc497534630 in __cxa_finalize (d=0x7fc496149390) at cxa_finalize.c:56
#6  0x00007fc495d98b86 in __do_global_dtors_aux () from /usr/local/lib/libkdevplatformlanguage.so.2
#7  0x0000000000000000 in ?? ()

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-05-10 20:34:01 UTC
You're using kdevelop plugins (php at least) from packages with a self-compiled kdevelop, thats not possible. You need to remove one of the two.