Bug 343808

Summary: Kdevelop 4.7.0 crashes when try to be configured
Product: [Applications] kdevelop Reporter: Paolo Medici <medici>
Component: UI: toplevel windowAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: grave    
Priority: NOR    
Version First Reported In: 4.7.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paolo Medici 2015-02-05 11:08:09 UTC
Application: kdevelop (4.7.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-4-amd64 x86_64
Distribution: Debian GNU/Linux 8.0 (jessie)

-- Information about the crash:
- What I was doing when the application crashed:
I click on the Configure menu options. I deleted all the previous 4.6 configuration without obtain better results.

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 0x7f85be331800 (LWP 11195))]

Thread 4 (Thread 0x7f859ec78700 (LWP 11196)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f85b6f0bafa in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f85b6f0bb29 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f85b9d930a4 in start_thread (arg=0x7f859ec78700) at pthread_create.c:309
#4  0x00007f85baa2cccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f859d45a700 (LWP 11197)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f85bb077924 in wait (time=1000, this=0x3e08980) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3e072e0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f85b7987996 in ?? () from /usr/lib/libkdevplatformlanguage.so.8
#4  0x00007f85bb0773ef in QThreadPrivate::start (arg=0x3e072c0) at thread/qthread_unix.cpp:349
#5  0x00007f85b9d930a4 in start_thread (arg=0x7f859d45a700) at pthread_create.c:309
#6  0x00007f85baa2cccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f8517fff700 (LWP 11198)):
#0  0x00007f85baa25f33 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f85bb15cc0f in QProcessManager::run (this=0x7f85bb4e95e0 <processManager()::processManager>) at io/qprocess_unix.cpp:270
#2  0x00007f85bb0773ef in QThreadPrivate::start (arg=0x7f85bb4e95e0 <processManager()::processManager>) at thread/qthread_unix.cpp:349
#3  0x00007f85b9d930a4 in start_thread (arg=0x7f8517fff700) at pthread_create.c:309
#4  0x00007f85baa2cccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f85be331800 (LWP 11195)):
[KCrash Handler]
#5  operator!= (value=1, this=0x1) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#6  detach (this=0x7f85b7d30820) at /usr/include/qt4/QtCore/qvector.h:147
#7  data (this=0x7f85b7d30820) at /usr/include/qt4/QtCore/qvector.h:152
#8  operator[] (i=2, this=0x7f85b7d30820) at /usr/include/qt4/QtCore/qvector.h:360
#9  KDevelop::TypeSystem::registerTypeClass<KDevelop::IntegralType, KDevelop::IntegralTypeData> (this=0x7f85b7d30810) at /tmp/kdevplatform-1.5.1/language/duchain/types/typeregister.h:145
#10 0x00007f850aed6f57 in TypeSystemRegistrator (this=0x7f850b2a19ec <KDevelop::registerIntegralType>) at /tmp/kdevplatform-1.5.1/language/duchain/types/typeregister.h:202
#11 __static_initialization_and_destruction_0 (__initialize_p=<optimized out>, __priority=<optimized out>) at /tmp/kdevplatform-1.5.1/language/duchain/types/integraltype.cpp:31
#12 _GLOBAL__sub_I_integraltype.cpp(void) () at /tmp/kdevplatform-1.5.1/language/duchain/types/integraltype.cpp:160
#13 0x00007f85be1b19fa in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffb2015148, env=env@entry=0x7fffb2015158) at dl-init.c:78
#14 0x00007f85be1b1ae3 in call_init (env=0x7fffb2015158, argv=0x7fffb2015148, argc=1, l=<optimized out>) at dl-init.c:36
#15 _dl_init (main_map=main_map@entry=0x24a0f50, argc=1, argv=0x7fffb2015148, env=0x7fffb2015158) at dl-init.c:126
#16 0x00007f85be1b5c48 in dl_open_worker (a=a@entry=0x7fffb2011b98) at dl-open.c:577
#17 0x00007f85be1b18b4 in _dl_catch_error (objname=objname@entry=0x7fffb2011b88, errstring=errstring@entry=0x7fffb2011b90, mallocedp=mallocedp@entry=0x7fffb2011b87, operate=operate@entry=0x7f85be1b5970 <dl_open_worker>, args=args@entry=0x7fffb2011b98) at dl-error.c:187
#18 0x00007f85be1b543b in _dl_open (file=0x24a6c68 "/usr/local/lib/kde4/kcm_kdev_projectsettings.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=1, argv=0x7fffb2015148, env=0x7fffb2015158) at dl-open.c:661
#19 0x00007f85b3d1402b in dlopen_doit (a=a@entry=0x7fffb2011db0) at dlopen.c:66
#20 0x00007f85be1b18b4 in _dl_catch_error (objname=0x214ed60, errstring=0x214ed68, mallocedp=0x214ed58, operate=0x7f85b3d13fd0 <dlopen_doit>, args=0x7fffb2011db0) at dl-error.c:187
#21 0x00007f85b3d145dd in _dlerror_run (operate=operate@entry=0x7f85b3d13fd0 <dlopen_doit>, args=args@entry=0x7fffb2011db0) at dlerror.c:163
#22 0x00007f85b3d140c1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#23 0x00007f85bb171a45 in QLibraryPrivate::load_sys (this=this@entry=0x26316e0) at plugin/qlibrary_unix.cpp:226
#24 0x00007f85bb16c695 in QLibraryPrivate::load (this=0x26316e0) at plugin/qlibrary.cpp:469
#25 0x00007f85bb16ce3b in QLibraryPrivate::loadPlugin (this=0x26316e0) at plugin/qlibrary.cpp:519
#26 0x00007f85bdedbbc0 in KPluginLoader::load() () from /usr/lib/libkdecore.so.5
#27 0x00007f85bdedc648 in KPluginLoader::factory() () from /usr/lib/libkdecore.so.5
#28 0x00007f85b8403978 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libkcmutils.so.4
#29 0x00007f85b840999b in ?? () from /usr/lib/libkcmutils.so.4
#30 0x00007f85b840a685 in KCModuleProxy::realModule() const () from /usr/lib/libkcmutils.so.4
#31 0x00007f85b840a9e9 in KCModuleProxy::useRootOnlyMessage() const () from /usr/lib/libkcmutils.so.4
#32 0x00007f85b8406d71 in KCMultiDialog::addModule(KCModuleInfo const&, KPageWidgetItem*, QStringList const&) () from /usr/lib/libkcmutils.so.4
#33 0x00007f85b841b60f in ?? () from /usr/lib/libkcmutils.so.4
#34 0x00007f85b841cad4 in KSettings::Dialog::showEvent(QShowEvent*) () from /usr/lib/libkcmutils.so.4
#35 0x00007f85bb7044d8 in QWidget::event (this=0x7fffb2013e30, event=0x7fffb2013c50) at kernel/qwidget.cpp:8775
#36 0x00007f85bb6b129c in QApplicationPrivate::notify_helper (this=this@entry=0x2263900, receiver=receiver@entry=0x7fffb2013e30, e=e@entry=0x7fffb2013c50) at kernel/qapplication.cpp:4570
#37 0x00007f85bb6b7da8 in QApplication::notify (this=0x7fffb2014fc0, receiver=0x7fffb2013e30, e=0x7fffb2013c50) at kernel/qapplication.cpp:4356
#38 0x00007f85bc6a32ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0x00007f85bb180f8d in QCoreApplication::notifyInternal (this=0x7fffb2014fc0, receiver=receiver@entry=0x7fffb2013e30, event=event@entry=0x7fffb2013c50) at kernel/qcoreapplication.cpp:955
#40 0x00007f85bb701944 in sendEvent (event=0x7fffb2013c50, receiver=0x7fffb2013e30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QWidgetPrivate::show_helper (this=this@entry=0x24eb600) at kernel/qwidget.cpp:7569
#42 0x00007f85bb70386a in QWidget::setVisible (this=this@entry=0x7fffb2013e30, visible=visible@entry=true) at kernel/qwidget.cpp:7791
#43 0x00007f85bbb851ee in QDialog::setVisible (this=0x7fffb2013e30, visible=<optimized out>) at dialogs/qdialog.cpp:749
#44 0x00007f85bbb855b6 in show (this=0x7fffb2013e30) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:497
#45 QDialog::exec (this=0x7fffb2013e30) at dialogs/qdialog.cpp:553
#46 0x00007f85bd7ce8ab in KDevelop::UiController::showSettingsDialog() () from /usr/lib/libkdevplatformshell.so.8
#47 0x00007f85bd7bc6f5 in ?? () from /usr/lib/libkdevplatformshell.so.8
#48 0x00007f85bb195f4c in QMetaObject::activate (sender=sender@entry=0x287b4d0, m=m@entry=0x7f85bc19a940 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffb2013fe0) at kernel/qobject.cpp:3567
#49 0x00007f85bb6aaaf2 in QAction::triggered (this=this@entry=0x287b4d0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#50 0x00007f85bb6ac677 in QAction::activate (this=this@entry=0x287b4d0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#51 0x00007f85bbaffead in QMenuPrivate::activateCausedStack (this=this@entry=0x3da80d0, causedStack=..., action=action@entry=0x287b4d0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037
#52 0x00007f85bbb04869 in QMenuPrivate::activateAction (this=0x3da80d0, action=0x287b4d0, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1129
#53 0x00007f85bc76b0e3 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#54 0x00007f85bb7044d8 in QWidget::event (this=0x28d4100, event=0x7fffb20146f0) at kernel/qwidget.cpp:8775
#55 0x00007f85bbb0883b in QMenu::event (this=0x28d4100, e=0x7fffb20146f0) at widgets/qmenu.cpp:2480
#56 0x00007f85bb6b129c in QApplicationPrivate::notify_helper (this=this@entry=0x2263900, receiver=receiver@entry=0x28d4100, e=e@entry=0x7fffb20146f0) at kernel/qapplication.cpp:4570
#57 0x00007f85bb6b7f0f in QApplication::notify (this=<optimized out>, receiver=0x28d4100, e=0x7fffb20146f0) at kernel/qapplication.cpp:4113
#58 0x00007f85bc6a32ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#59 0x00007f85bb180f8d in QCoreApplication::notifyInternal (this=0x7fffb2014fc0, receiver=receiver@entry=0x28d4100, event=event@entry=0x7fffb20146f0) at kernel/qcoreapplication.cpp:955
#60 0x00007f85bb6b756f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#61 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x28d4100, event=event@entry=0x7fffb20146f0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x28d4100, buttonDown=buttonDown@entry=0x7f85bc1d3538 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#62 0x00007f85bb72e43a in QETWidget::translateMouseEvent (this=this@entry=0x28d4100, event=event@entry=0x7fffb2014a20) at kernel/qapplication_x11.cpp:4474
#63 0x00007f85bb72ca9c in QApplication::x11ProcessEvent (this=0x7fffb2014fc0, event=event@entry=0x7fffb2014a20) at kernel/qapplication_x11.cpp:3663
#64 0x00007f85bb755ad2 in x11EventSourceDispatch (s=0x2257230, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#65 0x00007f85b4895c5d in g_main_dispatch (context=0x2263c30) at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3111
#66 g_main_context_dispatch (context=context@entry=0x2263c30) at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3710
#67 0x00007f85b4895f48 in g_main_context_iterate (context=context@entry=0x2263c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3781
#68 0x00007f85b4895ffc in g_main_context_iteration (context=0x2263c30, may_block=1) at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3842
#69 0x00007f85bb1b04ed in QEventDispatcherGlib::processEvents (this=0x2256860, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#70 0x00007f85bb755b96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0x00007f85bb17fae1 in QEventLoop::processEvents (this=this@entry=0x7fffb2014e00, flags=...) at kernel/qeventloop.cpp:149
#72 0x00007f85bb17fe45 in QEventLoop::exec (this=this@entry=0x7fffb2014e00, flags=...) at kernel/qeventloop.cpp:204
#73 0x00007f85bb1858b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#74 0x000000000041035c in ?? ()
#75 0x00007f85ba968b45 in __libc_start_main (main=0x40a940, argc=1, argv=0x7fffb2015148, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb2015138) at libc-start.c:287
#76 0x0000000000410868 in _start ()

Possible duplicates by query: bug 335837.

Report to https://bugs.kde.org/

Reproducible: Always

Steps to Reproduce:
1. open Kdevelop
2. go to Settings/Configure Kdevelop
3.crash

Actual Results:  
it crashes

Expected Results:  
open the configuration dialog
Comment 1 Paolo Medici 2015-02-05 11:13:18 UTC
it is mandatory to clean up /usr/lib/kdev4/* before upgrade kdevelop (pharaps from a compiled version)

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