Dolphin: crash while accessing a remote avahi host

Hello,

Since a few months, dolphin consistently crashed while attempting to browse a remote host where avahi is running.

ssh keys are loaded and direct access using access works: ssh user@remote.local in konsole.

Login succeeds with sftp://remote.local:22/ typed and validated with the Return key in dolphin’s address bar. That same address is briefly shown in the address bar when selecting the remote item with the mouse before the crash.

The console output is:

$ dolphin
*** MESA_GLSL_CACHE_DISABLE is deprecated; use MESA_SHADER_CACHE_DISABLE instead ***
*** MESA_GLSL_CACHE_DISABLE is deprecated; use MESA_SHADER_CACHE_DISABLE instead ***
*** MESA_GLSL_CACHE_DISABLE is deprecated; use MESA_SHADER_CACHE_DISABLE instead ***
*** MESA_GLSL_CACHE_DISABLE is deprecated; use MESA_SHADER_CACHE_DISABLE instead ***
bluedevil.kio_bluetooth: Kio Bluetooth instanced!
bluedevil.kio_bluetooth: Setting host:  ""
bluedevil.kio_bluetooth: Stat:  QUrl("bluetooth:/")
*** MESA_GLSL_CACHE_DISABLE is deprecated; use MESA_SHADER_CACHE_DISABLE instead ***
QLayout::removeWidget: Cannot remove a null widget.


kf.kio.core: Internal error: itemsInUse did not contain QUrl("sftp://remote.local:22/path/to/user")
kf.kio.core: Fatal Error: HUH? Lister KDirLister(0x55ab4c3f84a0) is supposed to be listing, but has no job!
Abandon                    (core dumped)dolphin
Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics

Thank you for any information that could resolve this.

That could be due to the port being specified, triggering a bug.

What happens if you don’t specify :22?

Since its the default for sftp/ssh protocol, that shouldn’t change a thing, but maybe prevent the crash.

Also when you have a crash you can get very easily a better trace:

For instance with: coredumpctl info -1 dolphinand with debuginfod on.

With or without the port :22, the result is the same, and it has changed now, i.e. it not longer shows the remote user home directory but the root directory. This is for typing in the address bar and validating.

The crash occurs when opening a remote avahi share with the mouse.

If you instruct how to set debuginfod on, I’ll give it a try, that’s completely new to me.

This shortened trace is with coredumpctl info -1:

           PID: 3104 (dolphin)
           UID: 1001 (user)
           GID: 1002 (user)
        Signal: 6 (ABRT)
     Timestamp: Mon 2025-10-13 12:03:03 CEST (18s ago)
  Command Line: dolphin
    Executable: /usr/bin/dolphin
 Control Group: /user.slice/user-1001.slice/user@1001.service/app.slice/app-org.kde.konsole-1890.scope
          Unit: user@1001.service
     User Unit: app-org.kde.konsole-1890.scope
         Slice: user-1001.slice
     Owner UID: 1001 (user)
       Boot ID: 39002ba5111f44008b81f5eccc361e45
    Machine ID: 42758dc7549b4b8b94903a9542fc9176
      Hostname: host.domain.tld
       Storage: /var/lib/systemd/coredump/core.dolphin.1001.39002ba5111f44008b81f5eccc361e45.3104.1760349783000000.zst (present)
  Size on Disk: 5.1M
       Message: Process 3104 (dolphin) of user 1001 dumped core.
                
                Stack trace of thread 3104:
                #0  0x00007fbdc3a9894c n/a (libc.so.6 + 0x9894c)
                #1  0x00007fbdc3a3e410 raise (libc.so.6 + 0x3e410)
                #2  0x00007fbdc66b4e57 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x7e57)
                #3  0x00007fbdc3a3e540 n/a (libc.so.6 + 0x3e540)
                #4  0x00007fbdc3a9894c n/a (libc.so.6 + 0x9894c)
                #5  0x00007fbdc3a3e410 raise (libc.so.6 + 0x3e410)
                #6  0x00007fbdc3a2557a abort (libc.so.6 + 0x2557a)
                #7  0x00007fbdc66f50a4 n/a (libKF6KIOCore.so.6 + 0x390a4)
                #8  0x00007fbdc67ad3bd n/a (libKF6KIOCore.so.6 + 0xf13bd)
                #9  0x00007fbdc43d716f n/a (libQt6Core.so.6 + 0x1d716f)
                #10 0x00007fbdc5fc1c13 _ZN4KJob6resultEPS_NS_14QPrivateSignalE (libKF6CoreAddons.so.6 + 0x77c13)
                #11 0x00007fbdc5fc6fcc n/a (libKF6CoreAddons.so.6 + 0x7cfcc)
                #12 0x00007fbdc43d716f n/a (libQt6Core.so.6 + 0x1d716f)
                #13 0x00007fbdc67d8647 n/a (libKF6KIOCore.so.6 + 0x11c647)
                #14 0x00007fbdc67c6fc5 n/a (libKF6KIOCore.so.6 + 0x10afc5)
                #15 0x00007fbdc67c8c00 n/a (libKF6KIOCore.so.6 + 0x10cc00)
                #16 0x00007fbdc43d716f n/a (libQt6Core.so.6 + 0x1d716f)
                #17 0x00007fbdc43c4554 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1c4554)
                #18 0x00007fbdc55020a0 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x1020a0)
                #19 0x00007fbdc436a6c8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x16a6c8)
                #20 0x00007fbdc436aab2 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x16aab2)
                #21 0x00007fbdc464db18 n/a (libQt6Core.so.6 + 0x44db18)
                #22 0x00007fbdc0e53f4d n/a (libglib-2.0.so.0 + 0x5ef4d)
                #23 0x00007fbdc0e55617 n/a (libglib-2.0.so.0 + 0x60617)
                #24 0x00007fbdc0e55825 g_main_context_iteration (libglib-2.0.so.0 + 0x60825)
                #25 0x00007fbdc464a9d2 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x44a9d2)
                #26 0x00007fbdc4375a86 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x175a86)
                #27 0x00007fbdc436f171 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x16f171)
                #28 0x0000561b85803dc0 n/a (/usr/bin/dolphin + 0x4fdc0)
                #29 0x00007fbdc3a27675 n/a (libc.so.6 + 0x27675)
                #30 0x00007fbdc3a27729 __libc_start_main (libc.so.6 + 0x27729)
                #31 0x0000561b85804ee5 n/a (/usr/bin/dolphin + 0x50ee5)

This lacks the debugbinfod magic.

A better command is coredumpctl debug dolphin -A "-ex bt -ex quit" |& tee backtrace.txt and then share the backtrace.txt file.

From Debug symbols for all!

Here is paste.bin link backtrace.txt.

1 Like

You have hit the one of the most common crash in dolphin, unfortunately. We have 630 automate reports in the last 30 days.

We have been trying to fix this for a while, but the bug origin isn’t clear.

Could you make a screencast of the crash as it happens, or explan the exact steps you take (click, focus, keys entered where…), and the setup.

It might be due to how the credentials you have, if you have several tabs opened, etc.

I don’t reproduce myself using my local sftp server and I need to reproduce it to be able to fix it.

A screen capture can be found here.

As for configuration, there’s nothing special: ssh-add is used to load a key. It is operational since login to remote in konsole with the ssh client just works. Firewall on remote is not the issue, the crash occurs with or without it. And it’s all on the home LAN.

Now it’s not a fundamental problem, don’t waste time with it if there is no obvious solution.

Thank you for considering.

It goes through zeroconf that’s really helpful. I need to try with it.