Bug 349856 - KDevelop crashes on loading
Summary: KDevelop crashes on loading
Status: RESOLVED DUPLICATE of bug 351102
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.7.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-07-03 08:57 UTC by Manuel
Modified: 2015-09-25 08:35 UTC (History)
1 user (show)

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 Manuel 2015-07-03 08:57:29 UTC
Application: kdevelop (4.7.1)
KDE Platform Version: 4.14.9
Qt Version: 4.8.7
Operating System: Linux 4.0.5-3-desktop x86_64
Distribution: "openSUSE 20150630 (Tumbleweed) (x86_64)"

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

Just starting kdevelop.
Clearing the cache & sessions does not help

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3c7246d8c0 (LWP 8553))]

Thread 8 (Thread 0x7f3c4d90e700 (LWP 8574)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3c6c505fea in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f3c6c807ee0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f3c6c506019 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f3c6c832324 in start_thread (arg=0x7f3c4d90e700) at pthread_create.c:333
#4  0x00007f3c6eb2875d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f3bcc87d700 (LWP 8580)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f3c6f1e6732 in wait (time=1000, this=0x2b1bf50) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x2b1d628, mutex=mutex@entry=0x2b1d630, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3c6dafc706 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2b1d610) at /usr/src/debug/kdevplatform-1.7.1/language/duchain/duchain.cpp:283
#4  0x00007f3c6f1e623c in QThreadPrivate::start (arg=0x2b1d610) at thread/qthread_unix.cpp:352
#5  0x00007f3c6c832324 in start_thread (arg=0x7f3bcc87d700) at pthread_create.c:333
#6  0x00007f3c6eb2875d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f3bbe6a3700 (LWP 8587)):
#0  0x00007f3c68e56ca9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f3c68e14a26 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3c68e14eb8 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3c68e14f5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f3c6f31a26e in QEventDispatcherGlib::processEvents (this=0x7f3bb80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f3c6f2ea3e1 in QEventLoop::processEvents (this=this@entry=0x7f3bbe6a2d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f3c6f2ea6f5 in QEventLoop::exec (this=this@entry=0x7f3bbe6a2d20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f3c6f1e3a59 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007f3c6f1e623c in QThreadPrivate::start (arg=0x3658b90) at thread/qthread_unix.cpp:352
#9  0x00007f3c6c832324 in start_thread (arg=0x7f3bbe6a3700) at pthread_create.c:333
#10 0x00007f3c6eb2875d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f3bb79ea700 (LWP 8589)):
#0  0x00007f3c6eb2000d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3c68e14e44 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3c68e14f5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3c6f31a26e in QEventDispatcherGlib::processEvents (this=0x7f3bb00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f3c6f2ea3e1 in QEventLoop::processEvents (this=this@entry=0x7f3bb79e9d20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3c6f2ea6f5 in QEventLoop::exec (this=this@entry=0x7f3bb79e9d20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3c6f1e3a59 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f3c6f1e623c in QThreadPrivate::start (arg=0x4559630) at thread/qthread_unix.cpp:352
#8  0x00007f3c6c832324 in start_thread (arg=0x7f3bb79ea700) at pthread_create.c:333
#9  0x00007f3c6eb2875d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f3bb6591700 (LWP 8593)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f3c68de7088 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3c68e12ae8 in g_source_attach () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3c58d23812 in ?? () from /usr/lib64/libgio-2.0.so.0
#4  0x00007f3c58d390d5 in ?? () from /usr/lib64/libgio-2.0.so.0
#5  0x00007f3c58cce807 in g_simple_async_result_complete () from /usr/lib64/libgio-2.0.so.0
#6  0x00007f3c58d3713b in ?? () from /usr/lib64/libgio-2.0.so.0
#7  0x00007f3c58ccf903 in ?? () from /usr/lib64/libgio-2.0.so.0
#8  0x00007f3c68e14b45 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f3c68e14eb8 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f3c68e1517a in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f3c58d37426 in ?? () from /usr/lib64/libgio-2.0.so.0
#12 0x00007f3c68e39f45 in ?? () from /usr/lib64/libglib-2.0.so.0
#13 0x00007f3c6c832324 in start_thread (arg=0x7f3bb6591700) at pthread_create.c:333
#14 0x00007f3c6eb2875d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f3baf9d2700 (LWP 8594)):
#0  0x00007f3c6eaf89cd in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3c6eb21d94 in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:32
#2  0x00007f3c6db3a38a in KDevelop::DUChainLock::lockForWrite (this=0x2b1ccb0, timeout=0) at /usr/src/debug/kdevplatform-1.7.1/language/duchain/duchainlock.cpp:161
#3  0x00007f3c6db3a56c in KDevelop::DUChainWriteLocker::lock (this=0x7f3baf9d14b0) at /usr/src/debug/kdevplatform-1.7.1/language/duchain/duchainlock.cpp:258
#4  0x00007f3bbc1bfd0b in Python::DeclarationBuilder::createModuleImportDeclaration (this=this@entry=0x7f3baf9d1ad0, moduleName=..., declarationName=..., declarationIdentifier=declarationIdentifier@entry=0x7f3ba438fc60, problemEncountered=..., rangeNode=rangeNode@entry=0x0) at /usr/src/debug/kdev-python-1.7.1/duchain/declarationbuilder.cpp:815
#5  0x00007f3bbc1c0996 in Python::DeclarationBuilder::visitImportFrom (this=0x7f3baf9d1ad0, node=0x7f3ba438faa0) at /usr/src/debug/kdev-python-1.7.1/duchain/declarationbuilder.cpp:545
#6  0x00007f3bb7decf6c in Python::AstDefaultVisitor::visitTryExcept (this=0x7f3baf9d1b28, node=0x7f3ba438fa50) at /usr/src/debug/kdev-python-1.7.1/parser/astdefaultvisitor.cpp:213
#7  0x00007f3bb7deb6cc in Python::AstDefaultVisitor::visitCode (this=this@entry=0x7f3baf9d1b28, node=node@entry=0x7f3ba426fe30) at /usr/src/debug/kdev-python-1.7.1/parser/astdefaultvisitor.cpp:66
#8  0x00007f3bbc1b5b66 in Python::ContextBuilder::visitCode (this=0x7f3baf9d1ad0, node=0x7f3ba426fe30) at /usr/src/debug/kdev-python-1.7.1/duchain/contextbuilder.cpp:329
#9  0x00007f3bbc1c7f5e in supportBuild (context=0x7f3ba424d8e0, node=0x7f3ba426fe30, this=0x7f3baf9d1ad0) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133
#10 KDevelop::AbstractTypeBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::supportBuild (this=0x7f3baf9d1ad0, node=0x7f3ba426fe30, context=<optimized out>) at /usr/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85
#11 0x00007f3bbc1b473d in build (updateContext=..., node=0x7f3ba426fe30, url=..., this=0x7f3baf9d1ad0) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:113
#12 Python::ContextBuilder::build (this=this@entry=0x7f3baf9d1ad0, url=..., node=node@entry=0x7f3ba426fe30, updateContext=...) at /usr/src/debug/kdev-python-1.7.1/duchain/contextbuilder.cpp:82
#13 0x00007f3bbc1bb4d3 in Python::DeclarationBuilder::build (this=this@entry=0x7f3baf9d1ad0, url=..., node=node@entry=0x7f3ba426fe30, updateContext=...) at /usr/src/debug/kdev-python-1.7.1/duchain/declarationbuilder.cpp:102
#14 0x00007f3bbc63a8f2 in Python::ParseJob::run (this=0x6e46460) at /usr/src/debug/kdev-python-1.7.1/pythonparsejob.cpp:151
#15 0x00007f3c64c6d2f2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f3baf9d1ce0, th=th@entry=0x15a9bc0, job=job@entry=0x6e46460) at /usr/src/debug/kdelibs-4.14.9/threadweaver/Weaver/Job.cpp:106
#16 0x00007f3c64c6d4de in ThreadWeaver::Job::execute (this=0x6e46460, th=0x15a9bc0) at /usr/src/debug/kdelibs-4.14.9/threadweaver/Weaver/Job.cpp:135
#17 0x00007f3c64c6cc0b in ThreadWeaver::Thread::run (this=0x15a9bc0) at /usr/src/debug/kdelibs-4.14.9/threadweaver/Weaver/Thread.cpp:108
#18 0x00007f3c6f1e623c in QThreadPrivate::start (arg=0x15a9bc0) at thread/qthread_unix.cpp:352
#19 0x00007f3c6c832324 in start_thread (arg=0x7f3baf9d2700) at pthread_create.c:333
#20 0x00007f3c6eb2875d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f3baf1d1700 (LWP 8595)):
[KCrash Handler]
#6  index (this=this@entry=0x0) at /usr/include/kdevplatform/language/duchain/indexedstring.h:139
#7  qHash (str=...) at /usr/include/kdevplatform/language/duchain/indexedstring.h:238
#8  QHash<KDevelop::IndexedString, QHashDummyValue>::findNode (this=this@entry=0x7f3b98921a60, akey=..., ahp=ahp@entry=0x7f3baf1cf500) at /usr/include/QtCore/qhash.h:882
#9  0x00007f3bbebe469a in insert (avalue=..., akey=..., this=0x7f3b98921a60) at /usr/include/QtCore/qhash.h:759
#10 insert (value=..., this=0x7f3b98921a60) at /usr/include/QtCore/qset.h:181
#11 CppPreprocessEnvironment::merge (this=0x7f3b98921a30, file=0x11560d0, mergeEnvironment=mergeEnvironment@entry=true) at /usr/src/debug/kdevelop-4.7.1/languages/cpp/cppduchain/cpppreprocessenvironment.cpp:120
#12 0x00007f3bbee88889 in PreprocessJob::sourceNeeded (this=0x115abb0, _fileName=..., type=<optimized out>, sourceLine=8, skipCurrentPath=<optimized out>) at /usr/src/debug/kdevelop-4.7.1/languages/cpp/preprocessjob.cpp:547
#13 0x00007f3bbe6b96ec in rpp::pp::handle_include (this=this@entry=0x7f3baf1cfb80, skip_current_path=<optimized out>, input=..., output=...) at /usr/src/debug/kdevelop-4.7.1/languages/cpp/parser/rpp/pp-engine.cpp:219
#14 0x00007f3bbe6bd86f in rpp::pp::handle_directive (this=this@entry=0x7f3baf1cfb80, directive=directive@entry=75469, input=..., output=...) at /usr/src/debug/kdevelop-4.7.1/languages/cpp/parser/rpp/pp-engine.cpp:137
#15 0x00007f3bbe6bde1e in rpp::pp::operator() (this=this@entry=0x7f3baf1cfb80, input=..., output=...) at /usr/src/debug/kdevelop-4.7.1/languages/cpp/parser/rpp/pp-engine.cpp:272
#16 0x00007f3bbe6be134 in rpp::pp::processFileInternal (this=this@entry=0x7f3baf1cfb80, fileName=..., fileContents=..., result=...) at /usr/src/debug/kdevelop-4.7.1/languages/cpp/parser/rpp/pp-engine.cpp:98
#17 0x00007f3bbe6be4d5 in rpp::pp::processFile (this=this@entry=0x7f3baf1cfb80, fileName=..., data=...) at /usr/src/debug/kdevelop-4.7.1/languages/cpp/parser/rpp/pp-engine.cpp:85
#18 0x00007f3bbee8b114 in PreprocessJob::run (this=<optimized out>) at /usr/src/debug/kdevelop-4.7.1/languages/cpp/preprocessjob.cpp:249
#19 0x00007f3c64c6d2f2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f3baf1d0cc0, th=th@entry=0x6b52000, job=job@entry=0x115abb0) at /usr/src/debug/kdelibs-4.14.9/threadweaver/Weaver/Job.cpp:106
#20 0x00007f3c64c6d4de in ThreadWeaver::Job::execute (this=0x115abb0, th=0x6b52000) at /usr/src/debug/kdelibs-4.14.9/threadweaver/Weaver/Job.cpp:135
#21 0x00007f3c64c6efdb in ThreadWeaver::JobCollectionJobRunner::execute (this=0x148e820, t=0x6b52000) at /usr/src/debug/kdelibs-4.14.9/threadweaver/Weaver/JobCollection.cpp:82
#22 0x00007f3c64c6cc0b in ThreadWeaver::Thread::run (this=0x6b52000) at /usr/src/debug/kdelibs-4.14.9/threadweaver/Weaver/Thread.cpp:108
#23 0x00007f3c6f1e623c in QThreadPrivate::start (arg=0x6b52000) at thread/qthread_unix.cpp:352
#24 0x00007f3c6c832324 in start_thread (arg=0x7f3baf1d1700) at pthread_create.c:333
#25 0x00007f3c6eb2875d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3c7246d8c0 (LWP 8553)):
#0  0x00007f3c6eb1c09d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3c68e55b10 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3c68e14979 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3c68e14dd8 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f3c68e14f5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f3c6f31a24e in QEventDispatcherGlib::processEvents (this=0xc70190, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#6  0x00007f3c6f8ce946 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007f3c6f2ea3e1 in QEventLoop::processEvents (this=this@entry=0x7ffde29e07a0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f3c6f2ea6f5 in QEventLoop::exec (this=this@entry=0x7ffde29e07a0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f3c6f2efef9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#10 0x00007f3c6f8297dc in QApplication::exec () at kernel/qapplication.cpp:3823
#11 0x0000000000412276 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop-4.7.1/app/main.cpp:582

The reporter indicates this bug may be a duplicate of or related to bug 347178.

Possible duplicates by query: bug 349229, bug 347178, bug 346945.

Reported using DrKonqi
Comment 1 Sandro Knauß 2015-09-25 08:35:01 UTC

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