https://bugs.kde.org/show_bug.cgi?id=413509
--- Comment #4 from RJVB ---
Application: kdevelop (5.5.0-28-g20dd819cea)
(Compiled from sources)
Qt Version: 5.9.8
Frameworks Version: 5.60.0
Operating System: Linux 4.14.23-ck1-mainline-core2-rjvb x86_64
Windowing system: X11
Distribution: Ubuntu 14.04.6 LTS
-- Information about the crash:
- What I was doing when the application crashed:
Another crash like this, quite a bit after I exited from a KDevelop session.
>From the looks of it, a timer fires that is connected to a KDirLister job,
which is apparently still alive (after the core cleanup routine exited?!) but
which has a stale reference to an associated KJobWidget. I'll try to look into
this, but if my analysis rings any bells please tell me where I could start
looking.
Could this be a side-effect of the somewhat recent change where on-disk changes
are handled through a timer instead of queued immediately?
-- 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 0x7f9fc88a3c80 (LWP 28813))]
Thread 7 (Thread 0x7f9f87927700 (LWP 28969)):
#0 0x7f9fbf4a137d in read () at /lib/x86_64-linux-gnu/libc.so.6
#1 0x7f9fb5aeea7f in g_wakeup_acknowledge (wakeup=0x7f9f88002780) at
gwakeup.c:210
#2 0x7f9fb5aeea7f in g_main_context_check (context=0x7f9f8990,
max_priority=2147483647, fds=0x7f9f800013c0, n_fds=1) at gmain.c:3686
#3 0x7f9fb5aef7a6 in g_main_context_iterate (context=,
block=, dispatch=, self=) at
gmain.c:3905
#4 0x7f9fb5aefa21 in g_main_context_iteration (context=0x7f9f8990,
may_block=1) at gmain.c:3969
#5 0x7f9fc02965db in
QEventDispatcherGlib::processEvents(QFlags)
(this=0x7f9f88c0, flags=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.8/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#6 0x7f9fc0242472 in
QEventLoop::processEvents(QFlags)
(this=0x7f9f87926978, flags=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.8/qtbase/src/corelib/kernel/qeventloop.cpp:134
#7 0x7f9fc0242472 in
QEventLoop::exec(QFlags) (this=0x7f9f87926978,
flags=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.8/qtbase/src/corelib/kernel/qeventloop.cpp:212
#8 0x7f9fc0097867 in QThread::exec() (this=) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.8/qtbase/src/corelib/thread/qthread.cpp:515
#9 0x7f9fc009b423 in QThreadPrivate::start(void*) (arg=0x2c739c0) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.8/qtbase/src/corelib/thread/qthread_unix.cpp:368
#10 0x7f9fbc99f184 in start_thread () at
/lib/x86_64-linux-gnu/libpthread.so.0
#11 0x7f9fbf4b003d in clone () at /lib/x86_64-linux-gnu/libc.so.6
Thread 6 (Thread 0x7f9f918a1700 (LWP 28967)):
#0 0x7f9fb5aee47c in g_mutex_get_impl (mutex=) at
gthread-posix.c:125
#1 0x7f9fb5aee47c in g_mutex_lock (mutex=) at
gthread-posix.c:214
#2 0x7f9fb5aee47c in g_main_context_prepare (context=0x7f9f88000990,
priority=0x7f9f918a086c) at gmain.c:3483
#3 0x7f9fb5aef5b8 in g_main_context_iterate (context=,
block=, dispatch=, self=) at
gmain.c:3888
#4 0x7f9fb5aefa21 in g_main_context_iteration (context=0x7f9f88000990,
may_block=1) at gmain.c:3969
#5 0x7f9fc02965db in
QEventDispatcherGlib::processEvents(QFlags)
(this=0x7f9f880008c0, flags=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.8/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#6 0x7f9fc0242472 in
QEventLoop::processEvents(QFlags)
(this=0x7f9f918a0978, flags=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.8/qtbase/src/corelib/kernel/qeventloop.cpp:134
#7 0x7f9fc0242472 in
QEventLoop::exec(QFlags) (this=0x7f9f918a0978,
flags=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.8/qtbase/src/corelib/kernel/qeventloop.cpp:212
#8 0x7f9fc0097867 in QThread::exec() (this=) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.8/qtbase/src/corelib/thread/qthread.cpp:515
#9 0x7f9fc009b423 in QThreadPrivate::start(void*) (arg=0x7f9fc6cf47c8
) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.8/qtbase/src/corelib/thread/qthread_unix.cpp:368
#10 0x7f9fbc99f184 in start_thread () at
/lib/x86_64-linux-gnu/libpthread.so.0
#1