Bug 502357 - dolphin window crashed - "too many open files"
Summary: dolphin window crashed - "too many open files"
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.3
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-03 13:14 UTC by Mariusz Libera
Modified: 2025-05-16 21:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
backtrace (171.15 KB, text/plain)
2025-04-26 14:53 UTC, Mariusz Libera
Details
screenshot (100.74 KB, image/png)
2025-05-16 18:38 UTC, Mariusz Libera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz Libera 2025-04-03 13:14:48 UTC
I was browsing through some folders with a lot of photo/video files, and dolphin crashed.

Apr 03 15:03:52 legion dolphin[26826]: QProcess: Cannot create pipe (Too many open files)
Apr 03 15:03:52 legion dolphin[26826]: QProcess: Cannot create pipe (Too many open files)
Apr 03 15:03:54 legion dolphin[26826]: QProcess: Cannot create pipe (Too many open files)
Apr 03 15:03:55 legion dolphin[26826]: QProcess: Cannot create pipe (Too many open files)
Apr 03 15:04:00 legion dolphin[26826]: QProcess: Cannot create pipe (Too many open files)
Apr 03 15:04:01 legion dolphin[26826]: QProcess: Cannot create pipe (Too many open files)
Apr 03 15:04:02 legion dolphin[26826]: QProcess: Cannot create pipe (Too many open files)
Apr 03 15:04:02 legion dolphin[26826]: QProcess: Cannot create pipe (Too many open files)
Apr 03 15:04:03 legion dolphin[26826]: QProcess: Cannot create pipe (Too many open files)
Apr 03 15:04:03 legion dolphin[26826]: error marshalling arguments for add: dup failed: Too many open files
Apr 03 15:04:03 legion dolphin[26826]: Error marshalling request: Too many open files
Apr 03 15:04:03 legion dolphin[26826]: The Wayland connection experienced a fatal error: Too many open files
Apr 03 15:04:03 legion systemd[1057]: app-org.kde.dolphin\x20\x281\x29@6fb7bceb420c414e9b151f78a874c5d6.service: Main process exited, code=exited, status=255/EXCEPTION
Apr 03 15:04:03 legion systemd[1057]: app-org.kde.dolphin\x20\x281\x29@6fb7bceb420c414e9b151f78a874c5d6.service: Failed with result 'exit-code'.
Apr 03 15:04:03 legion systemd[1057]: app-org.kde.dolphin\x20\x281\x29@6fb7bceb420c414e9b151f78a874c5d6.service: Consumed 1min 16.260s CPU time, 4.9G memory peak.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.12.21-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics
Memory: 34.9 GiB of RAM
Graphics Processor: AMD Radeon 680M
Manufacturer: LENOVO
Product Name: 82RE
System Version: Legion 5 15ARH7
Comment 1 TraceyC 2025-04-07 22:37:43 UTC
Thanks for the bug report. About how many files were in the folder when Dolphin crashed?

Also, we need a backtrace of the crash so we can figure out what's going on. Can you please attach a backtrace of the crash using the coredumpctl command-line program, as detailed in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl?
Thanks!
Comment 2 Mariusz Libera 2025-04-10 16:53:29 UTC
(In reply to TraceyC from comment #1)
> Thanks for the bug report. About how many files were in the folder when
> Dolphin crashed?

I'm not sure, not that many - in the hundreds at most in a single directory - but I had a couple of tabs open in a single window, with my internal data partitions and external drives, as I was reorganizing my archives, moving some files around, deleting some, and it probably happened when I clicked on folder properties to check its size.

> Also, we need a backtrace of the crash so we can figure out what's going on.
> Can you please attach a backtrace of the crash using the coredumpctl
> command-line program, as detailed in
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl?
> Thanks!

It probably didn't crash, just closed unexpectedly, because coredumpctl doesn't show anything dolphin related. Only a single window closed, others did not.
Comment 3 TraceyC 2025-04-11 15:24:39 UTC
Thanks for the additional details. The error "Cannot create pipe (Too many open files)' means there may be more files being worked on than OS limits allow. Can you copy and paste the output of this into the report? It's usually 1024

ulimit -n
Comment 4 Mariusz Libera 2025-04-11 20:38:50 UTC
Yes, it's 1024.
Comment 5 Mariusz Libera 2025-04-26 14:53:46 UTC
Created attachment 180684 [details]
backtrace
Comment 6 Mariusz Libera 2025-04-26 14:55:38 UTC
Happened again:
Apr 26 15:37:57 legion dolphin[486909]: QProcess: Cannot create pipe (Too many open files)
Apr 26 15:37:58 legion dolphin[486909]: QProcess: Cannot create pipe (Too many open files)
Apr 26 15:37:59 legion dolphin[486909]: QProcess: Cannot create pipe (Too many open files)
Apr 26 15:38:00 legion dolphin[486909]: QProcess: Cannot create pipe (Too many open files)
Apr 26 15:38:02 legion dolphin[486909]: QProcess: Cannot create pipe (Too many open files)
Apr 26 15:38:03 legion dolphin[486909]: QProcess: Cannot create pipe (Too many open files)
Apr 26 15:38:05 legion dolphin[486909]: QProcess: Cannot create pipe (Too many open files)
Apr 26 15:38:06 legion dolphin[486909]: QIODevice::write (QFile, "/tmp/dolphin.oUFvEK"): device not open
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Settings"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Settings"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: org.kde.dolphin: Could not open temp file
Apr 26 15:38:06 legion dolphin[486909]: org.kde.dolphin: Could not load default global viewproperties
Apr 26 15:38:06 legion dolphin[486909]: org.kde.dolphin: Could not open temp file
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/tmp/dolphin.oUFvEK" "Dolphin"
Apr 26 15:38:06 legion dolphin[486909]: org.kde.dolphin: could not save viewproperties "/tmp/dolphin.oUFvEK"
Apr 26 15:38:06 legion dolphin[486909]: kf.config.core: Couldn't create a new file: "/tmp/dolphin.oUFvEK" . Error: "Too many open files"
Apr 26 15:38:06 legion dolphin[486909]: QProcess: Cannot create pipe (Too many open files)
Apr 26 15:38:06 legion dolphin[486909]: org.kde.dolphin: Could not open temp file
Apr 26 15:38:06 legion dolphin[486909]: org.kde.dolphin: Could not load default global viewproperties
Apr 26 15:38:06 legion dolphin[486909]: org.kde.dolphin: Could not open temp file
Apr 26 15:38:07 legion dolphin[486909]: org.kde.dolphin: Could not open temp file
Apr 26 15:38:07 legion dolphin[486909]: org.kde.dolphin: Could not load default global viewproperties
Apr 26 15:38:07 legion dolphin[486909]: org.kde.dolphin: Could not open temp file
Apr 26 15:38:07 legion dolphin[486909]: QProcess: Cannot create pipe (Too many open files)
Apr 26 15:38:08 legion dolphin[486909]: org.kde.dolphin: Could not open temp file
Apr 26 15:38:08 legion dolphin[486909]: org.kde.dolphin: Could not load default global viewproperties
Apr 26 15:38:08 legion dolphin[486909]: org.kde.dolphin: Could not open temp file
Apr 26 15:38:11 legion dolphin[486909]: org.kde.dolphin: Could not open temp file
Apr 26 15:38:11 legion dolphin[486909]: org.kde.dolphin: Could not load default global viewproperties
Apr 26 15:38:11 legion dolphin[486909]: org.kde.dolphin: Could not open temp file
Apr 26 15:38:11 legion dolphin[486909]: QProcess: Cannot create pipe (Too many open files)
Apr 26 15:38:12 legion dolphin[486909]: QWaylandShmBuffer: failed: Too many open files
Apr 26 15:38:12 legion dolphin[486909]: QPainter::begin: Paint device returned engine == 0, type: 3
Apr 26 15:38:12 legion dolphin[486909]: Failed to open metadata file: Too many open files
Apr 26 15:38:12 legion dolphin[486909]: KCrash: Application 'dolphin' crashing... crashRecursionCounter = 2
Apr 26 15:38:12 legion dolphin[486909]: QPainter::setCompositionMode: Painter not active
Apr 26 15:38:12 legion systemd-coredump[743011]: Process 486909 (dolphin) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Apr 26 15:38:12 legion systemd[1]: Started Process Core Dump (PID 743011/UID 0).
Apr 26 15:38:12 legion systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Apr 26 15:38:12 legion systemd[959]: Started dbus-:1.2-com.google.code.AccountsSSO.SingleSignOn@817.service.
Apr 26 15:38:13 legion systemd-coredump[743012]: [🡕] Process 486909 (dolphin) of user 1000 dumped core.


Apr 26 15:38:13 legion systemd[1]: systemd-coredump@1-743011-0.service: Deactivated successfully.
Apr 26 15:38:13 legion systemd[1]: systemd-coredump@1-743011-0.service: Consumed 1.248s CPU time, 574.1M memory peak.
Apr 26 15:38:13 legion systemd[959]: app-org.kde.dolphin\x20\x281\x29@008d5a007ea74cc1be5900a82656d78c.service: Main process exited, code=dumped, status=11/SEGV
Apr 26 15:38:13 legion systemd[959]: app-org.kde.dolphin\x20\x281\x29@008d5a007ea74cc1be5900a82656d78c.service: Failed with result 'core-dump'.
Apr 26 15:38:13 legion systemd[959]: app-org.kde.dolphin\x20\x281\x29@008d5a007ea74cc1be5900a82656d78c.service: Consumed 43min 23.394s CPU time, 14G memory peak.
Comment 7 TraceyC 2025-04-28 17:31:06 UTC
Thanks for the additional information. The ulimit doesn't appear to be at fault
The backtrace indicates Dolphin did indeed crash.
Comment 8 TraceyC 2025-04-28 17:31:18 UTC
Searchable, simplified backtrace

t
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x0000786ffcca56d3 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:89
#2  0x0000786ffcc4bba0 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x0000786fff5b34dd in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash/kcrash-6.13.0/src/kcrash.cpp:605
#4  0x0000786ffcc4bcd0 in <signal handler called> () at /usr/lib/libc.so.6
#5  QImage::devicePixelRatio (this=this@entry=0x18) at /usr/src/debug/qt6-base/qtbase/src/gui/image/qimage.cpp:1480
#6  0x0000786ffb99be0c in QtWaylandClient::QWaylandShmBackingStore::recreateBackBufferIfNeeded (this=this@entry=0x622c6be8cf90) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandshmbackingstore.cpp:320
#7  0x0000786ffb99bfc1 in QtWaylandClient::QWaylandShmBackingStore::beginPaint (this=0x622c6be8cf90, region=...) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandshmbackingstore.cpp:189
#8  0x0000786ffdc178f9 in QBackingStore::beginPaint (this=0x622c6d08f2b0, region=...) at /usr/src/debug/qt6-base/qtbase/src/gui/painting/qbackingstore.cpp:125
#9  0x0000786ffe5675b8 in QWidgetRepaintManager::paintAndFlush (this=this@entry=0x622c6d7a6e50) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetrepaintmanager.cpp:873
#10 0x0000786ffe567ea3 in QWidgetRepaintManager::sync (this=0x622c6d7a6e50, exposedWidget=0x622c6d0c4830, exposedRegion=...) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetrepaintmanager.cpp:632
#11 0x0000786ffe56e61f in QWidgetWindow::handleExposeEvent (this=0x622c6d7a5c00, event=0x7ffd517d3e40) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:1090
#12 QWidgetWindow::event (this=0x622c6d7a5c00, event=0x7ffd517d3e40) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:339
#13 0x0000786ffe4fed9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x622c6d7a5c00, e=0x7ffd517d3e40) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3301
#14 0x0000786ffd35a018 in QCoreApplication::notifyInternal2 (receiver=0x622c6d7a5c00, event=0x7ffd517d3e40) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#15 0x0000786ffd35a06d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1560
#16 0x0000786ffdb9bbb4 in QGuiApplicationPrivate::processExposeEvent (e=0x622c69b4afc0) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:3487
#17 0x0000786ffdc0d0c4 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1113
#18 0x0000786ffdc0d2b7 in QWindowSystemInterface::flushWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1082
#19 0x0000786ffd3b6f1a in doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4150
#20 0x0000786ffd5cd5e5 in QAbstractEventDispatcher::awake (this=0x622c68c1d370) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qabstracteventdispatcher.cpp:128
#21 QEventDispatcherGlib::processEvents (this=0x622c68c1d370, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:406
#22 0x0000786ffd365376 in QEventLoop::processEvents (this=0x7ffd517d4180, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#23 QEventLoop::exec (this=0x7ffd517d4180, flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#24 0x0000786ffe6eca22 in QMenuPrivate::exec (this=0x622c6d0c2700, p=..., action=0x0, positionFunction=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:77
#25 0x0000786ffe6ecb56 in QMenu::exec (this=<optimized out>, p=<optimized out>, action=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qmenu.cpp:2658
#26 0x0000622c5e9bf285 in ??? ()
#27 0x0000786ffd3b6cc9 in QtPrivate::QSlotObjectBase::call (this=0x622c6da37f90, r=0x622c690b4670, a=0x7ffd517d4370, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#28 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4138
#29 0x0000786fffc5b989 in DolphinView::requestContextMenu(QPoint const&, KFileItem const&, KFileItemList const&, QUrl const&) () at /usr/lib/libdolphinprivate.so.6
#30 0x0000786fffc51bdf in DolphinView::slotItemContextMenuRequested(int, QPointF const&) () at /usr/lib/libdolphinprivate.so.6
#31 0x0000786ffd3b6cc9 in QtPrivate::QSlotObjectBase::call (this=0x622c69d2f260, r=0x622c6934fce0, a=0x7ffd517d4510, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#32 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4138
#33 0x0000786fffbf6e78 in KItemListController::itemContextMenuRequested(int, QPointF const&) () at /usr/lib/libdolphinprivate.so.6
#34 0x0000786fffbfbe66 in KItemListController::contextMenuEvent(QContextMenuEvent*) () at /usr/lib/libdolphinprivate.so.6
#35 0x0000786fffc09daf in KItemListView::event(QEvent*) () at /usr/lib/libdolphinprivate.so.6
#36 0x0000786ffe4fed9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x622c69cd9a70, e=0x7ffd517d4a50) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3301
#37 0x0000786ffd35a018 in QCoreApplication::notifyInternal2 (receiver=0x622c69cd9a70, event=0x7ffd517d4a50) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#38 0x0000786ffe551e39 in QWidget::event (this=0x622c69fbb960, event=0x7ffd517d4a50) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:9158
#39 0x0000786ffe5f1538 in QFrame::event (this=0x622c69fbb960, e=0x7ffd517d4a50) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qframe.cpp:521
#40 0x0000786ffd359358 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x622c69c8d3b0, event=event@entry=0x7ffd517d4a50) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1243
#41 0x0000786ffe4fed8e in QApplicationPrivate::notify_helper (this=this@entry=0x622c68c1b060, receiver=receiver@entry=0x622c69c8d3b0, e=e@entry=0x7ffd517d4a50) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3295
#42 0x0000786ffe504278 in QApplication::notify (this=<optimized out>, receiver=0x622c69cbc2d0, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2919
#43 0x0000786ffd35a018 in QCoreApplication::notifyInternal2 (receiver=0x622c69cbc2d0, event=0x7ffd517d4be0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#44 0x0000786ffd35a04a in QCoreApplication::forwardEvent (receiver=<optimized out>, event=<optimized out>, originatingEvent=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1121
#45 0x0000786ffe56e2b1 in QWidgetWindow::handleContextMenuEvent (this=0x622c690308b0, e=0x7ffd517d4dc0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:1211
#46 QWidgetWindow::event (this=0x622c690308b0, event=0x7ffd517d4dc0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:369
#47 0x0000786ffe4fed9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x622c690308b0, e=0x7ffd517d4dc0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3301
#48 0x0000786ffd35a018 in QCoreApplication::notifyInternal2 (receiver=0x622c690308b0, event=0x7ffd517d4dc0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#49 0x0000786ffd35a04a in QCoreApplication::forwardEvent (receiver=<optimized out>, event=<optimized out>, originatingEvent=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1121
#50 0x0000786ffdbf590c in QWindowPrivate::maybeSynthesizeContextMenuEvent (this=<optimized out>, event=0x7ffd517d5330) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow_p.h:35
#51 QWindowPrivate::maybeSynthesizeContextMenuEvent (this=<optimized out>, event=0x7ffd517d5330) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2799
#52 0x0000786ffe56c8bb in QWidgetWindow::handleMouseEvent (this=0x622c690308b0, event=event@entry=0x7ffd517d5330) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:683
#53 0x0000786ffe56db90 in QWidgetWindow::event (this=0x622c690308b0, event=0x7ffd517d5330) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:292
#54 0x0000786ffe4fed9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x622c690308b0, e=0x7ffd517d5330) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3301
#55 0x0000786ffd35a018 in QCoreApplication::notifyInternal2 (receiver=0x622c690308b0, event=0x7ffd517d5330) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#56 0x0000786ffd35a06d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1560
#57 0x0000786ffdb8c0c5 in QGuiApplicationPrivate::processMouseEvent (e=0x622c6b23cb30) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:2483
#58 0x0000786ffdc0d0c4 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1113
#59 0x0000786ffdc0d2b7 in QWindowSystemInterface::flushWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1082
#60 0x0000786ffd3a54aa in QObject::event (this=0x622c68c1f8e0, e=0x786fe80478a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1431
#61 0x0000786ffe4fed9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x622c68c1f8e0, e=0x786fe80478a0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3301
#62 0x0000786ffd35a018 in QCoreApplication::notifyInternal2 (receiver=0x622c68c1f8e0, event=event@entry=0x786fe80478a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#63 0x0000786ffd35a3f2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x786fe80478a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1546
#64 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x622c68c12e40) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1879
#65 0x0000786ffd5cfea8 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1733
#66 postEventSourceDispatch (s=s@entry=0x622c68c1af60) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#67 0x0000786ffaab61e4 in g_main_dispatch (context=0x786ff0000f00) at ../glib/glib/gmain.c:3398
#68 0x0000786ffab19e97 in g_main_context_dispatch_unlocked (context=0x786ff0000f00) at ../glib/glib/gmain.c:4249
#69 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x786ff0000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4314
#70 0x0000786ffaab5615 in g_main_context_iteration (context=0x786ff0000f00, may_block=1) at ../glib/glib/gmain.c:4379
#71 0x0000786ffd5cd59d in QEventDispatcherGlib::processEvents (this=0x622c68c1d370, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#72 0x0000786ffd365376 in QEventLoop::processEvents (this=0x7ffd517d59e0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#73 QEventLoop::exec (this=0x7ffd517d59e0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#74 0x0000786ffd35d159 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:77
#75 0x0000622c5e9ae604 in ??? ()
#76 0x0000786ffcc35488 in __libc_start_call_main (main=main@entry=0x622c5e9aca30, argc=argc@entry=1, argv=argv@entry=0x7ffd517d5e58) at ../sysdeps/nptl/libc_start_call_main.h:58
#77 0x0000786ffcc3554c in __libc_start_main_impl (main=0x622c5e9aca30, argc=1, argv=0x7ffd517d5e58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd517d5e48) at ../csu/libc-start.c:360
#78 0x0000622c5e9afc35 in ??? ()
Comment 9 TraceyC 2025-04-28 19:23:30 UTC
The backtrace looks a lot like bug 468094, but with Qt6 rather than Qt5

I'm not able to reproduce this in Dolphin built with git-master
There were 10 tabs, one with a split. Each tab had a different folder open. Some were local, some were samba shares. 

I'll leave this open and hopefully someone else can reproduce
Comment 10 Mariusz Libera 2025-05-16 18:38:11 UTC
Created attachment 181395 [details]
screenshot

I had dolphin open for a while doing some file moving, and it started malfunctioning: it would no longer allow me to view a directory content, asking for admin authorization. I checked the logs and sure enough it's this bug again:

May 16 20:02:53 legion dolphin[867680]: QProcess: Cannot create pipe (Too many open files)
May 16 20:02:59 legion dolphin[867680]: org.kde.dolphin: Could not open temp file
May 16 20:02:59 legion dolphin[867680]: org.kde.dolphin: Could not open temp file
May 16 20:02:59 legion dolphin[867680]: org.kde.dolphin: Could not load default global viewproperties
May 16 20:02:59 legion dolphin[867680]: org.kde.dolphin: Could not open temp file
May 16 20:02:59 legion dolphin[867680]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/mnt/lindata/music/.directory" "Desktop Entry"
May 16 20:02:59 legion dolphin[867680]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/mnt/lindata/music/.directory" "Desktop Entry"
May 16 20:02:59 legion dolphin[867680]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/mnt/lindata/music/.directory" "Desktop Entry"
May 16 20:02:59 legion dolphin[867680]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/mnt/lindata/music/.directory" "Desktop Entry"
May 16 20:02:59 legion dolphin[867680]: kf.config.core: Created a KConfigGroup on an inaccessible config location "/mnt/lindata/music/.directory" "Desktop Entry"
May 16 20:02:59 legion dolphin[867680]: QProcess: Cannot create pipe (Too many open files)

but dolphin did not crash yet. It did after I tied to open yet another directory in a different tab. Maybe it's something about Back/Forward buttons, maybe some resources are not released?
Comment 11 Mariusz Libera 2025-05-16 21:08:47 UTC
I was able to trigger it again. No tabs or splits, just going through directories in my music collection, back and forth a LOT of times. Then it hits a point where dolphin refuses to display a directory contents and shows that warning about admin privileges from the screenshot I attached - after that, I can still go back in history but opening a new directory causes a crash.