Bug 507229 - Dolphin crashes when opening a sftp connection the second time
Summary: Dolphin crashes when opening a sftp connection the second time
Status: RESOLVED DUPLICATE of bug 504017
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-07-19 12:17 UTC by Arek Guzinski
Modified: 2025-07-23 02:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/182268/events/b1f814ece2ca4973a4a4f0785fb66bb7/


Attachments
New crash information added by DrKonqi (95.63 KB, text/plain)
2025-07-19 12:17 UTC, Arek Guzinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arek Guzinski 2025-07-19 12:17:13 UTC
Application: dolphin (25.04.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.16.0
Operating System: Linux 6.14.0-24-generic x86_64
Windowing System: Wayland
Distribution: KDE neon User Edition
DrKonqi: 6.4.3 [CoredumpBackend]

-- Information about the crash:
To reproduce:
1. open a sftp connection (e.g. "sftp://host")
2. change to a different url (e.g. "/home")
3. open the previous sftp connection again

Result: dolphin crashes.

Other Observations:
- I tried to reproduce this in konqueror, which worked fine. After closing konqueror I tried another time in dolphin and was able to navigate between sftp and local a few times without crashing. Otherwise the above steps result in a crash every time.
- Opening a sftp connection to a different host works - it only crashes if the host was previously visited in the same session.

Probable not relevant, but just in case...:
For every host I visit I have an entry in ~/.ssh/config which says which (if any) key to use. This is necessary because the number of different keys might cause problems (too many attempts) if ssh tries all of them automatically. The crash happens on any host I tried, no matter if a key or password is used.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x000079b666e4527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x000079b666e288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x000079b667b2a09e in qAbort () at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qassert.cpp:46
#12 qt_message_fatal<QString&> (message=..., context=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qlogging.cpp:2149
[...]
#14 0x000079b667b2b779 in QMessageLogger::fatal (this=<optimized out>, msg=0x79b66784a7e8 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qlogging.cpp:883
#15 0x000079b667b15f53 in qt_assert (assertion=assertion@entry=0x79b669c026c4 "oldJob", file=file@entry=0x79b669c02314 "./src/core/kcoredirlister.cpp", line=line@entry=1412) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qassert.cpp:105
#16 0x000079b669ae7b04 in KCoreDirListerCache::slotRedirection (this=0x59a5a91e5460, j=0x59a5a9bf99d0, url=<optimized out>) at /usr/src/kf6-kio-6.16.0-0zneon+24.04+noble+release+build49/src/core/kcoredirlister.cpp:1412
#17 0x000079b667a7cce9 in QtPrivate::QSlotObjectBase::call (a=0x7fff9c6a9da0, r=<optimized out>, this=0x59a5a9ba05c0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#18 doActivate<false> (sender=0x59a5a9bf99d0, signal_index=21, argv=0x7fff9c6a9da0) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146
[...]
#20 KIO::ListJob::redirection (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at /usr/src/kf6-kio-6.16.0-0zneon+24.04+noble+release+build49/obj-x86_64-linux-gnu/src/core/KF6KIOCore_autogen/include/moc_listjob.cpp:215
#21 0x000079b667a7cce9 in QtPrivate::QSlotObjectBase::call (a=0x7fff9c6aa010, r=<optimized out>, this=0x59a5a99cce60, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#22 doActivate<false> (sender=0x59a5a9cee8a0, signal_index=19, argv=0x7fff9c6aa010) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146
[...]
#24 KIO::WorkerInterface::redirection (_t1=..., this=0x59a5a9cee8a0) at /usr/src/kf6-kio-6.16.0-0zneon+24.04+noble+release+build49/obj-x86_64-linux-gnu/src/core/KF6KIOCore_autogen/include/moc_workerinterface_p.cpp:413


Reported using DrKonqi
Comment 1 Arek Guzinski 2025-07-19 12:17:14 UTC
Created attachment 183338 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2025-07-23 02:04:43 UTC
Searchable backtrace


Thread 1 (Thread 0x79b66046ad40 (LWP 11407)):
[KCrash Handler]
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x000079b666e4527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x000079b666e288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x000079b667b2a09e in qAbort () at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qassert.cpp:46
#12 qt_message_fatal<QString&> (message=..., context=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qlogging.cpp:2149
#13 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x79b66784a7e8 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff9c6a9848) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qlogging.cpp:381
#14 0x000079b667b2b779 in QMessageLogger::fatal (this=<optimized out>, msg=0x79b66784a7e8 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qlogging.cpp:883
#15 0x000079b667b15f53 in qt_assert (assertion=assertion@entry=0x79b669c026c4 "oldJob", file=file@entry=0x79b669c02314 "./src/core/kcoredirlister.cpp", line=line@entry=1412) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qassert.cpp:105
#16 0x000079b669ae7b04 in KCoreDirListerCache::slotRedirection (this=0x59a5a91e5460, j=0x59a5a9bf99d0, url=<optimized out>) at /usr/src/kf6-kio-6.16.0-0zneon+24.04+noble+release+build49/src/core/kcoredirlister.cpp:1412
#17 0x000079b667a7cce9 in QtPrivate::QSlotObjectBase::call (a=0x7fff9c6a9da0, r=<optimized out>, this=0x59a5a9ba05c0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#18 doActivate<false> (sender=0x59a5a9bf99d0, signal_index=21, argv=0x7fff9c6a9da0) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146
#19 0x000079b669b4ba38 in QMetaObject::activate<void, KIO::Job*, QUrl> (ret=0x0, local_signal_index=2, mo=<optimized out>, sender=<optimized out>, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs.h:306
#20 KIO::ListJob::redirection (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at /usr/src/kf6-kio-6.16.0-0zneon+24.04+noble+release+build49/obj-x86_64-linux-gnu/src/core/KF6KIOCore_autogen/include/moc_listjob.cpp:215
#21 0x000079b667a7cce9 in QtPrivate::QSlotObjectBase::call (a=0x7fff9c6aa010, r=<optimized out>, this=0x59a5a99cce60, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#22 doActivate<false> (sender=0x59a5a9cee8a0, signal_index=19, argv=0x7fff9c6aa010) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146
#23 0x000079b669bb6793 in QMetaObject::activate<void, QUrl> (ret=0x0, local_signal_index=16, mo=<optimized out>, sender=0x59a5a9cee8a0, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs.h:306
#24 KIO::WorkerInterface::redirection (_t1=..., this=0x59a5a9cee8a0) at /usr/src/kf6-kio-6.16.0-0zneon+24.04+noble+release+build49/obj-x86_64-linux-gnu/src/core/KF6KIOCore_autogen/include/moc_workerinterface_p.cpp:413
#25 KIO::WorkerInterface::dispatch (this=0x59a5a9cee8a0, _cmd=20, rawdata=<optimized out>) at /usr/src/kf6-kio-6.16.0-0zneon+24.04+noble+release+build49/src/core/workerinterface.cpp:216
#26 0x000079b669bb1b87 in KIO::WorkerInterface::dispatch (this=0x59a5a9cee8a0) at /usr/src/kf6-kio-6.16.0-0zneon+24.04+noble+release+build49/src/core/workerinterface.cpp:58
#27 0x000079b669bafc4e in KIO::Worker::gotInput (this=0x59a5a9cee8a0) at /usr/src/kf6-kio-6.16.0-0zneon+24.04+noble+release+build49/src/core/worker.cpp:261
#28 0x000079b667a7cce9 in QtPrivate::QSlotObjectBase::call (a=0x7fff9c6aa1e8, r=<optimized out>, this=0x59a5a9dcadf0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#29 doActivate<false> (sender=0x59a5a978dfc0, signal_index=3, argv=0x7fff9c6aa1e8) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146
#30 0x000079b667a0af60 in QObject::event (this=0x59a5a978dfc0, e=0x59a5a9d6e6e0) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:1431
#31 0x000079b668c3e21d in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x59a5a978dfc0, e=0x59a5a9d6e6e0) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/widgets/kernel/qapplication.cpp:3303
#32 0x000079b667ab6340 in QCoreApplication::notifyInternal2 (receiver=0x59a5a978dfc0, event=0x59a5a9d6e6e0) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qcoreapplication.cpp:1106
#33 0x000079b667ab638d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qcoreapplication.cpp:1546
#34 0x000079b667ab66db in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x59a5a8d99f80) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qcoreapplication.cpp:1879
#35 0x000079b66786227f in postEventSourceDispatch (s=0x59a5a8dcd730) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#36 0x000079b664d595c5 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x000079b664db8737 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x000079b664d58a63 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x000079b66786124f in QEventDispatcherGlib::processEvents (this=0x59a5a8d62bc0, flags=...) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#40 0x000079b667ac0b6b in QEventLoop::exec (this=0x7fff9c6aa630, flags=...) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qflags.h:77
#41 0x000079b667ab96ef in QCoreApplication::exec () at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qflags.h:77
#42 0x000079b667ede8fd in QGuiApplication::exec () at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/gui/kernel/qguiapplication.cpp:1986
#43 0x000079b668c3a4f9 in QApplication::exec () at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/widgets/kernel/qapplication.cpp:2570
#44 0x000059a59088a566 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/dolphin-4:25.04.3-0zneon+24.04+noble+release+build22/src/main.cpp:273
Comment 3 TraceyC 2025-07-23 02:10:46 UTC
Thank you for the bug report. Based on the backtrace this looks like a duplicate of bug 504017. Please follow that report if you would like updates on the progress of this issue.

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