Bug 335837 - KDevelop 4.6.0 crashes when accessing configure kdevelop
Summary: KDevelop 4.6.0 crashes when accessing configure kdevelop
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.6.60
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 343808 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-05 13:39 UTC by Edward Desplaines
Modified: 2015-02-05 11:13 UTC (History)
1 user (show)

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 Edward Desplaines 2014-06-05 13:39:07 UTC
Application: kdevelop (4.6.60)
KDE Platform Version: 4.8.5 (4.8.5) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-63-generic x86_64
Distribution: Ubuntu 12.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Settings --> Configure KDevelop

Immmediately, the system crashes. 
Console output:
qrc:/qml/main.qml:23:1: QML Loader: Binding loop detected for property "source"
qrc:/qml/Develop.qml:102: ReferenceError: Can't find variable: implicitHeight
kdevelop(5453)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from  "/root/.kde/share/apps/kdevelop/sessions/{1beef81b-2f9f-4f7b-b72a-ee6e182a4219}/recovery/current" 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5800013
kdevelop(5453)/kdevplatform (shell) KDevelop::standardArguments: ARG: "./kdevelop" 
kdevelop(5453)/kdevplatform (shell) KDevelop::standardArguments: ARGUMENTS:  () from 1 
qrc:/qml/main.qml:23:1: QML Loader: Binding loop detected for property "source"
qrc:/qml/Develop.qml:102: ReferenceError: Can't find variable: implicitHeight
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6400013
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6400013
error: action path not found:  ("project_new") 
qrc:/qml/Develop.qml:40: TypeError: Result of expression 'kdev.retrieveMenuAction("project/project_new")' [null] is not an object.
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde/socket-parallels-Parallels-Virtual-Platform/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
41	../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
QDBusObjectPath: invalid path ""

Output of uname -a
Linux parallels-Parallels-Virtual-Platform 3.2.0-63-generic #95-Ubuntu SMP Thu May 15 23:05:57 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

output of lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.4 LTS
Release:	12.04
Codename:	precise

Note: I did follow the instructions on how to get the sources from git, get all the required software versions manually, to compile KDevelop in my local user home directory: http://techbase.kde.org/KDevelop4/HowToCompile

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4439277780 (LWP 5459))]

Thread 3 (Thread 0x7f441f579700 (LWP 5461)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f443213e222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f443213e259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f4434d3ae9a in start_thread (arg=0x7f441f579700) at pthread_create.c:308
#4  0x00007f44359d93fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f441e3fa700 (LWP 5462)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f443602543f in wait (time=1000, this=0x419c710) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x41771c0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4432b9bfc2 in KDevelop::DUChainPrivate::CleanupThread::run() () at /home/parallels/src/kdevplatform/language/duchain/duchain.cpp:283
#4  0x00007f4436024fcb in QThreadPrivate::start (arg=0x41771a0) at thread/qthread_unix.cpp:298
#5  0x00007f4434d3ae9a in start_thread (arg=0x7f441e3fa700) at pthread_create.c:308
#6  0x00007f44359d93fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4439277780 (LWP 5459)):
[KCrash Handler]
#4  operator!= (value=1, this=0x1) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#5  detach (this=0x7f4432f265e0) at /usr/include/qt4/QtCore/qvector.h:147
#6  data (this=0x7f4432f265e0) at /usr/include/qt4/QtCore/qvector.h:152
#7  operator[] (i=2, this=0x7f4432f265e0) at /usr/include/qt4/QtCore/qvector.h:360
#8  KDevelop::TypeSystem::registerTypeClass<KDevelop::IntegralType, KDevelop::IntegralTypeData> (this=0x7f4432f265d0) at ../../language/duchain/types/typeregister.h:145
#9  0x00007f4410f624e7 in TypeSystemRegistrator (this=<optimized out>) at ../../language/duchain/types/typeregister.h:202
#10 __static_initialization_and_destruction_0 (__priority=65535, __initialize_p=1) at ../../language/duchain/types/integraltype.cpp:31
#11 _GLOBAL__sub_I_integraltype.cpp(void) () at ../../language/duchain/types/integraltype.cpp:160
#12 0x00007f44390b3306 in call_init (l=<optimized out>, argc=3, argv=0x7fff8f1ce048, env=0x7fff8f1ce068) at dl-init.c:85
#13 0x00007f44390b33df in call_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:52
#14 _dl_init (main_map=0x2b76d30, argc=3, argv=0x7fff8f1ce048, env=0x7fff8f1ce068) at dl-init.c:134
#15 0x00007f44390b7ada in dl_open_worker (a=0x7fff8f1c9030) at dl-open.c:549
#16 0x00007f44390b3176 in _dl_catch_error (objname=0x7fff8f1c9078, errstring=0x7fff8f1c9080, mallocedp=0x7fff8f1c908f, operate=0x7f44390b7700 <dl_open_worker>, args=0x7fff8f1c9030) at dl-error.c:178
#17 0x00007f44390b731a in _dl_open (file=0x2b00fe8 "/usr/lib/kde4/kcm_kdev_projectsettings.so", mode=-2147483647, caller_dlopen=0x7f44361160ab, nsid=-2, argc=3, argv=<optimized out>, env=0x7fff8f1ce068) at dl-open.c:639
#18 0x00007f442ef96f26 in dlopen_doit (a=0x7fff8f1c9250) at dlopen.c:67
#19 0x00007f44390b3176 in _dl_catch_error (objname=0x267d680, errstring=0x267d688, mallocedp=0x267d678, operate=0x7f442ef96ec0 <dlopen_doit>, args=0x7fff8f1c9250) at dl-error.c:178
#20 0x00007f442ef9752f in _dlerror_run (operate=0x7f442ef96ec0 <dlopen_doit>, args=0x7fff8f1c9250) at dlerror.c:164
#21 0x00007f442ef96fc1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:88
#22 0x00007f44361160ab in QLibraryPrivate::load_sys (this=0x2a421a0) at plugin/qlibrary_unix.cpp:209
#23 0x00007f4436112a9a in load (this=0x2a421a0) at plugin/qlibrary.cpp:466
#24 QLibraryPrivate::load (this=0x2a421a0) at plugin/qlibrary.cpp:458
#25 0x00007f4436112d83 in QLibraryPrivate::loadPlugin (this=0x2a421a0) at plugin/qlibrary.cpp:516
#26 0x00007f4438decb08 in KPluginLoader::load (this=0x7fff8f1ca8e0) at ../../kdecore/util/kpluginloader.cpp:239
#27 0x00007f4438ded6b9 in KPluginLoader::factory (this=0x7fff8f1ca8e0) at ../../kdecore/util/kpluginloader.cpp:204
#28 0x00007f44335f16c0 in createInstance<KCModule> (error=0x7fff8f1ca9e0, args=..., parent=0x2a41260, parentWidget=0x0, this=0x2b43c70) at ../../kdecore/services/kservice.h:557
#29 createInstance<KCModule> (error=0x7fff8f1ca9e0, args=..., parent=0x2a41260, this=0x2b43c70) at ../../kdecore/services/kservice.h:536
#30 KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x2a41260, args=...) at ../../kutils/kcmoduleloader.cpp:89
#31 0x00007f44335f65f8 in KCModuleProxyPrivate::loadModule (this=0x2b4d8d0) at ../../kutils/kcmoduleproxy.cpp:106
#32 0x00007f44335f7315 in KCModuleProxy::realModule (this=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:83
#33 0x00007f44335f7619 in KCModuleProxy::useRootOnlyMessage (this=0x2a41260) at ../../kutils/kcmoduleproxy.cpp:315
#34 0x00007f44335f37c4 in KCMultiDialog::addModule (this=0x7fff8f1cc2c0, moduleInfo=..., parentItem=0x0, args=...) at ../../kutils/kcmultidialog.cpp:390
#35 0x00007f4433607118 in KSettings::DialogPrivate::createDialogFromServices (this=0x4ca84a0) at ../../kutils/ksettings/dialog.cpp:358
#36 0x00007f4433609f07 in KSettings::Dialog::showEvent (this=0x7fff8f1cc2c0) at ../../kutils/ksettings/dialog.cpp:127
#37 0x00007f44366973f5 in QWidget::event (this=0x7fff8f1cc2c0, event=0x7fff8f1cc0b0) at kernel/qwidget.cpp:8569
#38 0x00007f4436646894 in notify_helper (e=0x7fff8f1cc0b0, receiver=0x7fff8f1cc2c0, this=0x2684f50) at kernel/qapplication.cpp:4559
#39 QApplicationPrivate::notify_helper (this=0x2684f50, receiver=0x7fff8f1cc2c0, e=0x7fff8f1cc0b0) at kernel/qapplication.cpp:4531
#40 0x00007f443664b713 in QApplication::notify (this=0x7fff8f1cdec0, receiver=0x7fff8f1cc2c0, e=0x7fff8f1cc0b0) at kernel/qapplication.cpp:4420
#41 0x00007f44375fd3f6 in KApplication::notify (this=0x7fff8f1cdec0, receiver=0x7fff8f1cc2c0, event=0x7fff8f1cc0b0) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007f4436123e9c in QCoreApplication::notifyInternal (this=0x7fff8f1cdec0, receiver=0x7fff8f1cc2c0, event=0x7fff8f1cc0b0) at kernel/qcoreapplication.cpp:876
#43 0x00007f4436699810 in sendEvent (event=0x7fff8f1cc0b0, receiver=0x7fff8f1cc2c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QWidgetPrivate::show_helper (this=0x295b7f0) at kernel/qwidget.cpp:7542
#45 0x00007f4436699b02 in QWidget::setVisible (this=0x7fff8f1cc2c0, visible=<optimized out>) at kernel/qwidget.cpp:7764
#46 0x00007f4436b17b9c in QDialog::setVisible (this=0x7fff8f1cc2c0, visible=<optimized out>) at dialogs/qdialog.cpp:741
#47 0x00007f4436b16930 in show (this=0x7fff8f1cc2c0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#48 QDialog::exec (this=<optimized out>) at dialogs/qdialog.cpp:545
#49 0x00007f44386f5b33 in KDevelop::UiController::showSettingsDialog() () at /home/parallels/src/kdevplatform/shell/uicontroller.cpp:459
#50 0x00007f44386e69e5 in KDevelop::MainWindowPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.61] () at /home/parallels/src/kdevplatform/build/shell/mainwindow_p.moc:121
#51 0x00007f4436138281 in QMetaObject::activate (sender=0x2c423b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8f1cc480) at kernel/qobject.cpp:3547
#52 0x00007f4436640132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#53 0x00007f443664031f in QAction::activate (this=0x2c423b0, event=<optimized out>) at kernel/qaction.cpp:1257
#54 0x00007f4436a92159 in QMenuPrivate::activateCausedStack (this=0x4148d90, causedStack=..., action=0x2c423b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#55 0x00007f4436a982b2 in QMenuPrivate::activateAction (this=0x4148d90, action=0x2c423b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#56 0x00007f44376be030 in KMenu::mouseReleaseEvent (this=0x41460b0, e=0x7fff8f1cd050) at ../../kdeui/widgets/kmenu.cpp:464
#57 0x00007f4436697144 in QWidget::event (this=0x41460b0, event=0x7fff8f1cd050) at kernel/qwidget.cpp:8362
#58 0x00007f4436a9984b in QMenu::event (this=0x41460b0, e=0x7fff8f1cd050) at widgets/qmenu.cpp:2469
#59 0x00007f4436646894 in notify_helper (e=0x7fff8f1cd050, receiver=0x41460b0, this=0x2684f50) at kernel/qapplication.cpp:4559
#60 QApplicationPrivate::notify_helper (this=0x2684f50, receiver=0x41460b0, e=0x7fff8f1cd050) at kernel/qapplication.cpp:4531
#61 0x00007f443664c0bf in QApplication::notify (this=<optimized out>, receiver=0x41460b0, e=0x7fff8f1cd050) at kernel/qapplication.cpp:4102
#62 0x00007f44375fd3f6 in KApplication::notify (this=0x7fff8f1cdec0, receiver=0x41460b0, event=0x7fff8f1cd050) at ../../kdeui/kernel/kapplication.cpp:311
#63 0x00007f4436123e9c in QCoreApplication::notifyInternal (this=0x7fff8f1cdec0, receiver=0x41460b0, event=0x7fff8f1cd050) at kernel/qcoreapplication.cpp:876
#64 0x00007f4436647862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#65 QApplicationPrivate::sendMouseEvent (receiver=0x41460b0, event=0x7fff8f1cd050, alienWidget=0x0, nativeWidget=0x41460b0, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#66 0x00007f44366c7301 in QETWidget::translateMouseEvent (this=0x41460b0, event=<optimized out>) at kernel/qapplication_x11.cpp:4553
#67 0x00007f44366c5bee in QApplication::x11ProcessEvent (this=0x7fff8f1cdec0, event=0x7fff8f1cd920) at kernel/qapplication_x11.cpp:3734
#68 0x00007f44366ef112 in x11EventSourceDispatch (s=0x2684d50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#69 0x00007f442fd15d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007f442fd16060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007f442fd16124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f44361533bf in QEventDispatcherGlib::processEvents (this=0x25d5b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#73 0x00007f44366eed9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007f4436122c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#75 0x00007f4436122ed7 in QEventLoop::exec (this=0x7fff8f1cdcc0, flags=...) at kernel/qeventloop.cpp:204
#76 0x00007f4436127f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#77 0x00000000004108f2 in main () at /home/parallels/src/kdevelop/app/main.cpp:564

Possible duplicates by query: bug 323180.

Reported using DrKonqi
Comment 1 Kevin Funk 2014-06-06 20:13:20 UTC
KDevelop is trying to load old plugins it seems. Your backtrace indicates it is loading "/usr/lib/kde4/kcm_kdev_projectsettings.so", which is probably distro-provided.

Make sure you uninstall all KDevelop-related packages first.
Comment 2 Paolo Medici 2015-02-05 11:13:18 UTC
*** Bug 343808 has been marked as a duplicate of this bug. ***