https://bugs.kde.org/show_bug.cgi?id=367954
Bug ID: 367954 Summary: KDevelop crashes when trying to access settings Product: kdevelop Version: 5.0.0 Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kdevelop-bugs-n...@kde.org Reporter: justusranv...@i2pmail.org Application: kdevelop (5.0.0) (Compiled from sources) Qt Version: 5.6.1 Frameworks Version: 5.25.0 Operating System: Linux 4.7.1+ x86_64 Distribution: "Gentoo Base System release 2.2" -- Information about the crash: - What I was doing when the application crashed: I was trying to bring up the settings window via the menu option. The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". 84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [Current thread is 1 (Thread 0x7fb2c071c840 (LWP 10080))] Thread 6 (Thread 0x7fb29b35e700 (LWP 10236)): #0 g_main_context_iterate (context=context@entry=0x7fb28c001cd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.48.1-r1/glib-2.48.1/glib/gmain.c:3847 #1 0x00007fb2d18f30fc in g_main_context_iteration (context=0x7fb28c001cd0, may_block=may_block@entry=1) at /usr/src/debug/dev-libs/glib-2.48.1-r1/glib-2.48.1/glib/gmain.c:3901 #2 0x00007fb2da1cadab in QEventDispatcherGlib::processEvents (this=0x7fb28c001c00, flags=...) at kernel/qeventdispatcher_glib.cpp:419 #3 0x00007fb2da17ad1a in QEventLoop::exec (this=this@entry=0x7fb29b35dd60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #4 0x00007fb2d9fd9f74 in QThread::exec (this=this@entry=0x25266e0) at thread/qthread.cpp:500 #5 0x00007fb2cff51d75 in QQmlThreadPrivate::run (this=0x25266e0) at qml/ftw/qqmlthread.cpp:141 #6 0x00007fb2d9fde41c in QThreadPrivate::start (arg=0x25266e0) at thread/qthread_unix.cpp:341 #7 0x00007fb2d38da434 in start_thread (arg=0x7fb29b35e700) at pthread_create.c:334 #8 0x00007fb2d988d29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 5 (Thread 0x7fb2a7c31700 (LWP 10085)): #0 pthread_cond_timedwait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00007fb2d9fdea68 in QWaitConditionPrivate::wait_relative (time=1000, this=0x1d2f6a0) at thread/qwaitcondition_unix.cpp:126 #2 QWaitConditionPrivate::wait (time=1000, this=0x1d2f6a0) at thread/qwaitcondition_unix.cpp:134 #3 QWaitCondition::wait (this=this@entry=0x1e0e298, mutex=mutex@entry=0x1e0e2a0, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:208 #4 0x00007fb2d797f588 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1e0e280) at /usr/src/debug/dev-util/kdevplatform-9999/kdevplatform-9999/language/duchain/duchain.cpp:282 #5 0x00007fb2d9fde41c in QThreadPrivate::start (arg=0x1e0e280) at thread/qthread_unix.cpp:341 #6 0x00007fb2d38da434 in start_thread (arg=0x7fb2a7c31700) at pthread_create.c:334 #7 0x00007fb2d988d29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7fb2a8830700 (LWP 10084)): #0 pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fb2b479d0f3 in cnd_wait (mtx=0x1f9d0c0, cond=0x1f9d0e8) at /usr/src/debug/media-libs/mesa-12.0.1/mesa-12.0.1/include/c11/threads_posix.h:159 #2 pipe_semaphore_wait (sema=0x1f9d0c0) at /usr/src/debug/media-libs/mesa-12.0.1/mesa-12.0.1/src/gallium/auxiliary/os/os_thread.h:259 #3 radeon_drm_cs_emit_ioctl (param=param@entry=0x1f9cc70) at /usr/src/debug/media-libs/mesa-12.0.1/mesa-12.0.1/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:710 #4 0x00007fb2b479c817 in impl_thrd_routine (p=<optimized out>) at /usr/src/debug/media-libs/mesa-12.0.1/mesa-12.0.1/include/c11/threads_posix.h:87 #5 0x00007fb2d38da434 in start_thread (arg=0x7fb2a8830700) at pthread_create.c:334 #6 0x00007fb2d988d29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7fb2bcd1b700 (LWP 10082)): #0 0x00007fb2d98842dd in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fb2d18f2fec in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fb2b0003020, timeout=<optimized out>, context=0x7fb2b0000990) at /usr/src/debug/dev-libs/glib-2.48.1-r1/glib-2.48.1/glib/gmain.c:4135 #2 g_main_context_iterate (context=context@entry=0x7fb2b0000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.48.1-r1/glib-2.48.1/glib/gmain.c:3835 #3 0x00007fb2d18f30fc in g_main_context_iteration (context=0x7fb2b0000990, may_block=may_block@entry=1) at /usr/src/debug/dev-libs/glib-2.48.1-r1/glib-2.48.1/glib/gmain.c:3901 #4 0x00007fb2da1cadab in QEventDispatcherGlib::processEvents (this=0x7fb2b00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419 #5 0x00007fb2da17ad1a in QEventLoop::exec (this=this@entry=0x7fb2bcd1ad50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #6 0x00007fb2d9fd9f74 in QThread::exec (this=this@entry=0x7fb2dc276f00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500 #7 0x00007fb2dc2045c5 in QDBusConnectionManager::run (this=0x7fb2dc276f00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189 #8 0x00007fb2d9fde41c in QThreadPrivate::start (arg=0x7fb2dc276f00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341 #9 0x00007fb2d38da434 in start_thread (arg=0x7fb2bcd1b700) at pthread_create.c:334 #10 0x00007fb2d988d29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7fb2be50c700 (LWP 10081)): #0 0x00007fb2d98842dd in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fb2cd97c8f2 in poll (__timeout=-1, __nfds=1, __fds=0x7fb2be50bc80) at /usr/include/bits/poll2.h:46 #2 _xcb_conn_wait (c=c@entry=0x1b09390, cond=cond@entry=0x1b093d0, vector=vector@entry=0x0, count=count@entry=0x0) at /usr/src/debug/x11-libs/libxcb-1.12/libxcb-1.12/src/xcb_conn.c:479 #3 0x00007fb2cd97e6f7 in xcb_wait_for_event (c=0x1b09390) at /usr/src/debug/x11-libs/libxcb-1.12/libxcb-1.12/src/xcb_in.c:693 #4 0x00007fb2c0440ce9 in QXcbEventReader::run (this=0x1b1c3d0) at qxcbconnection.cpp:1325 #5 0x00007fb2d9fde41c in QThreadPrivate::start (arg=0x1b1c3d0) at thread/qthread_unix.cpp:341 #6 0x00007fb2d38da434 in start_thread (arg=0x7fb2be50c700) at pthread_create.c:334 #7 0x00007fb2d988d29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7fb2c071c840 (LWP 10080)): [KCrash Handler] #6 QString::QString (other=..., this=0x210f850) at /usr/include/qt5/QtCore/qstring.h:889 #7 KDevelop::IPlugin::errorDescription (this=0x1df1240) at /usr/src/debug/dev-util/kdevplatform-9999/kdevplatform-9999/interfaces/iplugin.cpp:199 #8 0x00007fb2dbd8e779 in KDevelop::UiController::<lambda(KDevelop::IPlugin*)>::operator() (plugin=0x210f850, __closure=<synthetic pointer>) at /usr/src/debug/dev-util/kdevplatform-9999/kdevplatform-9999/shell/uicontroller.cpp:511 #9 KDevelop::UiController::showSettingsDialog (this=0x1bf1400) at /usr/src/debug/dev-util/kdevplatform-9999/kdevplatform-9999/shell/uicontroller.cpp:525 #10 0x00007fb2dbd74a7d in KDevelop::MainWindowPrivate::settingsDialog (this=<optimized out>) at /usr/src/debug/dev-util/kdevplatform-9999/kdevplatform-9999/shell/mainwindow_actions.cpp:112 #11 0x00007fb2dbe41e15 in KDevelop::MainWindowPrivate::qt_static_metacall (_o=0x1c56a90, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/dev-util/kdevplatform-9999/kdevplatform-9999_build/shell/moc_mainwindow_p.cpp:221 #12 0x00007fb2da1a3718 in QMetaObject::activate (sender=sender@entry=0x1c5a3d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffede0a2b00) at kernel/qobject.cpp:3730 #13 0x00007fb2da1a3fe7 in QMetaObject::activate (sender=sender@entry=0x1c5a3d0, m=m@entry=0x7fb2daed9660 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffede0a2b00) at kernel/qobject.cpp:3595 #14 0x00007fb2da9f8af2 in QAction::triggered (this=this@entry=0x1c5a3d0, _t1=false) at .moc/moc_qaction.cpp:369 #15 0x00007fb2da9fb5f0 in QAction::activate (this=this@entry=0x1c5a3d0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1163 #16 0x00007fb2dab66302 in QMenuPrivate::activateCausedStack (this=this@entry=0x1d1a5e0, causedStack=..., action=action@entry=0x1c5a3d0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130 #17 0x00007fb2dab6c4f6 in QMenuPrivate::activateAction (this=this@entry=0x1d1a5e0, action=action@entry=0x1c5a3d0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1207 #18 0x00007fb2dab706c9 in QMenu::mouseReleaseEvent (this=<optimized out>, e=0x7ffede0a3130) at widgets/qmenu.cpp:2634 #19 0x00007fb2daa471a8 in QWidget::event (this=this@entry=0x1c14400, event=event@entry=0x7ffede0a3130) at kernel/qwidget.cpp:9114 #20 0x00007fb2dab7114b in QMenu::event (this=0x1c14400, e=0x7ffede0a3130) at widgets/qmenu.cpp:2748 #21 0x00007fb2daa01fbc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1c14400, e=0x7ffede0a3130) at kernel/qapplication.cpp:3804 #22 0x00007fb2daa07cfe in QApplication::notify (this=<optimized out>, receiver=0x1c14400, e=0x7ffede0a3130) at kernel/qapplication.cpp:3277 #23 0x00007fb2da17beaa in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x1c14400, event=event@entry=0x7ffede0a3130) at kernel/qcoreapplication.cpp:1015 #24 0x00007fb2daa069f5 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:225 #25 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1c14400, event=event@entry=0x7ffede0a3130, alienWidget=0x0, alienWidget@entry=0x1c14400, nativeWidget=0x1c14400, buttonDown=buttonDown@entry=0x7fb2daf04a90 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2775 #26 0x00007fb2daa61cf7 in QWidgetWindow::handleMouseEvent (this=this@entry=0x1c5b050, event=event@entry=0x7ffede0a3540) at kernel/qwidgetwindow.cpp:501 #27 0x00007fb2daa63fb3 in QWidgetWindow::event (this=0x1c5b050, event=0x7ffede0a3540) at kernel/qwidgetwindow.cpp:233 #28 0x00007fb2daa01fbc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1c5b050, e=0x7ffede0a3540) at kernel/qapplication.cpp:3804 #29 0x00007fb2daa074a6 in QApplication::notify (this=0x7ffede0a3ad0, receiver=0x1c5b050, e=0x7ffede0a3540) at kernel/qapplication.cpp:3561 #30 0x00007fb2da17beaa in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x1c5b050, event=event@entry=0x7ffede0a3540) at kernel/qcoreapplication.cpp:1015 #31 0x00007fb2da4b48fb in QCoreApplication::sendSpontaneousEvent (event=0x7ffede0a3540, receiver=0x1c5b050) at ../../src/corelib/kernel/qcoreapplication.h:228 #32 QGuiApplicationPrivate::processMouseEvent (e=0x36cd7d0) at kernel/qguiapplication.cpp:1877 #33 0x00007fb2da4b6435 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x36cd7d0) at kernel/qguiapplication.cpp:1661 #34 0x00007fb2da49720b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:648 #35 0x00007fb2c0476be0 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70 #36 0x00007fb2d18f2df7 in g_main_dispatch (context=0x7fb2b80016f0) at /usr/src/debug/dev-libs/glib-2.48.1-r1/glib-2.48.1/glib/gmain.c:3154 #37 g_main_context_dispatch (context=context@entry=0x7fb2b80016f0) at /usr/src/debug/dev-libs/glib-2.48.1-r1/glib-2.48.1/glib/gmain.c:3769 #38 0x00007fb2d18f3050 in g_main_context_iterate (context=context@entry=0x7fb2b80016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.48.1-r1/glib-2.48.1/glib/gmain.c:3840 #39 0x00007fb2d18f30fc in g_main_context_iteration (context=0x7fb2b80016f0, may_block=may_block@entry=1) at /usr/src/debug/dev-libs/glib-2.48.1-r1/glib-2.48.1/glib/gmain.c:3901 #40 0x00007fb2da1cad8f in QEventDispatcherGlib::processEvents (this=0x1b731c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #41 0x00007fb2da17ad1a in QEventLoop::exec (this=this@entry=0x7ffede0a38f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #42 0x00007fb2da1827cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285 #43 0x00007fb2da4abccc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1607 #44 0x00007fb2da9fef75 in QApplication::exec () at kernel/qapplication.cpp:2979 #45 0x000000000040b956 in main (argc=1, argv=<optimized out>) at /usr/src/debug/dev-util/kdevelop-9999/kdevelop-9999/app/main.cpp:746 Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.