Bug 455835 - Dolphin inconsistently crashes when accessing any directory whose permissions are less strict than those of its parent directory.
Summary: Dolphin inconsistently crashes when accessing any directory whose permissions...
Status: RESOLVED DUPLICATE of bug 473488
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-06-23 10:43 UTC by Roke Julian Lockhart Beedell
Modified: 2023-12-05 13:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.28 KB, text/plain)
2022-06-23 11:41 UTC, Roke Julian Lockhart Beedell
Details
The files that were within each directory. (68.27 KB, application/tar+xz)
2022-06-23 12:47 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2022-06-23 10:43:47 UTC
Application: dolphin (22.04.1)

Qt Version: 5.15.4
Frameworks Version: 5.94.0
Operating System: Linux 5.19.0-0.rc3.20220621git78ca55889a54.28.fc37.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 37 (Rawhide Prerelease)
DrKonqi: 5.25.0 [KCrashBackend]

-- Information about the crash:
I invoked "Open problem data directory" via the consequence of installation of "https://kojipkgs.fedoraproject.org//packages/gnome-abrt/1.4.2/2.fc37/x86_64/gnome-abrt-1.4.2-2.fc37.x86_64.rpm", which "https://koji.fedoraproject.org/koji/buildinfo?buildID=1985530" describes. Dolphin successfully observed approximately 5 of the 7 total directories that were to be invoked, but crashed during invocation of the subsequent 6th directory.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f524e64a53c in KFileItem::~KFileItem() () from /lib64/libKF5KIOCore.so.5
#5  0x00007f524e6b9551 in KCoreDirListerCache::reinsert(KFileItem const&, QUrl const&) () from /lib64/libKF5KIOCore.so.5
#6  0x00007f524e6cac46 in KCoreDirListerCache::processPendingUpdates() () from /lib64/libKF5KIOCore.so.5
#7  0x00007f524cd2d216 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f524cd305ae in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
#9  0x00007f524cd23b05 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#10 0x00007f524d87dc42 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007f524ccf9c38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#12 0x00007f524cd49c61 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#13 0x00007f524cd4a53c in timerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#14 0x00007f524a8bc74f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#15 0x00007f524a9117c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#16 0x00007f524a8b99e0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#17 0x00007f524cd4a8da in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#18 0x00007f524ccf869a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#19 0x00007f524cd00742 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#20 0x000055839de949e7 in main ()
[Inferior 1 (process 7509) detached]

Reported using DrKonqi
Comment 1 Roke Julian Lockhart Beedell 2022-06-23 10:45:41 UTC
All of the directories were within "file://localhost/var/spool/abrt".

PS /> ls -la /var/spool/
total 0
drwxr-xr-x. 1 root root  94 May 22 17:53 .
drwxr-xr-x. 1 root root 194 Jun 16 13:14 ..
drwxr-x--x. 1 root abrt 530 Jun 23 09:57 abrt
drwx------. 1 abrt abrt   0 Jun 16 11:47 abrt-upload
drwxr-xr-x. 1 root root  66 May 22 17:50 anacron
drwx------. 1 root root  18 May 22 17:53 at
drwx------. 1 root root   0 May  3 11:52 cron
drwx--x---. 1 root lp     6 May 31 12:29 cups
drwxr-xr-x. 1 root root   0 Jan 20 03:04 lpd
drwxrwxr-x. 1 root mail  28 May 22 17:55 mail
drwxr-xr-x. 1 root root   0 Mar  7 14:36 plymouth

PS /> ls -la /var/spool/abrt/
/usr/bin/ls: cannot open directory '/var/spool/abrt/': Permission denied

PS /> su -c 'ls -la /var/spool/abrt/'
total 4
drwxr-x--x. 1 root        abrt 530 Jun 23 09:57 .
drwxr-xr-x. 1 root        root  94 May 22 17:53 ..
-rw-------  1 root        root  28 Jun 23 01:03 last-via-server
drwxr-xr-x  1 A1653237104 abrt 634 Jun 23 10:30 oops-2022-06-12-12:26:48-1064-0
drwxr-xr-x  1 root        abrt 640 Jun 23 10:30 oops-2022-06-18-13:32:16-1070-0
drwxr-xr-x  1 root        abrt 640 Jun 23 10:30 oops-2022-06-20-10:46:10-1074-0
drwxr-xr-x  1 A1653237104 abrt 648 Jun 23 10:30 oops-2022-06-21-12:56:44-1065-0
drwxr-xr-x  1 root        abrt 640 Jun 23 10:30 oops-2022-06-22-21:00:56-1077-0
drwxr-xr-x  1 root        abrt 562 Jun 23 10:30 oops-2022-06-23-00:56:46-1077-0
drwxr-xr-x  1 root        abrt 562 Jun 23 10:30 oops-2022-06-23-01:01:07-197992-0
drwxr-xr-x  1 root        abrt 562 Jun 23 10:30 oops-2022-06-23-09:57:32-1076-0
Comment 2 Roke Julian Lockhart Beedell 2022-06-23 11:41:32 UTC
Created attachment 150088 [details]
New crash information added by DrKonqi

dolphin (22.04.1) using Qt 5.15.4

When "https://gitlab.gnome.org/GNOME/gimp/-/issues/8298" and consequently "https://bugzilla.redhat.com/show_bug.cgi?id=2100443" occurred, Dolphin crashed. The problems occurred simultaneously.

-- Backtrace (Reduced):
#4  0x00007fbd3814053c in KFileItem::~KFileItem() () from /lib64/libKF5KIOCore.so.5
#5  0x00007fbd381af551 in KCoreDirListerCache::reinsert(KFileItem const&, QUrl const&) () from /lib64/libKF5KIOCore.so.5
#6  0x00007fbd381c0c46 in KCoreDirListerCache::processPendingUpdates() () from /lib64/libKF5KIOCore.so.5
#7  0x00007fbd36823216 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007fbd368265ae in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
Comment 3 Roke Julian Lockhart Beedell 2022-06-23 12:47:35 UTC
Created attachment 150093 [details]
The files that were within each directory.

The actual directories were not duplicated, so their permissions were retained. However, their content is identical.
Comment 4 Akseli Lahtinen 2023-12-05 11:26:33 UTC

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