Bug 323180 - KDevelop crash when started
Summary: KDevelop crash when started
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 06:09 UTC by Radek Novacek
Modified: 2013-08-05 14:20 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 Radek Novacek 2013-08-05 06:09:00 UTC
Application: kdevelop (4.5.60)
KDE Platform Version: 4.10.97
Qt Version: 4.8.5
Operating System: Linux 3.9.5-301.fc19.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
The crash occurs when starting an existing project.

- Custom settings of the application:
Installed from up to date git (5th of August 2013):
kdevplatform e2c2439
kdevelop f1ac501
kdev-python 6479130

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 0x7f28694738c0 (LWP 11205))]

Thread 4 (Thread 0x7f285c072700 (LWP 11214)):
#0  0x00000037bce0b575 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003ec3d860bb in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtScript.so.4
#2  0x0000003ec3d860f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtScript.so.4
#3  0x00000037bce07c53 in start_thread () from /lib64/libpthread.so.0
#4  0x00000037bcaf513d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f27daedb700 (LWP 11217)):
#0  0x00000037bce0b922 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003eb707b1c4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00007f28697669a2 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x39e02e0) at ../language/duchain/duchain.cpp:285
#3  0x0000003eb707ad0f in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x00000037bce07c53 in start_thread () from /lib64/libpthread.so.0
#5  0x00000037bcaf513d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f27cc212700 (LWP 11218)):
#0  0x00000037bf619cf0 in pthread_mutex_unlock@plt () from /lib64/libglib-2.0.so.0
#1  0x00000037bf687281 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#2  0x00000037bf647fad in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#3  0x00000037bf6481fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x0000003eb71a7166 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x0000003eb7178ecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003eb71791c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x0000003eb707866f in QThread::exec() () from /lib64/libQtCore.so.4
#8  0x0000003eb707ad0f in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#9  0x00000037bce07c53 in start_thread () from /lib64/libpthread.so.0
#10 0x00000037bcaf513d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f28694738c0 (LWP 11205)):
[KCrash Handler]
#5  operator!= (value=1, this=0x1) at /usr/include/QtCore/qbasicatomic.h:75
#6  detach (this=0x7f2869ae4350 <guard variable for KDevelop::TypeSystem::self()::system>) at /usr/include/QtCore/qvector.h:147
#7  data (this=0x7f2869ae4350 <guard variable for KDevelop::TypeSystem::self()::system>) at /usr/include/QtCore/qvector.h:152
#8  operator[] (i=61, this=0x7f2869ae4350 <guard variable for KDevelop::TypeSystem::self()::system>) at /usr/include/QtCore/qvector.h:360
#9  registerTypeClass<Python::VariableLengthContainer, Python::VariableLengthContainerData> (this=0x7f2869ae4340 <KDevelop::TypeSystem::self()::system>) at /home/radek/local/include/kdevplatform/language/duchain/types/typeregister.h:145
#10 TypeSystemRegistrator (this=0x7f27c8f92344 <Python::registerVariableLengthContainer>) at /home/radek/local/include/kdevplatform/language/duchain/types/typeregister.h:202
#11 __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at ../duchain/types/variablelengthcontainer.cpp:32
#12 _GLOBAL__sub_I_variablelengthcontainer.cpp(void) () at ../duchain/types/variablelengthcontainer.cpp:156
#13 0x00000037bc60f4f3 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#14 0x00000037bc613b04 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#15 0x00000037bc60f304 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#16 0x00000037bc61321b in _dl_open () from /lib64/ld-linux-x86-64.so.2
#17 0x00000037bd20102b in dlopen_doit () from /lib64/libdl.so.2
#18 0x00000037bc60f304 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#19 0x00000037bd20162d in _dlerror_run () from /lib64/libdl.so.2
#20 0x00000037bd2010c1 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#21 0x0000003eb716b4dc in QLibraryPrivate::load_sys() () from /lib64/libQtCore.so.4
#22 0x0000003eb716645a in QLibraryPrivate::load() () from /lib64/libQtCore.so.4
#23 0x0000003eb7166a63 in QLibraryPrivate::loadPlugin() () from /lib64/libQtCore.so.4
#24 0x00000037c4c10028 in KPluginLoader::load() () from /lib64/libkdecore.so.5
#25 0x00000037c4c102b8 in KPluginLoader::factory() () from /lib64/libkdecore.so.5
#26 0x00007f286a8dd1b6 in createInstance<KDevelop::IPlugin> (error=0x7fff964b2d20, args=..., parent=0x2a3b1c0, parentWidget=0x0, this=0x45d0c40) at /usr/include/kde4/KDE/../kservice.h:571
#27 createInstanceFromQuery<KDevelop::IPlugin> (error=0x7fff964b2d20, args=..., constraint=..., parent=0x2a3b1c0, parentWidget=0x0, serviceType=...) at /usr/include/kde4/KDE/../kservicetypetrader.h:186
#28 createInstanceFromQuery<KDevelop::IPlugin> (error=0x7fff964b2d20, args=..., parent=0x2a3b1c0, constraint=..., serviceType=...) at /usr/include/kde4/KDE/../kservicetypetrader.h:157
#29 KDevelop::PluginController::loadPluginInternal (this=0x2ab4080, pluginId=...) at ../shell/plugincontroller.cpp:431
#30 0x00007f286a9099e9 in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x2b18cb0, inputUrl=..., prefName=..., range=..., encoding=..., activationParams=..., buddy=buddy@entry=0x0) at ../shell/documentcontroller.cpp:291
#31 0x00007f286a90640a in KDevelop::DocumentController::openDocument (this=0x2b12820, inputUrl=..., range=..., activationParams=..., encoding=..., buddy=0x0) at ../shell/documentcontroller.cpp:721
#32 0x00007f286aba6ed8 in KDevelop::IDocumentController::openDocument (this=0x2b12820, url=..., cursor=..., activationParams=..., encoding=...) at ../interfaces/idocumentcontroller.cpp:33
#33 0x00007f286a8c940b in KDevelop::WorkingSet::loadToArea (this=this@entry=0x3a0ffe0, area=area@entry=0x2259c40, areaIndex=areaIndex@entry=0x2258490, setGroup=<incomplete type>, areaGroup=<incomplete type>, recycle=...) at ../shell/workingsets/workingset.cpp:332
#34 0x00007f286a8c9c3f in KDevelop::WorkingSet::loadToArea (this=this@entry=0x3a0ffe0, area=area@entry=0x2259c40, areaIndex=0x2258490) at ../shell/workingsets/workingset.cpp:257
#35 0x00007f286a8c5f8b in KDevelop::WorkingSetController::changedWorkingSet (this=0x2a50c00, area=0x2259c40, from=..., to=...) at ../shell/workingsetcontroller.cpp:272
#36 0x00007f286a8c6257 in KDevelop::WorkingSetController::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at shell/workingsetcontroller.moc:76
#37 0x0000003eb718df78 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#38 0x00007f286a63b7fc in Sublime::Area::changedWorkingSet (this=this@entry=0x2259c40, _t1=_t1@entry=0x2259c40, _t2=..., _t3=...) at sublime/area.moc:184
#39 0x00007f286a63ddad in Sublime::Area::setWorkingSet (this=this@entry=0x2259c40, name=...) at ../sublime/area.cpp:417
#40 0x00007f286a63e5a8 in Sublime::Area::load (this=this@entry=0x2259c40, group=...) at ../sublime/area.cpp:349
#41 0x00007f286a8e6056 in KDevelop::UiController::loadArea (this=this@entry=0x2a51120, area=area@entry=0x2259c40, group=...) at ../shell/uicontroller.cpp:489
#42 0x00007f286a8e8e69 in KDevelop::UiController::loadAllAreas (this=0x2a51120, config=...) at ../shell/uicontroller.cpp:582
#43 0x00007f286a8e3a5e in KDevelop::CorePrivate::initialize (this=0x2a3bef0, mode=mode@entry=KDevelop::Core::Default, session=...) at ../shell/core.cpp:260
#44 0x00007f286a8e4c54 in KDevelop::Core::initialize (splash=0x2453cd0, mode=mode@entry=KDevelop::Core::Default, session=...) at ../shell/core.cpp:338
#45 0x000000000040e025 in main (argc=<optimized out>, argv=<optimized out>) at ../app/main.cpp:385

Possible duplicates by query: bug 292927.

Reported using DrKonqi
Comment 1 Radek Novacek 2013-08-05 06:10:35 UTC
Also, cleaning ~/.cache/kdevduchain/ didn't help.
Comment 2 Milian Wolff 2013-08-05 12:08:20 UTC
Did you reinstall the python plugin after updating Kdevplatform? Or well, are you sure you updated both as there were ABI incompatible changes in KDevplatform.
Comment 3 Radek Novacek 2013-08-05 14:20:29 UTC
Rebuilding and reinstalling python plugin helped me. Sorry for the noise.