https://bugs.kde.org/show_bug.cgi?id=521450

            Bug ID: 521450
           Summary: Dolphin 26.04.1 crashes (SIGABRT) when creating a new
                    folder — DolphinView::observeCreatedDirectory
                    regression from bug #513345
    Classification: Applications
           Product: dolphin
      Version First 26.04.1
       Reported In:
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION

Dolphin crashes with SIGABRT every time a new folder is created via the
right-click context menu or Ctrl+Shift+N. The window turns gray and
becomes unresponsive immediately after confirming the folder name. The
folder itself is successfully created on disk — the crash occurs in the
post-creation notification path, not during the mkdir operation itself.

This is a regression of bug #513345, which was fixed in Dolphin 25.12.1
via commit 4e74f32a ("DolphinView: observeCreatedDirectory take into
account last / of m_url"). The fix is not present or is incomplete in
the 26.04.1 branch. The crash lands in the identical function:
DolphinView::observeCreatedDirectory.

Multiple SIGABRT coredumps are recorded in coredumpctl on each
occurrence (10+ crashes confirmed today alone during reproduction).


STEPS TO REPRODUCE
1. Open Dolphin and navigate into any local directory
2. Right-click in the empty area of the file view and select
   "Create New Folder" (or press Ctrl+Shift+N)
3. Enter a folder name in the dialog and press Enter/click OK

OBSERVED RESULT

Dolphin immediately turns gray and becomes unresponsive. The folder is
created on disk. Dolphin must be force-killed to recover. SIGABRT
coredump is recorded by systemd-coredump.

coredumpctl confirms repeated crashes:
  Signal: 6 (ABRT)
  Executable: /usr/bin/dolphin


EXPECTED RESULT

The new folder is created and appears in the Dolphin view without any
crash or freeze.


SOFTWARE/OS VERSIONS

Operating System: Manjaro Linux (kernel 6.18.33-1-MANJARO, 64-bit)
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Dolphin Version: 26.04.1
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce GTX 1050 Ti


ADDITIONAL INFORMATION

Backtrace (thread 7907, main thread):

  #0  QUrl::operator=(QUrl const&)               (libQt6Core.so.6)
  #1  DolphinView::observeCreatedDirectory(QUrl const&)
                                                  (libdolphinprivate.so.6)
  #2  n/a                                         (libQt6Core.so.6)
  #3  DolphinNewFileMenuObserver::directoryCreated(QUrl const&)
                                                  (libdolphinprivate.so.6)
  #4  n/a                                         (libQt6Core.so.6)
  #5  KNewFileMenu::directoryCreated(QUrl const&) (libKF6KIOFileWidgets.so.6)
  #6  KNewFileMenu::slotResult(KJob*)             (libKF6KIOFileWidgets.so.6)
  #7  n/a                                         (libQt6Core.so.6)
  #8  KJob::result(KJob*, KJob::QPrivateSignal)   (libKF6CoreAddons.so.6)
  #9  n/a                                         (libKF6CoreAddons.so.6)
  #10 n/a                                         (libQt6Core.so.6)
  #11–#14 n/a                                     (libKF6KIOCore.so.6)
  #15 QObject::event(QEvent*)                     (libQt6Core.so.6)
  ...
  #25 QCoreApplication::exec()                    (libQt6Core.so.6)

The SIGABRT originates inside QUrl::operator=(), called from
DolphinView::observeCreatedDirectory(). The mkdir syscall completes
successfully before the crash; only the post-creation notification
path is affected.

Related bugs: #513345 (RESOLVED FIXED in 25.12.1), #514001 (RESOLVED
DUPLICATE of #513345). This report covers a recurrence or regression
of the same crash in 26.04.1.

Workaround: pressing F4 to open Dolphin's embedded terminal and using
mkdir avoids the crashing code path entirely.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to