Bug 390491 - Dolphin and Kate crashed sequentially when the directory/file browsing is deleted (by git-clean)
Summary: Dolphin and Kate crashed sequentially when the directory/file browsing is del...
Status: RESOLVED DUPLICATE of bug 390214
Alias: None
Product: frameworks-kcoreaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.43.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords: drkonqi
: 391301 391502 391512 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-15 06:11 UTC by 林博仁(Buo-ren, Lin)
Modified: 2018-03-07 11:10 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 林博仁(Buo-ren, Lin) 2018-02-15 06:11:16 UTC
Application: dolphin (17.12.2)

Qt Version: 5.9.3
Frameworks Version: 5.43.0
Operating System: Linux 4.13.0-32-generic x86_64
Distribution: KDE neon User Edition 5.12

-- Information about the crash:
- What I was doing when the application crashed:
I am editing a snapcraft description file under a source tree managed by Git, I decided to created a orphan branch and commit it in there instead so I run a git checkout --orphan <branchname> and run `git rm --cached *` to unstage all existing files and `git clean -dfx` to remove all untracted files

- Expected Behavior: 
The files are removed, Dolphin and Kate run normally with a prompt of the directory/file browsing is deleted

- Current Behavior:
Both application crashes, no backup :-(

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc2eb8d18c0 (LWP 12401))]

Thread 4 (Thread 0x7fc2bc30c700 (LWP 12410)):
#0  0x00007fc2eb21974d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc2de4ba38c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fc2b4002e20, timeout=<optimized out>, context=0x7fc2b4000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fc2de4ba38c in g_main_context_iterate (context=context@entry=0x7fc2b4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fc2de4ba49c in g_main_context_iteration (context=0x7fc2b4000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fc2e54536cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc2b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fc2e53fbe2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc2bc30bd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fc2e52248f4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007fc2e5229709 in QThreadPrivate::start(void*) (arg=0x2a71540) at thread/qthread_unix.cpp:368
#8  0x00007fc2e05a86ba in start_thread (arg=0x7fc2bc30c700) at pthread_create.c:333
#9  0x00007fc2eb22541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fc2ce95e700 (LWP 12409)):
#0  0x00007fc2eb21527d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc2de4fd6f0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7fc2ce95dac0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007fc2de4fd6f0 in g_wakeup_acknowledge (wakeup=0x24d7ab0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gwakeup.c:210
#3  0x00007fc2de4b9e74 in g_main_context_check (context=context@entry=0x7fc2c8000990, max_priority=2147483647, fds=fds@entry=0x7fc2c8012270, n_fds=n_fds@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3632
#4  0x00007fc2de4ba330 in g_main_context_iterate (context=context@entry=0x7fc2c8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3837
#5  0x00007fc2de4ba49c in g_main_context_iteration (context=0x7fc2c8000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#6  0x00007fc2e54536cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc2c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007fc2e53fbe2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc2ce95dcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#8  0x00007fc2e52248f4 in QThread::exec() (this=this@entry=0x7fc2e5b46d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#9  0x00007fc2e58d2315 in QDBusConnectionManager::run() (this=0x7fc2e5b46d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#10 0x00007fc2e5229709 in QThreadPrivate::start(void*) (arg=0x7fc2e5b46d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#11 0x00007fc2e05a86ba in start_thread (arg=0x7fc2ce95e700) at pthread_create.c:333
#12 0x00007fc2eb22541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc2d4f6d700 (LWP 12403)):
#0  0x00007fc2eb21974d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc2dde01c62 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7fc2d4f6cc00) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007fc2dde01c62 in _xcb_conn_wait (c=c@entry=0x2498850, cond=cond@entry=0x2498890, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007fc2dde038d7 in xcb_wait_for_event (c=0x2498850) at ../../src/xcb_in.c:693
#4  0x00007fc2d7af81f9 in QXcbEventReader::run() (this=0x24a3c60) at qxcbconnection.cpp:1330
#5  0x00007fc2e5229709 in QThreadPrivate::start(void*) (arg=0x24a3c60) at thread/qthread_unix.cpp:368
#6  0x00007fc2e05a86ba in start_thread (arg=0x7fc2d4f6d700) at pthread_create.c:333
#7  0x00007fc2eb22541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fc2eb8d18c0 (LWP 12401)):
[KCrash Handler]
#6  0x00007fc2e6d9246e in KDirWatchPrivate::inotifyEventReceived() (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:112
#7  0x00007fc2e6d9246e in KDirWatchPrivate::inotifyEventReceived() (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:131
#8  0x00007fc2e6d9246e in KDirWatchPrivate::inotifyEventReceived() (this=0x2a07b20) at /workspace/build/src/lib/io/kdirwatch.cpp:322
#9  0x00007fc2e542a279 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x2a69ae0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa75eaef0) at kernel/qobject.cpp:3766
#10 0x00007fc2e542ab87 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x2a69ae0, m=m@entry=0x7fc2e58b4d60 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa75eaef0) at kernel/qobject.cpp:3628
#11 0x00007fc2e5436528 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) (this=this@entry=0x2a69ae0, _t1=17, _t2=...) at .moc/moc_qsocketnotifier.cpp:136
#12 0x00007fc2e54368eb in QSocketNotifier::event(QEvent*) (this=0x2a69ae0, e=<optimized out>) at kernel/qsocketnotifier.cpp:266
#13 0x00007fc2e63e7b9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x2a69ae0, e=0x7fffa75eb150) at kernel/qapplication.cpp:3722
#14 0x00007fc2e63ef5a7 in QApplication::notify(QObject*, QEvent*) (this=0x7fffa75eb4b0, receiver=0x2a69ae0, e=0x7fffa75eb150) at kernel/qapplication.cpp:3481
#15 0x00007fc2e53fddf8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x2a69ae0, event=event@entry=0x7fffa75eb150) at kernel/qcoreapplication.cpp:1018
#16 0x00007fc2e545432d in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (event=0x7fffa75eb150, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#17 0x00007fc2e545432d in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=0x24c6590) at kernel/qeventdispatcher_glib.cpp:106
#18 0x00007fc2de4ba197 in g_main_context_dispatch (context=0x7fc2d00016f0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#19 0x00007fc2de4ba197 in g_main_context_dispatch (context=context@entry=0x7fc2d00016f0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#20 0x00007fc2de4ba3f0 in g_main_context_iterate (context=context@entry=0x7fc2d00016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#21 0x00007fc2de4ba49c in g_main_context_iteration (context=0x7fc2d00016f0, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#22 0x00007fc2e54536af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x24cb280, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007fc2e53fbe2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffa75eb370, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#24 0x00007fc2e5404d64 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1291
#25 0x00007fc2e5c70bdc in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1679
#26 0x00007fc2e63e7af5 in QApplication::exec() () at kernel/qapplication.cpp:2910
#27 0x00007fc2eb52b90a in kdemain(int, char**) (argc=1, argv=<optimized out>) at /workspace/build/src/main.cpp:163
#28 0x00007fc2eb13e830 in __libc_start_main (main=0x4006b0 <main(int, char**)>, argc=1, argv=0x7fffa75eb638, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa75eb628) at ../csu/libc-start.c:291
#29 0x00000000004006e9 in _start ()

Possible duplicates by query: bug 390214.

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2018-02-15 09:53:27 UTC
Re-assinging to kcoreaddons where KDirWatch lives
Comment 2 Kai Uwe Broulik 2018-03-07 11:05:58 UTC
*** Bug 391502 has been marked as a duplicate of this bug. ***
Comment 3 Kai Uwe Broulik 2018-03-07 11:06:23 UTC
*** Bug 391512 has been marked as a duplicate of this bug. ***
Comment 4 Kai Uwe Broulik 2018-03-07 11:06:35 UTC
*** Bug 391301 has been marked as a duplicate of this bug. ***
Comment 5 Kai Uwe Broulik 2018-03-07 11:08:59 UTC
@Milian: Since you touched this last, any idea what's going on here?
Comment 6 Kai Uwe Broulik 2018-03-07 11:10:04 UTC
Ah, nevermind this is fixed as Bug 390214 sorry for the noise :)

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