Bug 362668

Summary: Dolphin crash because Home/.config/katerc NOT writeable
Product: [Applications] dolphin Reporter: Harrison <sainokawara.sisyphus>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: gnu4ever, kushaldeveloper, mcfletch
Priority: NOR Keywords: drkonqi
Version: 15.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Harrison 2016-05-04 15:56:00 UTC
Application: dolphin (15.12.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-21-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Attempting to view Home/.config/krfbrc .  Whatever the problem is, it is not confined to just this case.  I am encountering this problem in many similar situations.  I was not running as SuperUser when this occurred.

The crash can be reproduced every time.

-- 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 0x7f09c900c8c0 (LWP 3751))]

Thread 3 (Thread 0x7f09b353a700 (LWP 3752)):
#0  0x00007f09c8a43e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f09bd1cfc62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f09bd1d18d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f09b588c629 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f09c361584e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09bfdc36fa in start_thread (arg=0x7f09b353a700) at pthread_create.c:333
#6  0x00007f09c8a4fb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f09a5e07700 (LWP 3753)):
#0  0x00007ffdc65dd9a7 in ?? ()
#1  0x00007ffdc65ddcd5 in clock_gettime ()
#2  0x00007f09c8a5dfb6 in __GI___clock_gettime (clock_id=1, tp=0x7f09a5e06a70) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007f09c36c5c16 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f09c384a529 in QTimerInfoList::updateCurrentTime() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f09c384aa95 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f09c384be7e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f09bf2378ad in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f09bf23824b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f09bf23842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f09c384ca9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f09c37f3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f09c36108a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f09c361584e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f09bfdc36fa in start_thread (arg=0x7f09a5e07700) at pthread_create.c:333
#15 0x00007f09c8a4fb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f09c900c8c0 (LWP 3751)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f09c3806fc7 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f09c7048b99 in KDialogJobUiDelegate::Private::next() () from /usr/lib/x86_64-linux-gnu/libKF5JobWidgets.so.5
#9  0x00007f09c3825ea1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f09c42f905c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f09c42fe516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f09c37f662b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f09c37f8a26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f09c384c673 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f09bf238127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f09bf238380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f09bf23842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f09c384ca7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f09c37f3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f09c37fbe8c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f09c8d6fe2b in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#22 0x00007f09c8969830 in __libc_start_main (main=0x400710 <main>, argc=1, argv=0x7ffdc65bd2c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdc65bd2b8) at ../csu/libc-start.c:291
#23 0x0000000000400749 in _start ()

Possible duplicates by query: bug 362354, bug 360717, bug 359623, bug 359622, bug 358954.

Reported using DrKonqi
Comment 1 Harrison 2016-05-04 16:34:32 UTC
Should Home/.config/katerc User/Group Ownership really be "root"?  Not knowing any better, I changed  the Permissions for Ownership User to my User Id and the problem has not reoccurred.  But, beware of suggestions by ignorant users!
=====
Also, do I need to do anything special for the other bug I reported?  I could provide additional information but it would really be helpful if someone could reproduce the problem under Windows Hyper-V in a different environment.  Thank you,
Comment 2 Valdo 2016-06-26 14:34:18 UTC
Created attachment 99701 [details]
New crash information added by DrKonqi

dolphin (15.12.3) using Qt 5.5.1

- What I was doing when the application crashed:

I have a local Samba shared folder on my Kubuntu 16.04 machine ('rwx' privileges set to everyone). A relative of mine stored a file there from his Win8.1 machine, resulting in a file belonging to 'nobody'/'nogroup' and the sole Read privilege granted to everyone on my machine.
What I did with Dolphin:
- Opened the properties of my Samba shared folder.
- Checked that the 'rwx' privilege was indeed granted to everyone (this was the case), then ticked option "Apply to all subfolders and their contents" (sorry, approximative English translation) and clicked OK.
- Dolphin raised an "Access refused" error message for the file coming from Win8.1.
- Acknowledging the error message led to Dolphin's crash.

-- Backtrace (Reduced):
#8  0x00007f127ae6eb99 in KDialogJobUiDelegate::Private::next() () from /usr/lib/x86_64-linux-gnu/libKF5JobWidgets.so.5
#9  0x00007f127764bea1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f127811f05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f1278124516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f127761c62b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 3 Mike C. Fletcher 2016-08-09 20:05:50 UTC
Created attachment 100519 [details]
New crash information added by DrKonqi

dolphin (15.12.3) using Qt 5.5.1

- What I was doing when the application crashed:

Just saw this happen when browsing to a (remote, slow) smb server. Clicked the address bar, typed in the *wrong-cased* next segment of the URL I wanted to visit. When replicating there was a dialog displayed saying that the wrong-cased version of the path didn't exist before Dolphin crashed. That is, it may not just be permissions causing the issue, it may be simply "missing" directories.

-- Backtrace (Reduced):
#8  0x00007f3200968b99 in KDialogJobUiDelegate::Private::next() () from /usr/lib/x86_64-linux-gnu/libKF5JobWidgets.so.5
#9  0x00007f31fd145ea1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f31fdc1905c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f31fdc1e516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f31fd11662b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 4 k 2016-10-25 19:26:31 UTC
Created attachment 101780 [details]
New crash information added by DrKonqi

dolphin (15.12.3) using Qt 5.5.1

- What I was doing when the application crashed:
copying a file from mtp to local storage 

I think the crash happened when the usb connection got physically disconnected while moving the file. I understand that this would cause the transfer to fail but it shouldn't crash dolphin I think. 

I am trying it again now and it hasn't crashed so far. I might not be able to reproduce this.

-- Backtrace (Reduced):
#8  0x00007f16bd189b99 in KDialogJobUiDelegate::Private::next() () from /usr/lib/x86_64-linux-gnu/libKF5JobWidgets.so.5
#9  0x00007f16b9966ea1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f16ba43a05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f16ba43f516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f16b993762b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 5 Christoph Feck 2016-11-15 12:38:24 UTC

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