SUMMARY When creating a directory on a NTFS volume using Dolphin, Dolphin can hang indefinitely until SIGTERM'ed. This occurs with both the ntfs-3g and in-kernel ntfs3 driver. The apparent cause is that Dolphin enters an infinite event loop after directory creation, continuously receiving and processing Wayland events (file descriptor 3). The strace shows a repeating pattern of poll() → recvmsg() → EAGAIN cycling indefinitely, consuming 100% CPU. The directory is successfully created, but Dolphin gets stuck in what appears to be a widget update feedback loop. This is indicated via a repeating pattern of the following messages in strace: ``` 139678 recvmsg(3, {msg_namelen=0}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable) 139678 poll([{fd=3, events=POLLIN}, {fd=12, events=POLLIN}], 2, -1) = 1 ([{fd=3, revents=POLLIN}]) 139678 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\34\0\0\0\2\0\24\0\204`\205\3\0c\3\0\0000\0\0\34\0\0\0\5\0\10\0", iov_len=1776}, {iov_base="", iov_len=2320}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 28 ``` STEPS TO REPRODUCE 1. Open Dolphin to a mounted NTFS volume 2. Create a directory inside the currently visible directory (repeat until bug occurs, it shouldn't take more than a few attempts) OBSERVED RESULT Dolphin hangs, consuming 100% of CPU EXPECTED RESULT Dolphin should not hang SOFTWARE/OS VERSIONS Operating System: CachyOS Linux Dolphin Version: 25.12.0 KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.21.0 Qt Version: 6.10.1 Kernel Version: 6.18.1-2-cachyos (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor Memory: 64 GiB of RAM (62.4 GiB usable) Graphics Processor: AMD Radeon RX 7900 XTX
It seems it's not limited only to NTFS volumes, as I just had it occur on an XFS volume. However, it seems to happen significantly more frequently on NTFS volumes, for some currently unknown reason.