Bug 335412 - Crash on reopen open project (reproducible)
Summary: Crash on reopen open project (reproducible)
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
: 389564 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-27 12:38 UTC by Aleksey Midenkov
Modified: 2022-11-07 05:09 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Project files for crash reproduction (284 bytes, application/x-gzip)
2014-05-27 12:40 UTC, Aleksey Midenkov
Details
New crash information added by DrKonqi (34.87 KB, text/plain)
2020-04-25 22:34 UTC, Andrej
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Midenkov 2014-05-27 12:38:09 UTC
Application: kdevelop (4.6.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-lowlatency x86_64
Distribution: Ubuntu 12.04 LTS

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

1. Extract attached archive to /tmp;
2. Run KDevelop
3. Project -> Open/Import project -> /tmp/b/b.kdev4 -> Finish;
4. Project -> Open/Import project -> /tmp/b/b.kdev4 -> Finish;
5. On question "Reopen the current project?" answer: Yes!
6. Right-click on 'b' project, 'Open configuration' -> Core dumped!

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".
gobject.py: gdb was not built with custom backtrace support, disabling.
[Current thread is 1 (Thread 0x7f2843c38800 (LWP 1085))]

Thread 9 (Thread 0x7f2825bca700 (LWP 1086)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f283cba1ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f283cba2039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f283226a8f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#4  0x00007f283f769182 in start_thread (arg=0x7f2825bca700) at pthread_create.c:312
#5  0x00007f284040b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f27a484a700 (LWP 1087)):
#0  0x00007f28403fdfbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f283a7c6fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f283a7c70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28418367be in QEventDispatcherGlib::processEvents (this=0x7f27a00008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f28418080af in QEventLoop::processEvents (this=this@entry=0x7f27a4849ce0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f28418083a5 in QEventLoop::exec (this=0x7f27a4849ce0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2841704c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007f28417e9823 in QInotifyFileSystemWatcherEngine::run (this=0x19d1060) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f284170732f in QThreadPrivate::start (arg=0x19d1060) at thread/qthread_unix.cpp:349
#9  0x00007f283226a8f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x00007f283f769182 in start_thread (arg=0x7f27a484a700) at pthread_create.c:312
#11 0x00007f284040b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f279fc4a700 (LWP 1088)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f28417077f4 in wait (time=1000, this=0x2d3a970) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1a7b4d0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f283d834e42 in ?? () from /usr/lib/libkdevplatformlanguage.so.7
#4  0x00007f284170732f in QThreadPrivate::start (arg=0x1a7b4b0) at thread/qthread_unix.cpp:349
#5  0x00007f283226a8f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f283f769182 in start_thread (arg=0x7f279fc4a700) at pthread_create.c:312
#7  0x00007f284040b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f2794251700 (LWP 1089)):
#0  0x00007f28403fc6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f28322698dc in ?? () from /usr/lib/nvidia-304/libGL.so.1
#2  0x00007f2830e90bf7 in ?? () from /usr/lib/nvidia-304/tls/libnvidia-tls.so.304.117
#3  0x00007f283a807c00 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f283a7c6b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f283a7c6f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f283a7c70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f28418367be in QEventDispatcherGlib::processEvents (this=0x7f278c0008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#8  0x00007f28418080af in QEventLoop::processEvents (this=this@entry=0x7f2794250d20, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f28418083a5 in QEventLoop::exec (this=0x7f2794250d20, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f2841704c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#11 0x00007f284170732f in QThreadPrivate::start (arg=0x35f5518) at thread/qthread_unix.cpp:349
#12 0x00007f283226a8f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#13 0x00007f283f769182 in start_thread (arg=0x7f2794251700) at pthread_create.c:312
#14 0x00007f284040b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f278a765700 (LWP 1110)):
#0  0x00007f28403fc6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f28322698dc in ?? () from /usr/lib/nvidia-304/libGL.so.1
#2  0x00007f2830e90bf7 in ?? () from /usr/lib/nvidia-304/tls/libnvidia-tls.so.304.117
#3  0x00007f283a807c00 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f283a7c6b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f283a7c6f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f283a7c70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f28418367be in QEventDispatcherGlib::processEvents (this=0x7f2774003130, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#8  0x00007f28418080af in QEventLoop::processEvents (this=this@entry=0x7f278a764ce0, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f28418083a5 in QEventLoop::exec (this=0x7f278a764ce0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f2841704c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#11 0x00007f28417e9823 in QInotifyFileSystemWatcherEngine::run (this=0x400cda0) at io/qfilesystemwatcher_inotify.cpp:265
#12 0x00007f284170732f in QThreadPrivate::start (arg=0x400cda0) at thread/qthread_unix.cpp:349
#13 0x00007f283226a8f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#14 0x00007f283f769182 in start_thread (arg=0x7f278a765700) at pthread_create.c:312
#15 0x00007f284040b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f278af66700 (LWP 1180)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f283756f3bd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f283756f3f9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f283226a8f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#4  0x00007f283f769182 in start_thread (arg=0x7f278af66700) at pthread_create.c:312
#5  0x00007f284040b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f27896db700 (LWP 1182)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f28372afd2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f283759ec76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f283226a8f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#4  0x00007f283f769182 in start_thread (arg=0x7f27896db700) at pthread_create.c:312
#5  0x00007f284040b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f2788ada700 (LWP 1186)):
#0  0x00007fffa398c988 in ?? ()
#1  0x00007f2788ad9ae0 in ?? ()
#2  0x00007f2843c3a108 in ?? ()
#3  0x0000000000000001 in ?? ()
#4  0x00007f2724002d30 in ?? ()
#5  0x00007f2788ad9b68 in ?? ()
#6  0x00007f2788ad9b00 in ?? ()
#7  0x000000007fffffff in ?? ()
#8  0x00007f28418366f0 in ?? () at kernel/qeventdispatcher_glib.cpp:223 from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f2788ad9b70 in ?? ()
#10 0x00007f28404197bd in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#11 0x00007f284175bad7 in do_gettime (frac=0x7f2788ad9ab0, sec=0x7f2788ad9aa8) at tools/qelapsedtimer_unix.cpp:127
#12 qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#13 0x00007f2841837f05 in updateCurrentTime (this=0xffffffffffdff000) at kernel/qeventdispatcher_unix.cpp:354
#14 QTimerInfoList::timerWait (this=0xffffffffffdff000, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#15 0x00007f284183667c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f2788ad9b64) at kernel/qeventdispatcher_glib.cpp:143
#16 0x00007f2841836725 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#17 0x00007f283a7c668d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f283a7c6f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f283a7c70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f28418367be in QEventDispatcherGlib::processEvents (this=0x7f27240008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#21 0x00007f28418080af in QEventLoop::processEvents (this=this@entry=0x7f2788ad9d20, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f28418083a5 in QEventLoop::exec (this=0x7f2788ad9d20, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f2841704c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#24 0x00007f284170732f in QThreadPrivate::start (arg=0x39c9ed0) at thread/qthread_unix.cpp:349
#25 0x00007f283226a8f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#26 0x00007f283f769182 in start_thread (arg=0x7f2788ada700) at pthread_create.c:312
#27 0x00007f284040b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f2843c38800 (LWP 1085)):
[KCrash Handler]
#6  0x00007f28433aa407 in KDevelop::IPlugin::extensions() const () from /usr/lib/libkdevplatforminterfaces.so.7
#7  0x00007f28430fc749 in KDevelop::Project::buildSystemManager() const () from /usr/lib/libkdevplatformshell.so.7
#8  0x00007f28430fb4aa in ?? () from /usr/lib/libkdevplatformshell.so.7
#9  0x00007f2792330abd in ?? () from /usr/lib/kde4/kdevprojectmanagerview.so
#10 0x00007f284181d87a in QMetaObject::activate (sender=0x1be4830, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa392d7f0) at kernel/qobject.cpp:3539
#11 0x00007f2840b9ca62 in QAction::triggered (this=this@entry=0x1be4830, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#12 0x00007f2840b9e433 in QAction::activate (this=0x1be4830, event=<optimized out>) at kernel/qaction.cpp:1257
#13 0x00007f2840fcc489 in QMenuPrivate::activateCausedStack (this=this@entry=0x4868b60, causedStack=..., action=action@entry=0x1be4830, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#14 0x00007f2840fd09b9 in QMenuPrivate::activateAction (this=0x4868b60, action=0x1be4830, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1130
#15 0x00007f28420c44f5 in KMenu::mouseReleaseEvent (this=0x7fffa392e7b0, e=0x7fffa392df20) at ../../kdeui/widgets/kmenu.cpp:464
#16 0x00007f2840bf250a in QWidget::event (this=0x7fffa392e7b0, event=0x7fffa392df20) at kernel/qwidget.cpp:8376
#17 0x00007f2840fd47bb in QMenu::event (this=0x7fffa392e7b0, e=0x7fffa392df20) at widgets/qmenu.cpp:2481
#18 0x00007f2840ba2e2c in QApplicationPrivate::notify_helper (this=this@entry=0x17a6960, receiver=receiver@entry=0x7fffa392e7b0, e=e@entry=0x7fffa392df20) at kernel/qapplication.cpp:4567
#19 0x00007f2840ba95dd in QApplication::notify (this=<optimized out>, receiver=0x7fffa392e7b0, e=0x7fffa392df20) at kernel/qapplication.cpp:4110
#20 0x00007f284200dbaa in KApplication::notify (this=0x7fffa392f8c0, receiver=0x7fffa392e7b0, event=0x7fffa392df20) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f28418094dd in QCoreApplication::notifyInternal (this=0x7fffa392f8c0, receiver=0x7fffa392e7b0, event=0x7fffa392df20) at kernel/qcoreapplication.cpp:953
#22 0x00007f2840ba8d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QApplicationPrivate::sendMouseEvent (receiver=0x7fffa392e7b0, event=0x7fffa392df20, alienWidget=0x0, nativeWidget=0x7fffa392e7b0, buttonDown=0x7f2841688318 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#24 0x00007f2840c1dcfc in QETWidget::translateMouseEvent (this=this@entry=0x7fffa392e7b0, event=event@entry=0x7fffa392e270) at kernel/qapplication_x11.cpp:4568
#25 0x00007f2840c1d269 in QApplication::x11ProcessEvent (this=0x7fffa392f8c0, event=0x7fffa392e270) at kernel/qapplication_x11.cpp:3627
#26 0x00007f2840c44b02 in x11EventSourceDispatch (s=0x17a7620, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x00007f283a7c6e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f283a7c7048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f283a7c70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f28418367be in QEventDispatcherGlib::processEvents (this=0x17a5ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#31 0x00007f2840c44bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f28418080af in QEventLoop::processEvents (this=this@entry=0x7fffa392e650, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f28418083a5 in QEventLoop::exec (this=0x7fffa392e650, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f2840fd3587 in QMenu::exec (this=0x7fffa392e7b0, p=..., action=0x0) at widgets/qmenu.cpp:2125
#35 0x00007f2792330191 in ?? () from /usr/lib/kde4/kdevprojectmanagerview.so
#36 0x00007f2792330ab1 in ?? () from /usr/lib/kde4/kdevprojectmanagerview.so
#37 0x00007f284181d87a in QMetaObject::activate (sender=0x3a062f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa392e940) at kernel/qobject.cpp:3539
#38 0x00007f2840be4a62 in QWidget::customContextMenuRequested (this=this@entry=0x3a062f0, _t1=...) at .moc/release-shared/moc_qwidget.cpp:373
#39 0x00007f2840bf28e7 in QWidget::event (this=0x3a062f0, event=0x7fffa392efd0) at kernel/qwidget.cpp:8557
#40 0x00007f2840f93fce in QFrame::event (this=0x3a062f0, e=0x7fffa392efd0) at widgets/qframe.cpp:557
#41 0x00007f28410a35b3 in QAbstractItemView::viewportEvent (this=0x3a062f0, event=0x7fffa392efd0) at itemviews/qabstractitemview.cpp:1644
#42 0x00007f28410e2190 in QTreeView::viewportEvent (this=0x3a062f0, event=0x7fffa392efd0) at itemviews/qtreeview.cpp:1252
#43 0x00007f2841809646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x3a06010, event=0x7fffa392efd0) at kernel/qcoreapplication.cpp:1063
#44 0x00007f2840ba2e0c in QApplicationPrivate::notify_helper (this=this@entry=0x17a6960, receiver=receiver@entry=0x3a06010, e=e@entry=0x7fffa392efd0) at kernel/qapplication.cpp:4563
#45 0x00007f2840baa1f8 in QApplication::notify (this=<optimized out>, receiver=0x3a06010, e=0x7fffa392efd0) at kernel/qapplication.cpp:4189
#46 0x00007f284200dbaa in KApplication::notify (this=0x7fffa392f8c0, receiver=0x3a06010, event=0x7fffa392efd0) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007f28418094dd in QCoreApplication::notifyInternal (this=0x7fffa392f8c0, receiver=0x3a06010, event=0x7fffa392efd0) at kernel/qcoreapplication.cpp:953
#48 0x00007f2840c1da20 in sendSpontaneousEvent (event=0x7fffa392efd0, receiver=0x3a06010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#49 QETWidget::translateMouseEvent (this=this@entry=0x391c550, event=event@entry=0x7fffa392f320) at kernel/qapplication_x11.cpp:4639
#50 0x00007f2840c1d269 in QApplication::x11ProcessEvent (this=0x7fffa392f8c0, event=0x7fffa392f320) at kernel/qapplication_x11.cpp:3627
#51 0x00007f2840c44b02 in x11EventSourceDispatch (s=0x17a7620, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#52 0x00007f283a7c6e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f283a7c7048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f283a7c70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f28418367a1 in QEventDispatcherGlib::processEvents (this=0x17a5ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#56 0x00007f2840c44bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f28418080af in QEventLoop::processEvents (this=this@entry=0x7fffa392f6f0, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f28418083a5 in QEventLoop::exec (this=0x7fffa392f6f0, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007f284180db79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#60 0x0000000000410767 in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:566

Reported using DrKonqi
Comment 1 Aleksey Midenkov 2014-05-27 12:40:22 UTC
Created attachment 86858 [details]
Project files for crash reproduction
Comment 2 Sven Brauch 2015-10-13 12:30:04 UTC
Yes, this actually crashes. I guess reopening does not properly repopulate the projects tree and the "open config" action is executed on the old project object.
Comment 3 Milian Wolff 2015-11-01 19:11:31 UTC
Sven, did you reproduce this with KDevelop 5? For me it seems to work just fine.
Comment 4 Sven Brauch 2015-11-01 19:59:32 UTC
Yes I did. Did you follow the steps described in the original post exactly?
Comment 5 Milian Wolff 2015-11-01 23:47:29 UTC
Yes. It did not crash. I'll retry with valgrind once I have the time.
Comment 6 Sven Brauch 2015-11-01 23:52:52 UTC
I just tried it again, still happens here.
Comment 7 Sven Brauch 2015-11-01 23:54:27 UTC
better backtrace:

(gdb) thread apply all bt

Thread 18 (Thread 0x7fff94c2f700 (LWP 3069)):
#0  0x00007fffefe0791d in nanosleep () from /usr/lib/libc.so.6
#1  0x00007ffff0af50ad in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff0a43da4 in QThread::usleep(unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007fffee65fa3e in KDevelop::DUChainLock::lockForWrite (this=0x7fffeedcc760 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, timeout=0) at ../language/duchain/duchainlock.cpp:155
#4  0x00007fffee65fc4c in KDevelop::DUChainWriteLocker::lock (this=0x7fff94c2e370) at ../language/duchain/duchainlock.cpp:249
#5  0x00007fff9ced1b8e in KDevelop::ListType::addContentType<Python::UnsureType> (typeToAdd=..., this=0x7fff8c3265d0) at /home/sven/install5/include/kdevplatform/language/duchain/types/containertypes.h:101
#6  Python::ExpressionVisitor::visitList (this=0x7fff94c2e4d0, node=<optimized out>) at ../duchain/expressionvisitor.cpp:448
#7  0x00007fff9ced1b08 in Python::ExpressionVisitor::visitList (this=0x7fff94c2e5e0, node=<optimized out>) at ../duchain/expressionvisitor.cpp:447
#8  0x00007fff9cef0a47 in Python::DeclarationBuilder::sourcesOfAssignment (this=this@entry=0x7fff94c2eb80, items=0x7fff8c4f66c0, fillWhenLengthMissing=<optimized out>) at ../duchain/declarationbuilder.cpp:1228
#9  0x00007fff9cef6fdf in Python::DeclarationBuilder::visitAssignment (this=0x7fff94c2eb80, node=0x7fff8c0a46a0) at ../duchain/declarationbuilder.cpp:1410
#10 0x00007fffad23a40a in Python::AstDefaultVisitor::visitCode (this=this@entry=0x7fff94c2ebd8, node=node@entry=0x7fff8c0a4840) at ../parser/astdefaultvisitor.cpp:79
#11 0x00007fff9cee6692 in Python::ContextBuilder::visitCode (this=this@entry=0x7fff94c2eb80, node=node@entry=0x7fff8c0a4840) at ../duchain/contextbuilder.cpp:319
#12 0x00007fff9ceead32 in Python::DeclarationBuilder::visitCode (this=0x7fff94c2eb80, node=0x7fff8c0a4840) at ../duchain/declarationbuilder.cpp:367
#13 0x00007fff9cefbc4d in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::supportBuild (context=0x7fff8c3922d0, node=0x7fff8c0a4840, this=0x7fff94c2eb80) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:134
#14 KDevelop::AbstractTypeBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::supportBuild (this=0x7fff94c2eb80, node=0x7fff8c0a4840, context=<optimized out>) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85
#15 0x00007fff9cee59dd in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::build (updateContext=..., node=0x7fff8c0a4840, url=..., this=0x7fff94c2eb80) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:114
#16 Python::ContextBuilder::build (this=this@entry=0x7fff94c2eb80, url=..., node=node@entry=0x7fff8c0a4840, updateContext=...) at ../duchain/contextbuilder.cpp:74
#17 0x00007fff9ceea973 in Python::DeclarationBuilder::build (this=this@entry=0x7fff94c2eb80, url=..., node=node@entry=0x7fff8c0a4840, updateContext=...) at ../duchain/declarationbuilder.cpp:107
#18 0x00007fff9d3720ef in Python::ParseJob::run (this=0x2925910) at ../pythonparsejob.cpp:170
#19 0x00007fffec2fd6c0 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#20 0x00007fffec2fdd00 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#21 0x00007fffec2fcb8a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#22 0x00007fffec2fc2da in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5
#23 0x00007ffff0a4496e in ?? () from /usr/lib/libQt5Core.so.5
#24 0x00007fffe97e94a4 in start_thread () from /usr/lib/libpthread.so.0
#25 0x00007fffefe3813d in clone () from /usr/lib/libc.so.6

Thread 17 (Thread 0x7fff9605b700 (LWP 3068)):
#0  0x00007fffefe0791d in nanosleep () from /usr/lib/libc.so.6
#1  0x00007ffff0af50ad in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff0a43da4 in QThread::usleep(unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007fffee65fa3e in KDevelop::DUChainLock::lockForWrite (this=0x7fffeedcc760 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, timeout=0) at ../language/duchain/duchainlock.cpp:155
#4  0x00007fffee65fc4c in KDevelop::DUChainWriteLocker::lock (this=0x7fff9605a460) at ../language/duchain/duchainlock.cpp:249
#5  0x00007fff9cf05a93 in KDevelop::AbstractUseBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::newUse (this=this@entry=0x7fff9605aa90, node=node@entry=0x7fff90edbc20, newRange=..., _declaration=...) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractusebuilder.h:127
#6  0x00007fff9cf026d4 in Python::UseBuilder::visitName (this=0x7fff9605aa90, node=0x7fff90edbc20) at ../duchain/usebuilder.cpp:112
#7  0x00007fffad2395f6 in Python::AstDefaultVisitor::visitAttribute (this=0x7fff9605aae8, node=0x7fff90edbd40) at ../parser/astdefaultvisitor.cpp:407
#8  0x00007fff9cf02d98 in Python::UseBuilder::visitAttribute (this=0x7fff9605aa90, node=0x7fff90edbd40) at ../duchain/usebuilder.cpp:118
#9  0x00007fffad23a2b4 in Python::AstDefaultVisitor::visitAssignment (this=0x7fff9605aae8, node=0x7fff90edbc70) at ../parser/astdefaultvisitor.cpp:376
#10 0x00007fffad23a842 in Python::AstDefaultVisitor::visitIf (this=0x7fff9605aae8, node=0x7fff90edba90) at ../parser/astdefaultvisitor.cpp:138
#11 0x00007fff9cee4f12 in Python::ContextBuilder::visitNodeList<Python::Ast> (l=..., this=0x7fff9605aa90) at ../duchain/contextbuilder.h:179
#12 Python::ContextBuilder::visitFunctionBody (this=0x7fff9605aa90, node=<optimized out>) at ../duchain/contextbuilder.cpp:475
#13 0x00007fff9cee3252 in Python::ContextBuilder::visitFunctionDefinition (this=0x7fff9605aa90, node=0x7fff90edb2c0) at ../duchain/contextbuilder.cpp:442
#14 0x00007fffad23af69 in Python::AstDefaultVisitor::visitClassDefinition (this=this@entry=0x7fff9605aae8, node=node@entry=0x7fff90d7e5c0) at ../parser/astdefaultvisitor.cpp:348
#15 0x00007fff9cee6325 in Python::ContextBuilder::visitClassDefinition (this=0x7fff9605aa90, node=0x7fff90d7e5c0) at ../duchain/contextbuilder.cpp:293
#16 0x00007fffad23a40a in Python::AstDefaultVisitor::visitCode (this=this@entry=0x7fff9605aae8, node=node@entry=0x7fff90b04470) at ../parser/astdefaultvisitor.cpp:79
#17 0x00007fff9cee6692 in Python::ContextBuilder::visitCode (this=0x7fff9605aa90, node=0x7fff90b04470) at ../duchain/contextbuilder.cpp:319
#18 0x00007fff9d372734 in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::supportBuild (context=<optimized out>, node=0x7fff90b04470, this=0x7fff9605aa90) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:134
#19 KDevelop::AbstractUseBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::buildUses (node=0x7fff90b04470, this=0x7fff9605aa90) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractusebuilder.h:72
#20 Python::ParseJob::run (this=<optimized out>) at ../pythonparsejob.cpp:180
#21 0x00007fffec2fd6c0 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#22 0x00007fffec2fdd00 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#23 0x00007fffec2fcb8a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#24 0x00007fffec2fc2da in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5
#25 0x00007ffff0a4496e in ?? () from /usr/lib/libQt5Core.so.5
#26 0x00007fffe97e94a4 in start_thread () from /usr/lib/libpthread.so.0
#27 0x00007fffefe3813d in clone () from /usr/lib/libc.so.6

Thread 16 (Thread 0x7fff9585a700 (LWP 3067)):
#0  0x00007fffefe0791d in nanosleep () from /usr/lib/libc.so.6
#1  0x00007ffff0af50ad in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff0a43da4 in QThread::usleep(unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007fffee65fa3e in KDevelop::DUChainLock::lockForWrite (this=0x7fffeedcc760 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, timeout=0) at ../language/duchain/duchainlock.cpp:155
#4  0x00007fffee65fc4c in KDevelop::DUChainWriteLocker::lock (this=0x7fff95859320) at ../language/duchain/duchainlock.cpp:249
#5  0x00007fff9cefdeef in Python::DeclarationBuilder::visitVariableDeclaration<KDevelop::Declaration> (this=this@entry=0x7fff95859b80, node=0x7fff882466b0, originalAst=originalAst@entry=0x0, previous=previous@entry=0x0, type=...) at ../duchain/declarationbuilder.cpp:254
#6  0x00007fff9cef6008 in Python::DeclarationBuilder::visitArguments (this=0x7fff95859b80, node=0x7fff883645b0) at ../duchain/declarationbuilder.cpp:1878
#7  0x00007fff9cee4729 in Python::ContextBuilder::visitFunctionArguments (this=0x7fff95859b80, node=0x7fff88801d00) at ../duchain/contextbuilder.cpp:430
#8  0x00007fff9cef7813 in Python::DeclarationBuilder::visitFunctionDefinition (this=0x7fff95859b80, node=0x7fff88801d00) at ../duchain/declarationbuilder.cpp:1582
#9  0x00007fffad23a40a in Python::AstDefaultVisitor::visitCode (this=this@entry=0x7fff95859bd8, node=node@entry=0x7fff88838a90) at ../parser/astdefaultvisitor.cpp:79
#10 0x00007fff9cee6692 in Python::ContextBuilder::visitCode (this=this@entry=0x7fff95859b80, node=node@entry=0x7fff88838a90) at ../duchain/contextbuilder.cpp:319
#11 0x00007fff9ceead32 in Python::DeclarationBuilder::visitCode (this=0x7fff95859b80, node=0x7fff88838a90) at ../duchain/declarationbuilder.cpp:367
#12 0x00007fff9cefbc4d in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::supportBuild (context=0x7fff885903b0, node=0x7fff88838a90, this=0x7fff95859b80) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:134
#13 KDevelop::AbstractTypeBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::supportBuild (this=0x7fff95859b80, node=0x7fff88838a90, context=<optimized out>) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85
#14 0x00007fff9cee59dd in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::build (updateContext=..., node=0x7fff88838a90, url=..., this=0x7fff95859b80) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:114
#15 Python::ContextBuilder::build (this=this@entry=0x7fff95859b80, url=..., node=node@entry=0x7fff88838a90, updateContext=...) at ../duchain/contextbuilder.cpp:74
#16 0x00007fff9ceea973 in Python::DeclarationBuilder::build (this=this@entry=0x7fff95859b80, url=..., node=node@entry=0x7fff88838a90, updateContext=...) at ../duchain/declarationbuilder.cpp:107
#17 0x00007fff9d3720ef in Python::ParseJob::run (this=0x28bc030) at ../pythonparsejob.cpp:170
#18 0x00007fffec2fd6c0 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#19 0x00007fffec2fdd00 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#20 0x00007fffec2fcb8a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#21 0x00007fffec2fc2da in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5
#22 0x00007ffff0a4496e in ?? () from /usr/lib/libQt5Core.so.5
#23 0x00007fffe97e94a4 in start_thread () from /usr/lib/libpthread.so.0
#24 0x00007fffefe3813d in clone () from /usr/lib/libc.so.6

Thread 15 (Thread 0x7fffcf39d700 (LWP 3066)):
#0  0x00007fffefe0791d in nanosleep () from /usr/lib/libc.so.6
#1  0x00007ffff0af50ad in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff0a43da4 in QThread::usleep(unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007fffee65fa3e in KDevelop::DUChainLock::lockForWrite (this=0x7fffeedcc760 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, timeout=0) at ../language/duchain/duchainlock.cpp:155
#4  0x00007fffee65fc4c in KDevelop::DUChainWriteLocker::lock (this=0x7fffcf39c4d0) at ../language/duchain/duchainlock.cpp:249
#5  0x00007fff9ceebcf5 in Python::DeclarationBuilder::assignToName (this=0x7fffcf39cb80, target=0x7fffc8bd4d80, element=...) at ../duchain/declarationbuilder.cpp:1293
#6  0x00007fff9cef7176 in Python::DeclarationBuilder::visitAssignment (this=0x7fffcf39cb80, node=0x7fffc8c4ec40) at ../duchain/declarationbuilder.cpp:1421
#7  0x00007fff9cef03a8 in Python::DeclarationBuilder::visitClassDefinition (this=0x7fffcf39cb80, node=0x7fffc8c04320) at ../duchain/declarationbuilder.cpp:1517
#8  0x00007fffad23a40a in Python::AstDefaultVisitor::visitCode (this=this@entry=0x7fffcf39cbd8, node=node@entry=0x7fffc8d29950) at ../parser/astdefaultvisitor.cpp:79
#9  0x00007fff9cee6692 in Python::ContextBuilder::visitCode (this=this@entry=0x7fffcf39cb80, node=node@entry=0x7fffc8d29950) at ../duchain/contextbuilder.cpp:319
#10 0x00007fff9ceead32 in Python::DeclarationBuilder::visitCode (this=0x7fffcf39cb80, node=0x7fffc8d29950) at ../duchain/declarationbuilder.cpp:367
#11 0x00007fff9cefbc4d in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::supportBuild (context=0x7fffc8bff350, node=0x7fffc8d29950, this=0x7fffcf39cb80) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:134
#12 KDevelop::AbstractTypeBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::supportBuild (this=0x7fffcf39cb80, node=0x7fffc8d29950, context=<optimized out>) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85
#13 0x00007fff9cee59dd in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::build (updateContext=..., node=0x7fffc8d29950, url=..., this=0x7fffcf39cb80) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:114
#14 Python::ContextBuilder::build (this=this@entry=0x7fffcf39cb80, url=..., node=node@entry=0x7fffc8d29950, updateContext=...) at ../duchain/contextbuilder.cpp:74
#15 0x00007fff9ceea973 in Python::DeclarationBuilder::build (this=this@entry=0x7fffcf39cb80, url=..., node=node@entry=0x7fffc8d29950, updateContext=...) at ../duchain/declarationbuilder.cpp:107
#16 0x00007fff9d3720ef in Python::ParseJob::run (this=0x5232870) at ../pythonparsejob.cpp:170
#17 0x00007fffec2fd6c0 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#18 0x00007fffec2fdd00 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#19 0x00007fffec2fcb8a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#20 0x00007fffec2fc2da in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5
#21 0x00007ffff0a4496e in ?? () from /usr/lib/libQt5Core.so.5
#22 0x00007fffe97e94a4 in start_thread () from /usr/lib/libpthread.so.0
#23 0x00007fffefe3813d in clone () from /usr/lib/libc.so.6

Thread 14 (Thread 0x7fffcd1bd700 (LWP 3065)):
#0  0x00007fffefe0791d in nanosleep () from /usr/lib/libc.so.6
#1  0x00007ffff0af50ad in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff0a43da4 in QThread::usleep(unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007fffee65f892 in KDevelop::DUChainLock::lockForRead (this=0x7fffeedcc760 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, timeout=0) at ../language/duchain/duchainlock.cpp:100
#4  0x00007fffee65fb8c in KDevelop::DUChainReadLocker::lock (this=0x7fffcd1bc100) at ../language/duchain/duchainlock.cpp:211
#5  0x00007fff9ced3efb in Python::ExpressionVisitor::visitString (this=0x7fffcd1bc1e0) at ../duchain/expressionvisitor.cpp:609
#6  0x00007fff9cef0a47 in Python::DeclarationBuilder::sourcesOfAssignment (this=this@entry=0x7fffcd1bcb80, items=0x7fffc0af2200, fillWhenLengthMissing=<optimized out>) at ../duchain/declarationbuilder.cpp:1228
#7  0x00007fff9cef6fdf in Python::DeclarationBuilder::visitAssignment (this=0x7fffcd1bcb80, node=0x7fffc0af2020) at ../duchain/declarationbuilder.cpp:1410
#8  0x00007fffad23a842 in Python::AstDefaultVisitor::visitIf (this=0x7fffcd1bcbd8, node=0x7fffc0af1e40) at ../parser/astdefaultvisitor.cpp:138
#9  0x00007fffad23a842 in Python::AstDefaultVisitor::visitIf (this=0x7fffcd1bcbd8, node=0x7fffc0af1780) at ../parser/astdefaultvisitor.cpp:138
#10 0x00007fff9cee4f12 in Python::ContextBuilder::visitNodeList<Python::Ast> (l=..., this=0x7fffcd1bcb80) at ../duchain/contextbuilder.h:179
#11 Python::ContextBuilder::visitFunctionBody (this=0x7fffcd1bcb80, node=<optimized out>) at ../duchain/contextbuilder.cpp:475
#12 0x00007fff9cef78f9 in Python::DeclarationBuilder::visitFunctionDefinition (this=0x7fffcd1bcb80, node=0x7fffc0ae7100) at ../duchain/declarationbuilder.cpp:1604
#13 0x00007fff9cef03a8 in Python::DeclarationBuilder::visitClassDefinition (this=0x7fffcd1bcb80, node=0x7fffc0773020) at ../duchain/declarationbuilder.cpp:1517
#14 0x00007fffad23a40a in Python::AstDefaultVisitor::visitCode (this=this@entry=0x7fffcd1bcbd8, node=node@entry=0x7fffc06479a0) at ../parser/astdefaultvisitor.cpp:79
#15 0x00007fff9cee6692 in Python::ContextBuilder::visitCode (this=this@entry=0x7fffcd1bcb80, node=node@entry=0x7fffc06479a0) at ../duchain/contextbuilder.cpp:319
#16 0x00007fff9ceead32 in Python::DeclarationBuilder::visitCode (this=0x7fffcd1bcb80, node=0x7fffc06479a0) at ../duchain/declarationbuilder.cpp:367
#17 0x00007fff9cefbc4d in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::supportBuild (context=0x28753c0, node=0x7fffc06479a0, this=0x7fffcd1bcb80) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:134
#18 KDevelop::AbstractTypeBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::supportBuild (this=0x7fffcd1bcb80, node=0x7fffc06479a0, context=<optimized out>) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85
#19 0x00007fff9cee59dd in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::build (updateContext=..., node=0x7fffc06479a0, url=..., this=0x7fffcd1bcb80) at /home/sven/install5/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:114
#20 Python::ContextBuilder::build (this=this@entry=0x7fffcd1bcb80, url=..., node=node@entry=0x7fffc06479a0, updateContext=...) at ../duchain/contextbuilder.cpp:74
#21 0x00007fff9ceea973 in Python::DeclarationBuilder::build (this=this@entry=0x7fffcd1bcb80, url=..., node=node@entry=0x7fffc06479a0, updateContext=...) at ../duchain/declarationbuilder.cpp:107
#22 0x00007fff9d3720ef in Python::ParseJob::run (this=0x30bd0f0) at ../pythonparsejob.cpp:170
#23 0x00007fffec2fd6c0 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#24 0x00007fffec2fdd00 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#25 0x00007fffec2fcb8a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5
#26 0x00007fffec2fc2da in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5
#27 0x00007ffff0a4496e in ?? () from /usr/lib/libQt5Core.so.5
#28 0x00007fffe97e94a4 in start_thread () from /usr/lib/libpthread.so.0
#29 0x00007fffefe3813d in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7fff9ce95700 (LWP 2875)):
#0  0x00007fffefe2f18d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe75b0fbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffe75b10cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0c7c36b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff0c2337a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff0a3f9c4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fffee70ef88 in KDevelop::CompletionWorkerThread::run (this=0x251a1e0) at ../language/codecompletion/codecompletionmodel.cpp:83
#7  0x00007ffff0a4496e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fffe97e94a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fffefe3813d in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7fffb0881700 (LWP 2873)):
#0  0x00007fffefe2f18d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe75b0fbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffe75b10cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0c7c34f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff0c2337a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff0a3f9c4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff0a4496e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007fffe97e94a4 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007fffefe3813d in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7fffba75c700 (LWP 2866)):
#0  0x00007fffe97ef428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff0a45b36 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fffee623988 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x21196c0) at ../language/duchain/duchain.cpp:281
#3  0x00007ffff0a4496e in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fffe97e94a4 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fffefe3813d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fffd4f2c700 (LWP 2855)):
#0  0x00007fffefe2f18d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe4360ae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fffe4362757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fffd7294e89 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ffff0a4496e in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fffe97e94a4 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fffefe3813d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7eb1840 (LWP 2847)):
#0  QtPrivate::RefCount::ref (this=0x7fffcf78cbe0) at /usr/include/qt/QtCore/qrefcount.h:55
#1  QVector<QByteArray>::QVector (v=..., this=0x7fffffffb460) at /usr/include/qt/QtCore/qvector.h:328
#2  KDevelop::IPlugin::extensions (this=this@entry=0x4207bf0) at ../interfaces/iplugin.cpp:135
#3  0x00007ffff7aecd09 in KDevelop::IPlugin::extension<KDevelop::IBuildSystemManager> (this=0x4207bf0) at ../interfaces/iplugin.h:172
#4  KDevelop::Project::buildSystemManager (this=<optimized out>) at ../shell/project.cpp:585
#5  0x00007ffff7ae988b in KDevelop::ProjectControllerPrivate::findPluginsForProject (this=this@entry=0x1174c30, project=project@entry=0xd407a0) at ../shell/projectcontroller.cpp:197
#6  0x00007ffff7aea82a in KDevelop::ProjectControllerPrivate::projectConfig (this=0x1174c30, obj=<optimized out>) at ../shell/projectcontroller.cpp:140
#7  0x00007ffff0c53fb7 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#8  0x00007ffff1cab402 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007ffff1cad888 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff1e301b2 in ?? () from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff1e3647c in ?? () from /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff1e3a380 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff1cf8038 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff1e3adc3 in QMenu::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007ffff1cb501c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff1cbabf9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007ffff0c259ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#18 0x00007ffff1cb9b02 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007ffff1d128fd in ?? () from /usr/lib/libQt5Widgets.so.5
#20 0x00007ffff1d14b5b in ?? () from /usr/lib/libQt5Widgets.so.5
#21 0x00007ffff1cb501c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007ffff1cba4f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007ffff0c259ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#24 0x00007ffff14de111 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#25 0x00007ffff14dfde5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#26 0x00007ffff14c5208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#27 0x00007fffd72c63c0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#28 0x00007fffe75b0dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007fffe75b1020 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007fffe75b10cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007ffff0c7c34f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007ffff0c2337a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#33 0x00007ffff1e351c0 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQt5Widgets.so.5
#34 0x00007fffafc5796f in ProjectTreeView::popupContextMenu (this=<optimized out>, pos=...) at ../plugins/projectmanagerview/projecttreeview.cpp:359
#35 0x00007ffff0c53fb7 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#36 0x00007ffff1cdec15 in QWidget::customContextMenuRequested(QPoint const&) () from /usr/lib/libQt5Widgets.so.5
#37 0x00007ffff1cf8a2e in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#38 0x00007ffff1df6e4e in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#39 0x00007ffff1f1c94b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#40 0x00007ffff1f5b56c in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#41 0x00007ffff0c2579c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#42 0x00007ffff1cb4ffc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#43 0x00007ffff1cbbe89 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#44 0x00007ffff0c259ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#45 0x00007ffff1d126d2 in ?? () from /usr/lib/libQt5Widgets.so.5
#46 0x00007ffff1d14b5b in ?? () from /usr/lib/libQt5Widgets.so.5
#47 0x00007ffff1cb501c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#48 0x00007ffff1cba4f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#49 0x00007ffff0c259ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#50 0x00007ffff14de111 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#51 0x00007ffff14dfde5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#52 0x00007ffff14c5208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#53 0x00007fffd72c63c0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#54 0x00007fffe75b0dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0x00007fffe75b1020 in ?? () from /usr/lib/libglib-2.0.so.0
#56 0x00007fffe75b10cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#57 0x00007ffff0c7c34f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#58 0x00007ffff0c2337a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#59 0x00007ffff0c2b33c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#60 0x000000000040e0d3 in main (argc=1, argv=<optimized out>) at ../app/main.cpp:644
Comment 8 Aleksey Midenkov 2017-01-26 10:52:55 UTC
What is the status of this bug? Is it reproduced in 5.0?
Comment 9 Francis Herne 2018-03-26 18:14:27 UTC
*** Bug 389564 has been marked as a duplicate of this bug. ***
Comment 10 Francis Herne 2018-03-26 18:15:38 UTC
This still exists in 5.2.1; see duplicates.
Comment 11 Kevin Funk 2018-03-27 05:45:14 UTC
@Francis: Wanna have a look at this issue, maybe?
Comment 12 Andrej 2020-04-25 22:34:44 UTC
Created attachment 127872 [details]
New crash information added by DrKonqi

kdevelop (5.3.2) using Qt 5.9.7

- What I was doing when the application crashed:

Reopen project then right click on project icon

-- Backtrace (Reduced):
#6  0x00007f255f195172 in qobject_cast<KDevelop::IBuildSystemManager*> (object=0x5583159d1a50) at /usr/src/debug/kdevelop5-5.3.2-lp151.1.3.x86_64/kdevplatform/project/interfaces/ibuildsystemmanager.h:139
#7  KDevelop::IPlugin::extension<KDevelop::IBuildSystemManager> (this=0x5583159d1a50) at /usr/src/debug/kdevelop5-5.3.2-lp151.1.3.x86_64/kdevplatform/interfaces/iplugin.h:169
#8  KDevelop::Project::buildSystemManager (this=<optimized out>) at /usr/src/debug/kdevelop5-5.3.2-lp151.1.3.x86_64/kdevplatform/shell/project.cpp:589
#9  0x00007f2512c5448e in Clazy::Plugin::contextMenuExtension (this=0x558314a47640, context=<optimized out>, parent=<optimized out>) at /usr/src/debug/kdevelop5-5.3.2-lp151.1.3.x86_64/plugins/clazy/plugin.cpp:258
#10 0x00007f255f169736 in KDevelop::PluginController::queryPluginsForContextMenuExtensions (this=<optimized out>, context=0x7ffc11a5d620, parent=0x7ffc11a5d660) at /usr/src/debug/kdevelop5-5.3.2-lp151.1.3.x86_64/kdevplatform/shell/plugincontroller.cpp:720
Comment 13 Justin Zobel 2022-10-08 00:38:45 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 14 Bug Janitor Service 2022-10-23 05:00:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 15 Bug Janitor Service 2022-11-07 05:09:22 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!