Bug 476379

Summary: Dolphin crashes when trying to access SMB resource
Product: [Applications] dolphin Reporter: James C. Owens <jamesowens>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: akselmo, kfm-devel
Priority: NOR Keywords: drkonqi
Version: 22.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description James C. Owens 2023-10-31 16:31:16 UTC
Application: dolphin (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 5.14.21-150500.55.31-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.5"
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
Put in smb://<servername>

Asked for access credentials. As soon as credentials are put in, Dolphin crashes. This is happening on OpenSUSE Leap 15.5. It did not happen on 15.4 (regression).

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  0x00007f6e6a1feab8 in QListData::begin (this=0x20) at /usr/include/qt5/QtCore/qlist.h:118
#7  QList<KFileItem>::begin (this=0x20) at /usr/include/qt5/QtCore/qlist.h:339
#8  KCoreDirListerCache::slotUpdateResult (this=0x7f6e6a2805c0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, j=<optimized out>) at /usr/src/debug/kio-5.103.0-150500.1.2.x86_64/src/core/kcoredirlister.cpp:1750
#9  0x00007f6e68660a6b in QtPrivate::QSlotObjectBase::call (a=0x7ffd61169b40, r=0x7f6e6a2805c0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x55c9cbc07b40, signal_index=6, argv=0x7ffd61169b40) at kernel/qobject.cpp:3923
#11 0x00007f6e68659ee2 in QMetaObject::activate (sender=sender@entry=0x55c9cbc07b40, m=m@entry=0x7f6e6990b2a0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd61169b40) at kernel/qobject.cpp:3983
#12 0x00007f6e698b348c in KJob::result (this=this@entry=0x55c9cbc07b40, _t1=<optimized out>, _t1@entry=0x55c9cbc07b40, _t2=...) at /usr/src/debug/kcoreaddons-5.103.0-150500.1.3.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#13 0x00007f6e698b49a1 in KJob::finishJob (this=0x55c9cbc07b40, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.103.0-150500.1.3.x86_64/src/lib/jobs/kjob.cpp:98
#14 0x00007f6e68660a6b in QtPrivate::QSlotObjectBase::call (a=0x7ffd61169c30, r=0x55c9cbc07b40, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x55c9cbfa9910, signal_index=7, argv=0x7ffd61169c30) at kernel/qobject.cpp:3923
#16 0x00007f6e68659ee2 in QMetaObject::activate (sender=sender@entry=0x55c9cbfa9910, m=m@entry=0x7f6e6a27a840 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3983
#17 0x00007f6e6a18b6c3 in KIO::SlaveInterface::finished (this=this@entry=0x55c9cbfa9910) at /usr/src/debug/kio-5.103.0-150500.1.2.x86_64/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:464
#18 0x00007f6e6a18d873 in KIO::SlaveInterface::dispatch (this=0x55c9cbfa9910, _cmd=<optimized out>, rawdata=...) at /usr/src/debug/kio-5.103.0-150500.1.2.x86_64/src/core/slaveinterface.cpp:149
#19 0x00007f6e6a18bed9 in KIO::SlaveInterface::dispatch (this=0x55c9cbfa9910) at /usr/src/debug/kio-5.103.0-150500.1.2.x86_64/src/core/slaveinterface.cpp:78
#20 0x00007f6e6a1901da in KIO::Slave::gotInput (this=0x55c9cbfa9910) at /usr/src/debug/kio-5.103.0-150500.1.2.x86_64/src/core/slave.cpp:354
#21 0x00007f6e68660a6b in QtPrivate::QSlotObjectBase::call (a=0x7ffd61169e90, r=0x55c9cbfa9910, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#22 doActivate<false> (sender=0x55c9cc411610, signal_index=3, argv=0x7ffd61169e90) at kernel/qobject.cpp:3923
#23 0x00007f6e6865750b in QObject::event (this=0x55c9cc411610, e=0x55c9cae5a2e0) at kernel/qobject.cpp:1347
#24 0x00007f6e692ac53c in QApplicationPrivate::notify_helper (this=this@entry=0x55c9cacb8d60, receiver=receiver@entry=0x55c9cc411610, e=e@entry=0x55c9cae5a2e0) at kernel/qapplication.cpp:3640
#25 0x00007f6e692b32ff in QApplication::notify (this=<optimized out>, receiver=0x55c9cc411610, e=0x55c9cae5a2e0) at kernel/qapplication.cpp:3164
#26 0x00007f6e68623073 in QCoreApplication::notifyInternal2 (receiver=0x55c9cc411610, event=0x55c9cae5a2e0) at kernel/qcoreapplication.cpp:1064
#27 0x00007f6e6862324e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55c9cc411610, event=event@entry=0x55c9cae5a2e0) at kernel/qcoreapplication.cpp:1462
#28 0x00007f6e68625a91 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55c9cac930d0) at kernel/qcoreapplication.cpp:1821
#29 0x00007f6e68626018 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#30 0x00007f6e68686313 in postEventSourceDispatch (s=0x55c9cae67070) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007f6e6552082b in g_main_dispatch (context=0x7f6e54005000) at ../glib/gmain.c:3381
#32 g_main_context_dispatch (context=context@entry=0x7f6e54005000) at ../glib/gmain.c:4099
#33 0x00007f6e65520bd0 in g_main_context_iterate (context=context@entry=0x7f6e54005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#34 0x00007f6e65520c5c in g_main_context_iteration (context=0x7f6e54005000, may_block=may_block@entry=1) at ../glib/gmain.c:4240
#35 0x00007f6e686859bc in QEventDispatcherGlib::processEvents (this=0x55c9cae67a80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007f6e686218da in QEventLoop::exec (this=this@entry=0x7ffd6116a440, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235
#37 0x00007f6e6862b117 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375
#38 0x000055c9ca2f63b8 in ?? ()
#39 0x00007f6e67c3e24d in __libc_start_main (main=0x55c9ca2f5300, argc=1, argv=0x7ffd6116a6e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd6116a6d8) at ../csu/libc-start.c:308
#40 0x000055c9ca2f694a in ?? ()
[Inferior 1 (process 20046) detached]

Reported using DrKonqi
Comment 1 Akseli Lahtinen 2023-11-27 10:14:45 UTC

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