Bug 237280 - KDevelop crash on statup
Summary: KDevelop crash on statup
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 20:14 UTC by Rick Wagner
Modified: 2010-05-11 22:18 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 Rick Wagner 2010-05-11 20:14:38 UTC
Application: kdevelop (4.0.60 (using KDevPlatform 1.0.60))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.11-99.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
kdevelop lost project from project list while editing.  Closed kdevelop.  On restart, got the attached crash.  Now will not start at all, always giving this crash.

Tried removing the existing project .kdevses and creating a new session (-cs xxx), but still always crashes.


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
97	2:	movl	%edx, %eax
[Current thread is 1 (Thread 0x7f0952599840 (LWP 19271))]

Thread 3 (Thread 0x7f0939fd9710 (LWP 19281)):
#0  0x00000034640d5193 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000346683ca0c in g_main_context_poll (context=0x7f092c0009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x7f092c0009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x000000346683cd4a in IA__g_main_context_iteration (context=0x7f092c0009b0, may_block=1) at gmain.c:2654
#4  0x000000346f57d0b6 in QEventDispatcherGlib::processEvents (this=0x7f092c0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x000000346f556192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000346f55645c in QEventLoop::exec (this=0x7f0939fd8d40, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000346f46e8d9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x000000346f4709a5 in QThreadPrivate::start (arg=0x2a0b2a0) at thread/qthread_unix.cpp:248
#9  0x0000003464806a3a in start_thread (arg=0x7f0939fd9710) at pthread_create.c:297
#10 0x00000034640de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f093a9da710 (LWP 19308)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f0952fcaff0 in makeDataPrivate (index=7602176, manager=<value optimized out>) at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/repositories/itemrepository.h:1052
#7  prepareChange (index=7602176, manager=<value optimized out>) at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/repositories/itemrepository.h:990
#8  dynamicItemFromIndexSimple (index=7602176, manager=<value optimized out>) at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/repositories/itemrepository.h:1805
#9  KDevelop::TypeRepository::increaseReferenceCount (index=7602176, manager=<value optimized out>) at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/repositories/typerepository.cpp:128
#10 0x00007f0952fbf47e in KDevelop::IndexedType::IndexedType (this=0x7f092625d486, rhs=<value optimized out>) at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/types/indexedtype.cpp:34
#11 0x00007f09384eea9c in KDevelop::TypeFactory<KDevelop::UnsureType, KDevelop::UnsureTypeData>::copy(KDevelop::AbstractTypeData const&, KDevelop::AbstractTypeData&, bool) const ()
   from /home/rwagner/src/kde4/usr/lib64/libkdevplatformlanguage.so.1
#12 0x00007f0952fcdd1a in KDevelop::AbstractTypeDataRequest::createItem (this=0x7f093a9d8390, item=0x7f092625d3e2)
    at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/repositories/typerepository.cpp:50
#13 0x00007f0952fd09a5 in index (this=<value optimized out>, request=<value optimized out>) at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/repositories/itemrepository.h:518
#14 KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, true, 0u, 1048576u>::index (this=<value optimized out>, request=<value optimized out>)
    at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/repositories/itemrepository.h:1496
#15 0x00007f0952fcb1db in KDevelop::TypeRepository::indexForType (input=...) at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/repositories/typerepository.cpp:102
#16 0x00007f0952fb99a0 in KDevelop::AbstractType::indexed (this=<value optimized out>) at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/types/abstracttype.cpp:101
#17 0x00007f0952fba5fc in KDevelop::FunctionType::setReturnType (this=0x7f092625c860, returnType=<value optimized out>)
    at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/types/functiontype.cpp:108
#18 0x00007f09339958e3 in Php::TypeBuilder::openFunctionType (this=0x7f093a9d9200, node=0x7f09243b9d98)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/duchain/builders/typebuilder.cpp:266
#19 0x00007f0933995ae0 in Php::TypeBuilder::visitClassStatement (this=0x7f093a9d9200, node=0x7f09243b9d98)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/duchain/builders/typebuilder.cpp:296
#20 0x00007f093398801b in Php::DeclarationBuilder::visitClassStatement (this=0x7f093a9d9200, node=0x7f09243b9d98)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/duchain/builders/declarationbuilder.cpp:339
#21 0x00007f093373b67d in Php::DefaultVisitor::visitClassBody (this=0x7f093a9d9260, node=<value optimized out>)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/parser/generated/phpdefaultvisitor.cpp:199
#22 0x00007f093398dc72 in Php::ContextBuilder::visitClassDeclarationStatement (this=0x7f093a9d9200, node=0x7f09243b70b8)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/duchain/builders/contextbuilder.cpp:202
#23 0x00007f0933987534 in Php::DeclarationBuilder::visitClassDeclarationStatement (this=0x7f093a9d9200, node=0x7f09243b70b8)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/duchain/builders/declarationbuilder.cpp:167
#24 0x00007f093373ca60 in Php::DefaultVisitor::visitTopStatement (this=0x7f093a9d9260, node=0x7f09243b7078)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/parser/generated/phpdefaultvisitor.cpp:899
#25 0x00007f0933981992 in Php::DeclarationBuilder::visitTopStatement (this=0x7f093a9d9200, node=0x7f09243b7078)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/duchain/builders/declarationbuilder.cpp:608
#26 0x00007f093373c02d in Php::DefaultVisitor::visitInnerStatementList (this=0x7f093a9d9260, node=<value optimized out>)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/parser/generated/phpdefaultvisitor.cpp:534
#27 0x00007f093398d7f5 in Php::ContextBuilder::startVisiting (this=0x7f093a9d9200, node=0x7f0924002ba0)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/duchain/builders/contextbuilder.cpp:120
#28 0x00007f0933982c03 in supportBuild (this=0x7f093a9d9200, node=0x7f0924002ba0, context=<value optimized out>)
    at /home/rwagner/src/kde4/usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:203
#29 supportBuild (this=0x7f093a9d9200, node=0x7f0924002ba0, context=<value optimized out>) at /home/rwagner/src/kde4/usr/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85
#30 Php::DeclarationBuilder::supportBuild (this=0x7f093a9d9200, node=0x7f0924002ba0, context=<value optimized out>)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/duchain/builders/declarationbuilder.cpp:1082
#31 0x00007f093398c4dc in KDevelop::AbstractContextBuilder<Php::AstNode, Php::IdentifierAst>::build(KDevelop::IndexedString const&, Php::AstNode*, KDevelop::ReferencedTopDUContext, bool) ()
   from /home/rwagner/src/kde4/usr/lib64/libkdev4phpduchain.so
#32 0x00007f09339879d9 in Php::DeclarationBuilder::build (this=0x7f093a9d9200, url=..., node=<value optimized out>, updateContext=..., useSmart=240)
    at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/duchain/builders/declarationbuilder.cpp:136
#33 0x00007f0933bef7d7 in Php::ParseJob::run (this=<value optimized out>) at /home/rwagner/src/kde4/src/extragear/sdk/kdevelop-plugins/php/phpparsejob.cpp:215
#34 0x000000348160b9bd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f093a9d9cc0, th=0x21b85d0, job=0x2e28e60) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Job.cpp:106
#35 0x000000348160bcbe in ThreadWeaver::Job::execute (this=0x2e28e60, th=0x21b85d0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Job.cpp:135
#36 0x000000348160ae3f in ThreadWeaver::ThreadRunHelper::run (this=0x7f093a9d9d50, parent=0x16a1ae0, th=0x21b85d0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:95
#37 0x000000348160b358 in ThreadWeaver::Thread::run (this=0x21b85d0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#38 0x000000346f4709a5 in QThreadPrivate::start (arg=0x21b85d0) at thread/qthread_unix.cpp:248
#39 0x0000003464806a3a in start_thread (arg=0x7f093a9da710) at pthread_create.c:297
#40 0x00000034640de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#41 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0952599840 (LWP 19271)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x000000346480ae4b in _L_lock_22 () from /lib64/libpthread.so.0
#2  0x000000346480abf9 in __pthread_cond_destroy (cond=0x21fd698) at pthread_cond_destroy.c:33
#3  0x000000346f471620 in QWaitCondition::~QWaitCondition (this=0x7f0953275ed0, __in_chrg=<value optimized out>) at thread/qwaitcondition_unix.cpp:125
#4  0x00007f0952ef9a4d in KDevelop::SpinLockData::~SpinLockData (this=0x7f0953275ec0, __in_chrg=<value optimized out>) at /srv/devel/src/kde4/src-git/kdevplatform/util/spinlock.h:36
#5  0x0000003464035f2d in __cxa_finalize (d=0x7f0953269390) at cxa_finalize.c:56
#6  0x00007f0952edbc86 in __do_global_dtors_aux () from /home/rwagner/src/kde4/usr/lib64/libkdevplatformlanguage.so.2
#7  0x0000000000000000 in ?? ()

Possible duplicates by query: bug 193577.

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-05-11 20:55:25 UTC
You seem to be mixing the php-plugin from svn with kdevplatform from git's master branch. Thats not supported and won't work. Please get rid of all installed kdevelop libraries and plugins and then rebuild everything cleanly.
Comment 2 Rick Wagner 2010-05-11 21:59:12 UTC
That solved the problem.  Sorry for the stupidity.

I'd mark it as closed, but not sure what the procedure is.

Thanks for the quick response, and for the great application!
Comment 3 Andreas Pakulat 2010-05-11 22:18:10 UTC
Ooops, I wanted to do that along with the comment, doing it now.