Bug 358954

Summary: Dolphin crash changing permissions
Product: [Applications] dolphin Reporter: Chris <crglasoe>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: wbauer1
Priority: NOR Keywords: drkonqi
Version: 15.12.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris 2016-02-03 14:34:02 UTC
Application: dolphin (15.12.1)

Qt Version: 5.5.1
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
attempting to change premsissions on linked folder to allow virtualbox access.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f51a23eb800 (LWP 5177))]

Thread 2 (Thread 0x7f517ea50700 (LWP 5179)):
#0  0x00007f51a1c97c1d in poll () at /lib64/libc.so.6
#1  0x00007f5196ce4e64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f5196ce4f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f519bfead8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f519bf91d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f519bdb361a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f519bdb832f in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f519786a0a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f51a1ca004d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f51a23eb800 (LWP 5177)):
[KCrash Handler]
#6  0x00007f519bfa450b in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f51a02a8724 in KDialogJobUiDelegate::Private::next() () at /usr/lib64/libKF5JobWidgets.so.5
#8  0x00007f519bfc4ac6 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f519d108e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007f519d10dcc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007f519bf93e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#12 0x00007f519bf96057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007f519bfeb8f3 in  () at /usr/lib64/libQt5Core.so.5
#14 0x00007f5196ce4c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#15 0x00007f5196ce4ed8 in  () at /usr/lib64/libglib-2.0.so.0
#16 0x00007f5196ce4f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#17 0x00007f519bfead6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f519bf91d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f519bf998f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#20 0x00007f51a1fc2311 in kdemain () at /usr/lib64/libkdeinit5_dolphin.so
#21 0x00007f51a1bdcb05 in __libc_start_main () at /lib64/libc.so.6
#22 0x00000000004007ee in _start ()

Possible duplicates by query: bug 358693, bug 358509, bug 358406, bug 358404, bug 352141.

Reported using DrKonqi
Comment 1 Wolfgang Bauer 2016-02-06 19:44:50 UTC
This is probably the same crash as in bug#356321....
Comment 2 David Edmundson 2016-02-08 15:13:12 UTC
Git commit e984dab0a6cd9541ae178c104f0228ae264284a6 by David Edmundson.
Committed on 08/02/2016 at 15:13.
Pushed by davidedmundson into branch 'master'.

Fix crash in KJob dialogs.

Guard "this" being deleted whilst running new eventloop

KMessageBox spawns a new event loop, during which the parent kjob can be
completed and deleted, deleting the UIDelegate with it.
Related: bug 356321, bug 356964, bug 355052, bug 355525, bug 353462, bug 346215
REVIEW: 126999

M  +9    -0    src/kdialogjobuidelegate.cpp

http://commits.kde.org/kjobwidgets/e984dab0a6cd9541ae178c104f0228ae264284a6