Bug 371278 - Dolphin crashed in QList<NonMovableFileItem>::detach() when opening smb location
Summary: Dolphin crashed in QList<NonMovableFileItem>::detach() when opening smb location
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Samba (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 359278 362340 362959 364014 379953 381285 393368 397683 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-20 11:27 UTC by Ian
Modified: 2022-01-13 09:39 UTC (History)
16 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (14.26 KB, text/plain)
2018-05-08 23:36 UTC, James Lu
Details
New crash information added by DrKonqi (10.49 KB, text/plain)
2019-09-17 10:33 UTC, Adrian Portway
Details
Output of ' `KDE_FORK_SLAVES=1 QT_LOGGING_RULES="kf5.kio.*=true;kio_smb=true" dolphin --new-window 'smb://'` (72.42 KB, text/plain)
2022-01-13 09:39 UTC, Till Seifert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian 2016-10-20 11:27:52 UTC
Application: dolphin (16.08.1)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.7.6-200.fc24.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Dolphin file manager.
System, Fedora 24.
Within editable location bar, hit clear line.
Selected 'file V' --> 'smb' and entered my server name 'lake'.
pressed ENTER.
The first time I did this the smb user/password form appeared, filled in then crashed.
2nd, 3rf & 4th times, it crashed after pressing ENTER.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f94b2b00940 (LWP 2902))]

Thread 5 (Thread 0x7f9488b0c700 (LWP 2922)):
#0  0x00007f94acbdc3ed in poll () from /lib64/libc.so.6
#1  0x00007f94a81dea06 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f94a81deb1c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f94ad9f024b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f94ad99f5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f94ad7fe343 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f94ad80299a in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f94aa72c5ca in start_thread () from /lib64/libpthread.so.0
#8  0x00007f94acbe7f6d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f9489774700 (LWP 2916)):
#0  0x00007f94aa731bd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f949136a6b3 in radeon_drm_cs_emit_ioctl () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f9491369df7 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f94aa72c5ca in start_thread () from /lib64/libpthread.so.0
#4  0x00007f94acbe7f6d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9492c7c700 (LWP 2905)):
#0  0x00007f94a8222a09 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#1  0x00007f94a81ddf65 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#2  0x00007f94a81de92b in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#3  0x00007f94a81deb1c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f94ad9f024b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f94ad99f5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f94ad7fe343 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f94adbfa559 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#8  0x00007f94ad80299a in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007f94aa72c5ca in start_thread () from /lib64/libpthread.so.0
#10 0x00007f94acbe7f6d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f949405c700 (LWP 2904)):
#0  0x00007f94acbdc3ed in poll () from /lib64/libc.so.6
#1  0x00007f94a8d66f80 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f94a8d68b79 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f9496defda9 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f94ad80299a in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f94aa72c5ca in start_thread () from /lib64/libpthread.so.0
#6  0x00007f94acbe7f6d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f94b2b00940 (LWP 2902)):
[KCrash Handler]
#6  0x00007f94b25689d0 in QList<NonMovableFileItem>::detach() () from /lib64/libKF5KIOCore.so.5
#7  0x00007f94b25623c6 in KCoreDirListerCache::slotUpdateResult(KJob*) () from /lib64/libKF5KIOCore.so.5
#8  0x00007f94b2562f6c in KCoreDirListerCache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libKF5KIOCore.so.5
#9  0x00007f94ad9c8b92 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007f94af3f9722 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#11 0x00007f94af3fb061 in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#12 0x00007f94b2515772 in KIO::SimpleJob::slotFinished() () from /lib64/libKF5KIOCore.so.5
#13 0x00007f94b250e2be in KIO::ListJob::slotFinished() () from /lib64/libKF5KIOCore.so.5
#14 0x00007f94b250dea1 in KIO::ListJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libKF5KIOCore.so.5
#15 0x00007f94ad9c8b92 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007f94b24ef7e1 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib64/libKF5KIOCore.so.5
#17 0x00007f94b24ede27 in KIO::SlaveInterface::dispatch() () from /lib64/libKF5KIOCore.so.5
#18 0x00007f94b24f2f31 in KIO::Slave::gotInput() () from /lib64/libKF5KIOCore.so.5
#19 0x00007f94b257cb55 in KIO::Slave::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libKF5KIOCore.so.5
#20 0x00007f94ad9c8b92 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#21 0x00007f94b248ea1f in KIO::ConnectionPrivate::dequeue() [clone .part.7] () from /lib64/libKF5KIOCore.so.5
#22 0x00007f94ad9c9bd9 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#23 0x00007f94ae509c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f94ae50f0ef in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007f94ad9a07aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#26 0x00007f94ad9a284f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#27 0x00007f94ad9f01b3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#28 0x00007f94a81de6ba in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#29 0x00007f94a81dea70 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#30 0x00007f94a81deb1c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#31 0x00007f94ad9f022f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#32 0x00007f94ad99f5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#33 0x00007f94ad9a717c in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#34 0x00007f94b413b5c9 in kdemain () from /lib64/libkdeinit5_dolphin.so
#35 0x00007f94acb05731 in __libc_start_main () from /lib64/libc.so.6
#36 0x000055c953557b49 in _start ()

Possible duplicates by query: bug 363982.

Reported using DrKonqi
Comment 1 Ian 2016-10-20 13:05:35 UTC
If I enter the mount request in the form,
smb://{hostname}
or
smb://{hostname}/home
it crashes. Though the first time it does pop up the user/passwd form.

If I enter the mount request in the form,
smb://{username}@{hostname}
or
smb://{username}@{hostname}/home
it works correctly.
Comment 2 Ian 2016-10-20 13:06:59 UTC
My SMB server is a synology NAS box samba server (linux based).
Comment 3 Christophe Marin 2016-12-21 12:13:31 UTC
confirmed with master

# dolphin smb://10.8.0.1
11:01:59 - dolphin(17364) -  : Trying to convert empty KLocalizedString to QString.
11:01:59 - dolphin(17364) -  : Cannot creat accessible child interface for object:  PlacesView(0x1cbecc0)  index:  30
11:02:00 - dolphin(17364) -  : ASSERT: "!listers.isEmpty()" in file /kde/src/5/kio/src/core/kcoredirlister.cpp, line 1733
zsh: abort (core dumped)  dolphin smb://10.8.0.1

Thread 1 (Thread 0x7f488243d8c0 (LWP 17364)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1  0x00007f4881bc29aa in __GI_abort () at abort.c:78
#2  0x00007f487b93ac81 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5
#3  0x00007f487b93615e in qt_assert(char const*, char const*, int) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f487fbc5178 in KCoreDirListerCache::slotUpdateResult (this=0x7f487fe748a0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, j=0x1b2d9a0) at /kde/src/5/kio/src/core/kcoredirlister.cpp:1733
#5  0x00007f487fbcd761 in KCoreDirListerCache::qt_static_metacall (_o=0x7f487fe748a0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7ffc1e030e90) at /kde/build/5/kio/src/core/moc_kcoredirlister_p.cpp:137
#6  0x00007f487bb50681 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f487d711c6b in KJob::result (this=0x1b2d9a0, _t1=0x1b2d9a0) at /kde/build/5/kcoreaddons/src/lib/moc_kjob.cpp:568
#8  0x00007f487d70fce8 in KJob::finishJob (this=0x1b2d9a0, emitResult=true) at /kde/src/5/kcoreaddons/src/lib/jobs/kjob.cpp:109
#9  0x00007f487d7103d1 in KJob::emitResult (this=0x1b2d9a0) at /kde/src/5/kcoreaddons/src/lib/jobs/kjob.cpp:293
#10 0x00007f487fb7909c in KIO::SimpleJob::slotFinished (this=0x1b2d9a0) at /kde/src/5/kio/src/core/simplejob.cpp:233
#11 0x00007f487fb73835 in KIO::ListJob::slotFinished (this=0x1b2d9a0) at /kde/src/5/kio/src/core/listjob.cpp:244
#12 0x00007f487fb73da0 in KIO::ListJob::qt_static_metacall (_o=0x1b2d9a0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7ffc1e031240) at /kde/build/5/kio/src/core/moc_listjob.cpp:127
#13 0x00007f487bb50681 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#14 0x00007f487fb600e9 in KIO::SlaveInterface::finished (this=0x1cddb40) at /kde/build/5/kio/src/core/moc_slaveinterface.cpp:424
#15 0x00007f487fb5dbee in KIO::SlaveInterface::dispatch (this=0x1cddb40, _cmd=104, rawdata=<QArrayData::shared_null+24> "") at /kde/src/5/kio/src/core/slaveinterface.cpp:160
#16 0x00007f487fb5d86e in KIO::SlaveInterface::dispatch (this=0x1cddb40) at /kde/src/5/kio/src/core/slaveinterface.cpp:89
#17 0x00007f487fb61f32 in KIO::Slave::gotInput (this=0x1cddb40) at /kde/src/5/kio/src/core/slave.cpp:399
#18 0x00007f487fbf40af in KIO::Slave::qt_static_metacall (_o=0x1cddb40, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffc1e0316c0) at /kde/build/5/kio/src/core/KF5KIOCore_automoc.dir/moc_slave_HJU3JQIV4SC6KR.cpp:87
#19 0x00007f487bb50681 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f487fb06c3d in KIO::Connection::readyRead (this=0x1d6eb40) at /kde/build/5/kio/src/core/moc_connection_p.cpp:142
#21 0x00007f487fb05a2d in KIO::ConnectionPrivate::dequeue (this=0x1f2de70) at /kde/src/5/kio/src/core/connection.cpp:46
#22 0x00007f487fb06a4e in KIO::Connection::qt_static_metacall (_o=0x1d6eb40, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x1d6fea0) at /kde/build/5/kio/src/core/moc_connection_p.cpp:85
#23 0x00007f487bb51539 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#24 0x00007f487caa602c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f487caad7d1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007f487bb24638 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#27 0x00007f487bb26e20 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#28 0x00007f487bb79063 in ?? () from /usr/lib64/libQt5Core.so.5
#29 0x00007f48748d0677 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f48748d08e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f48748d098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f487bb7946f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#33 0x00007f487bb225ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#34 0x00007f487bb2aeec in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#35 0x00007f4881fa2297 in kdemain (argc=2, argv=0x7ffc1e032608) at /kde/src/5/dolphin/src/main.cpp:150
#36 0x0000000000400778 in main (argc=2, argv=0x7ffc1e032608) at /kde/build/5/dolphin/src/dolphin_dummy.cpp:3
Comment 4 Elvis Angelaccio 2017-05-18 08:52:33 UTC
*** Bug 379953 has been marked as a duplicate of this bug. ***
Comment 5 Elvis Angelaccio 2017-06-16 21:22:56 UTC
*** Bug 381285 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2017-10-20 17:36:11 UTC
*** Bug 364014 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2017-10-20 17:38:34 UTC
*** Bug 359278 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2017-10-20 17:38:48 UTC
*** Bug 362340 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2017-10-20 17:38:55 UTC
*** Bug 362959 has been marked as a duplicate of this bug. ***
Comment 10 Elvis Angelaccio 2018-04-21 10:56:06 UTC
*** Bug 393368 has been marked as a duplicate of this bug. ***
Comment 11 James Lu 2018-05-08 23:36:52 UTC
Created attachment 112518 [details]
New crash information added by DrKonqi

dolphin (18.04.0) using Qt 5.10.1

Hi,

I can confirm this crash on dolphin 4:18.04.0-1 on Debian testing/unstable. Connecting to a samba share with a username (i.e. smb://username@share) is OK, but connecting without and typing in the username/password in the resulting login screen causes a crash.

However, my exact traceback is closer to bug #379953 in that it shows KCoreDirListerCache::printDebug before aborting.

Best,
James

-- Backtrace (Reduced):
#8  0x00007fb5504fc646 in KCoreDirListerCache::printDebug (this=this@entry=0x7fb550773420 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>) at ./src/core/kcoredirlister.cpp:2122
#9  0x00007fb550509511 in KCoreDirListerCache::slotUpdateResult (this=0x7fb550773420 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, j=<optimized out>) at ./src/core/kcoredirlister.cpp:1767
#10 0x00007fb55050a2bc in KCoreDirListerCache::qt_static_metacall (_o=0x7fb550773420 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister_p.cpp:139
[...]
#12 0x00007fb54daa1a1c in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#13 0x00007fb54daa2551 in KJob::finishJob(bool) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
Comment 12 Christoph Feck 2018-09-13 15:08:33 UTC
*** Bug 397683 has been marked as a duplicate of this bug. ***
Comment 13 Adrian Portway 2019-09-17 10:33:11 UTC
Created attachment 122690 [details]
New crash information added by DrKonqi

dolphin (19.08.1) using Qt 5.12.3

- What I was doing when the application crashed:

Typed smb address for machine on network, entered network login information in login pop-up, hit enter and Dolphin crashed. Subsequent reopening of the application and connection attempts to the smb resource worked without incedent.

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f29cfc4a801 in __GI_abort () at abort.c:79
#8  0x00007f29ce4a9fb2 in KCoreDirListerCache::printDebug (this=this@entry=0x7f29ce71f3c0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>) at ./src/core/kcoredirlister.cpp:2089
#9  0x00007f29ce4b5ee9 in KCoreDirListerCache::slotUpdateResult (this=0x7f29ce71f3c0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, j=<optimized out>) at ./src/core/kcoredirlister.cpp:1735
#10 0x00007f29c999a98f in QtPrivate::QSlotObjectBase::call (a=0x7ffcc4711010, r=0x7f29ce71f3c0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, this=0x55e5236be6a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
Comment 14 Harald Sitter 2020-02-07 12:29:59 UTC
Looks suspiciously like finished is called twice.

Can someone who can reproduce this problem check if you get any warnings about 'finished' when you run this in a terminal and reproduce the bug:

`QT_LOGGING_RULES="kio_smb=true" KDE_FORK_SLAVES=1 dolphin --new-window smb://`
Comment 15 Bug Janitor Service 2020-02-22 04:33:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 16 Damianos Dimitriadis 2020-02-23 08:21:24 UTC
The proposed command:
`QT_LOGGING_RULES="kio_smb=true" KDE_FORK_SLAVES=1 dolphin --new-window smb://`
produces the following error:
Unknown option 'new-window'
Comment 17 Adrian Portway 2020-02-24 11:41:27 UTC
I am not able to reproduce this error since editing my smb.conf by adding the following lines:

client min protocol = SMB2_02
client max protocol = SMB3

Output from this morning running `QT_LOGGING_RULES="kio_smb=true" KDE_FORK_SLAVES=1 dolphin --new-window smb://`:

MEGASYNCOVERLAYPLUGIN: Loading plugin ... 
MEGASYNCOVERLAYPLUGIN: connected to Notify Server
MEGASYNCOVERLAYPLUGIN: connected to Ext Server
MEGASYNCOVERLAYPLUGIN: notifiedfromServer
MEGASYNCOVERLAYPLUGIN: Server notified <sync folder added>: /home/aportway/MEGA
MEGASYNCOVERLAYPLUGIN: getOverlays </home/aportway/MEGA>: mega-dolphin-synced
kio_smb: Using libsmbclient library version 4.7.6
kio_smb: Detected broken libsmbclient version 4.7.6
kio_smb: auth_initialize_smbc 
kio_smb: smbc_init call
kio_smb: QUrl("smb://")
kio_smb: checkURL  QUrl("smb://")
kio_smb: updateCache  ""
kio_smb: Using libsmbclient library version 4.7.6
kio_smb: Detected broken libsmbclient version 4.7.6
kio_smb: auth_initialize_smbc 
kio_smb: smbc_init call
kio_smb: QUrl("smb://")
kio_smb: Using libsmbclient library version 4.7.6
kio_smb: Detected broken libsmbclient version 4.7.6
kio_smb: auth_initialize_smbc 
kio_smb: smbc_init call
kio_smb: QUrl("smb://")
kio_smb: Using libsmbclient library version 4.7.6
kio_smb: Detected broken libsmbclient version 4.7.6
kio_smb: auth_initialize_smbc 
kio_smb: smbc_init call
kio_smb: QUrl("smb://")
kio_smb: checkURL  QUrl("smb://")
kio_smb: updateCache  ""
QFSFileEngine::open: No file name specified
kio_smb: QUrl("smb://")
kio_smb: checkURL  QUrl("smb://")
kio_smb: updateCache  ""
kio_smb: open  "smb://"   1   10000
kio_smb: smbc_readdir 
kio_smb: DNSSD added: "NAS-SYN-01" "_smb._tcp" "local" "" 0
kio_smb: DNSSD added: "NAS-SYN-01" "_smb._tcp" "local" "" 0
kio_smb: Failed to resolve DNSSD service "NAS-SYN-01"
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kioslave5 path = /usr/lib/x86_64-linux-gnu/libexec/kf5 pid = 6441
KCrash: Arguments: /usr/lib/x86_64-linux-gnu/libexec/kf5/kioslave5 smb  local:/run/user/1000/dolphinjlVZGz.3.slave-socket 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
org.kde.dolphin: could not find entry for charset= "Other encoding ()"
kio_smb: QUrl("smb://dsrv-1")
kio_smb: checkURL  QUrl("smb://dsrv-1")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/")
kio_smb: QUrl("smb://dsrv-1")
kio_smb: updateCache  ""
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= IPC$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/IPC$")
kio_smb: QUrl("smb://dsrv-1/")
kio_smb: checkURL  QUrl("smb://dsrv-1/")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/")
kio_smb: updateCache  "/"
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= IPC$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/IPC$")
kio_smb: QUrl("smb://dsrv-1")
kio_smb: checkURL  QUrl("smb://dsrv-1")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/")
kio_smb: redirection  QUrl("smb://dsrv-1/")
kio_smb: QUrl("smb://dsrv-1/")
kio_smb: checkURL  QUrl("smb://dsrv-1/")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/")
kio_smb: updateCache  "/"
QFSFileEngine::open: No file name specified
kio_smb: QUrl("smb://dsrv-1")
kio_smb: checkURL  QUrl("smb://dsrv-1")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/")
kio_smb: redirection  QUrl("smb://dsrv-1/")
kio_smb: QUrl("smb://dsrv-1/")
kio_smb: checkURL  QUrl("smb://dsrv-1/")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/")
kio_smb: updateCache  "/"
kio_smb: open  "smb://dsrv-1/"   2   10000
kio_smb: smbc_readdir 
kio_smb: dirp->name  Accounts$   "Accounts$"  ' "" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  ADMIN$   "ADMIN$"  ' "Remote Admin" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  C$   "C$"  ' "Default share" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  Content-manager   "Content-manager"  ' "Content Manager" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  E$   "E$"  ' "Default share" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  IPC$   "IPC$"  ' "Remote IPC" '   6
kio_smb: SMBC_UNKNOWN : "IPC$"
kio_smb: smbc_readdir 
kio_smb: dirp->name  shared   "shared"  ' "" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  Training   "Training"  ' "" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  Transfers   "Transfers"  ' "User transfer folders" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  Users$   "Users$"  ' "User folders" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  welsrv02   "welsrv02"  ' "" '   3
kio_smb: smbc_readdir 
kio_smb: QUrl("smb://dsrv-1")
kio_smb: updateCache  ""
kio_smb: QUrl("smb://dsrv-1")
kio_smb: updateCache  ""
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= IPC$ 

kio_smb: QUrl("smb://dsrv-1/Accounts$")
kio_smb: checkURL  QUrl("smb://dsrv-1/Accounts$")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/Accounts$")
kio_smb: updateCache  "/Accounts$"
kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/IPC$")
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= Accounts$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/Accounts$")
kio_smb: size  4096
kio_smb: QUrl("smb://dsrv-1/ADMIN$")
kio_smb: checkURL  QUrl("smb://dsrv-1/ADMIN$")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/ADMIN$")
kio_smb: updateCache  "/ADMIN$"
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= ADMIN$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/ADMIN$")
kio_smb: size  16384
kio_smb: QUrl("smb://dsrv-1/C$")
kio_smb: checkURL  QUrl("smb://dsrv-1/C$")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/C$")
kio_smb: updateCache  "/C$"
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= C$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/C$")
kio_smb: size  12288
kio_smb: QUrl("smb://dsrv-1/Content-manager")
kio_smb: checkURL  QUrl("smb://dsrv-1/Content-manager")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/Content-manager")
kio_smb: updateCache  "/Content-manager"
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= Content-manager 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/Content-manager")
kio_smb: size  8192
kio_smb: QUrl("smb://dsrv-1/E$")
kio_smb: checkURL  QUrl("smb://dsrv-1/E$")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/E$")
kio_smb: updateCache  "/E$"
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= E$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/E$")
kio_smb: size  65536
kio_smb: QUrl("smb://dsrv-1/shared")
kio_smb: checkURL  QUrl("smb://dsrv-1/shared")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/shared")
kio_smb: updateCache  "/shared"
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= shared 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/shared")
kio_smb: size  4096
kio_smb: QUrl("smb://dsrv-1/Training")
kio_smb: checkURL  QUrl("smb://dsrv-1/Training")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/Training")
kio_smb: updateCache  "/Training"
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= Training 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/Training")
kio_smb: size  4096
kio_smb: QUrl("smb://dsrv-1/Transfers")
kio_smb: checkURL  QUrl("smb://dsrv-1/Transfers")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/Transfers")
kio_smb: updateCache  "/Transfers"
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= Transfers 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/Transfers")
kio_smb: size  0
kio_smb: QUrl("smb://dsrv-1/Users$")
kio_smb: checkURL  QUrl("smb://dsrv-1/Users$")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/Users$")
kio_smb: updateCache  "/Users$"
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= Users$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/Users$")
kio_smb: size  4096
kio_smb: QUrl("smb://dsrv-1/welsrv02")
kio_smb: checkURL  QUrl("smb://dsrv-1/welsrv02")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/welsrv02")
kio_smb: updateCache  "/welsrv02"
kio_smb: auth_smbc_get_dat: set user= aportway , workgroup= TPINTERNAL  server= dsrv-1 , share= welsrv02 

kio_smb: libsmb-auth-callback URL: QUrl("smb://dsrv-1/welsrv02")
kio_smb: size  0
kio_smb: QUrl("smb://dsrv-1/welsrv02")
kio_smb: checkURL  QUrl("smb://dsrv-1/welsrv02")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/welsrv02")
kio_smb: updateCache  "/welsrv02"
kio_smb: size  0
kio_smb: QUrl("smb://dsrv-1/Accounts$")
kio_smb: checkURL  QUrl("smb://dsrv-1/Accounts$")
kio_smb: checkURL return3  QUrl("smb://dsrv-1/Accounts$")
kio_smb: updateCache  "/Accounts$"
kio_smb: size  4096
kio_smb: QUrl("smb://dsrv-1")
kio_smb: updateCache  ""
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
kio_smb: QUrl("smb://dsrv-1")
kio_smb: updateCache  ""
Comment 18 Harald Sitter 2020-02-24 15:02:48 UTC
(In reply to Damianos Dimitriadis from comment #16)
> The proposed command:
> `QT_LOGGING_RULES="kio_smb=true" KDE_FORK_SLAVES=1 dolphin --new-window
> smb://`
> produces the following error:
> Unknown option 'new-window'

Your version of dolphin is not supported any more. Talk to your distribution about getting one that we actually support (i.e. 19.12.2 at the time of writing).
Comment 19 Ian 2020-02-25 15:45:31 UTC
My machine in now on fedora 31.
dolphin dolphin-19.12.1-1.fc31.x86_64

I repeat the original problem with my new NAS box, QNAP TS-253A (os 4.4.1.1216)
/usr/local/samba/sbin/smbd -V  ==>  Version 4.7.12
Providing, smb2.1 to smb1

If I enter the mount request in the form,
smb://{hostname}
or
smb://{hostname}/home
or
smb://{username}@{hostname}
or
smb://{username}@{hostname}/home
All work correctly.
Here my username on the host and NAS box is the same.

I have then repeated with my old NAS box.
synology DSM6.2
samba --version  ==> Version 4.7.12
Supporting, smb3 to smb1

smb://{hostname}
or
smb://{hostname}/home
still crashes, sometimes before and sometimes after it has pop up the user/passwd form.

Note here I am entering a different user name - is this the possible issue,

If I enter the mount request in the form,
smb://{username}@{hostname}
or
smb://{username}@{hostname}/home
it works correctly.

I have run the logging command.
QT_LOGGING_RULES="kio_smb=true" KDE_FORK_SLAVES=1 dolphin --new-window smb://
kio_smb: Using libsmbclient library version 4.11.6
kio_smb: auth_initialize_smbc 
kio_smb: smbc_init call
kio_smb: QUrl("smb://")
kio_smb: checkURL  QUrl("smb://")
kio_smb: updateCache  ""
kio_smb: Using libsmbclient library version 4.11.6
kio_smb: auth_initialize_smbc 
kio_smb: smbc_init call
kio_smb: QUrl("smb://")
kio_smb: Using libsmbclient library version 4.11.6
kio_smb: auth_initialize_smbc 
kio_smb: smbc_init call
kio_smb: QUrl("smb://")
kio_smb: Using libsmbclient library version 4.11.6
kio_smb: auth_initialize_smbc 
kio_smb: smbc_init call
kio_smb: QUrl("smb:///")
kio_smb: checkURL  QUrl("smb:///")
kio_smb: checkURL return3  QUrl("smb:///")
kio_smb: updateCache  "/"
kio_smb: we don't really need to authenticate for this top level url, returning
kio_smb: open  "smb://"   1   -1
kio_smb: errNum 2
kio_smb: open  "smb:///"   1   -1
kio_smb: errNum 111
org.kde.dolphin: could not find entry for charset= "Other encoding ()"
kio_smb: QUrl("smb://lake")
kio_smb: checkURL  QUrl("smb://lake")
kio_smb: checkURL return3  QUrl("smb://lake/")
kio_smb: QUrl("smb://lake")
kio_smb: updateCache  ""
kio_smb: we don't really need to authenticate for this top level url, returning
kio_smb: QUrl("smb://lake/")
kio_smb: checkURL  QUrl("smb://lake/")
kio_smb: checkURL return3  QUrl("smb://lake/")
kio_smb: updateCache  "/"
kio_smb: auth_smbc_get_dat: set user= igw , workgroup= SAMBA  server= lake , share= IPC$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://lake/IPC$")
kio_smb: QUrl("smb://lake/")
kio_smb: checkURL  QUrl("smb://lake/")
kio_smb: checkURL return3  QUrl("smb://lake/")
kio_smb: updateCache  "/"
kio_smb: auth_smbc_get_dat: set user= igw , workgroup= SAMBA  server= lake , share= IPC$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://lake/IPC$")
kio_smb: got password through cache
kio_smb: got password through cache
kio_smb: we don't really need to authenticate for this top level url, returning
kio_smb: auth_smbc_get_dat: set user= igw , workgroup= SAMBA  server= lake , share= IPC$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://lake/IPC$")
kio_smb: auth_smbc_get_dat: set user= igw , workgroup= SAMBA  server= lake , share= IPC$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://lake/IPC$")
kio_smb: got password through cache
kio_smb: got password through cache
kio_smb: open  "smb://lake/"   2   -1
kio_smb: checkPassword for  QUrl("smb://lake/")
kio_smb: call openPasswordDialog for  QUrl("smb://lake/")
kio_smb: openPasswordDialog returned  "rbianw"
kio_smb: updateCache  "/"
kio_smb: open  "smb://lake/"   2   -1
kio_smb: checkPassword for  QUrl("smb://lake/")
kio_smb: call openPasswordDialog for  QUrl("smb://lake/")
kio_smb: openPasswordDialog returned  "rbianw"
kio_smb: updateCache  "/"
kio_smb: QUrl("smb://rbianw@lake/")
kio_smb: checkURL  QUrl("smb://rbianw@lake/")
kio_smb: checkURL return3  QUrl("smb://rbianw@lake/")
kio_smb: updateCache  "/"
kio_smb: auth_smbc_get_dat: set user= rbianw , workgroup= SAMBA  server= lake , share= IPC$ 

kio_smb: libsmb-auth-callback URL: QUrl("smb://lake/IPC$")
kio_smb: got password through cache
kio_smb: open  "smb://rbianw@lake/"   2   10000
kio_smb: smbc_readdir 
kio_smb: dirp->name  backuprb1   "backuprb1"  ' "backup rb3 area" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  backuprb2   "backuprb2"  ' "backup rb2 area" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  backuprb3   "backuprb3"  ' "backup rb3 area" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  homes   "homes"  ' "user home" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjalder   "rbprjalder"  ' "rb project alder" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjcassis   "rbprjcassis"  ' "rb project cassis" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjcompany   "rbprjcompany"  ' "rb project company private" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjdua   "rbprjdua"  ' "rb project dua" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjjuliet   "rbprjjuliet"  ' "rb project juliet" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjkate   "rbprjkate"  ' "rb project kate" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjlab   "rbprjlab"  ' "rb project lab" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjlibs   "rbprjlibs"  ' "rb project libs (cds)" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjmarketing   "rbprjmarketing"  ' "rb project marketing" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjrepo   "rbprjrepo"  ' "rb project repo" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbprjsitka   "rbprjsitka"  ' "rb project sitka" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbshgeneral   "rbshgeneral"  ' "rb share general" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  rbshsafe1   "rbshsafe1"  ' "rb share safe1" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  svn   "svn"  ' "svn share" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  testShare   "testShare"  ' "" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  web   "web"  ' "System default shared folder" '   3
kio_smb: smbc_readdir 
kio_smb: dirp->name  IPC$   "IPC$"  ' "IPC Service ()" '   6
kio_smb: SMBC_UNKNOWN : "IPC$"
kio_smb: smbc_readdir 
kio_smb: dirp->name  home   "home"  ' "Home directory of rbianw" '   3
kio_smb: smbc_readdir 
kf5.kio.core: Internal error: itemsInUse did not contain QUrl("smb://rbianw@lake/")
KCrash: Application 'dolphin' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1004/kdeinit5__0

[2]+  Stopped                 QT_LOGGING_RULES="kio_smb=true" KDE_FORK_SLAVES=1 dolphin --new-window smb://
[igw@minnow nextCloud]$
Comment 20 Bug Janitor Service 2020-03-11 04:33:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 21 Christoph Feck 2020-03-20 17:39:39 UTC
New information was added with comment 19; changing status for inspection.
Comment 22 Ian 2020-03-22 13:49:45 UTC
Apologise Christoph, I missing changing the status.
Regards,
Ian.
Comment 23 Harald Sitter 2020-03-23 09:43:52 UTC
(In reply to Adrian Portway from comment #17)
> I am not able to reproduce this error since editing my smb.conf by adding
> the following lines:
> 
> client min protocol = SMB2_02
> client max protocol = SMB3
> 
> Output from this morning running `QT_LOGGING_RULES="kio_smb=true"
> KDE_FORK_SLAVES=1 dolphin --new-window smb://`:

Are you sure that didn't have two crashes? From the looks of the log your smb backend actually crashed for one reason or another. It would have a completely different backtrace from what is posted in this bug report. As in: your log doesn't really add up with what the backtraces are saying here.
Comment 24 Harald Sitter 2020-03-23 10:26:10 UTC
Apparently this is a suuuuuuuuuuper old bug that nobody ever managed to quite track down in more than 10 years. I don't have high hopes.

- Can anyone of you build kio-extras and kio from source?

- Do any of you experience the crash on a server that isn't a synology NAS?

- Please post another log, this time even more verbose, you may have to raise the history limit in konsole or write the output to a file:
  - run `kwriteconfig5 --file kioslaverc --group SMB --key DebugLevel 10`
  - run `killall kiod5`
  - run `KDE_FORK_SLAVES=1 QT_LOGGING_RULES="kf5.kio.*=true;kio_smb=true" dolphin --new-window 'smb://'`

- If any of you know their way around gdb, I'd be interested in traces on all calls to KCoreDirListerCache::forgetDirs, KCoreDirListerCache::deleteDir, KCoreDirListerCache::renameDir and KCoreDirListerCache::slotRedirection prior to the crash.
Comment 25 Bug Janitor Service 2020-04-07 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 26 Bug Janitor Service 2020-04-22 04:33:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 27 Till Seifert 2021-11-09 16:07:37 UTC
I can repro this bug with current KF and can provide infos.

If can open 'smb://fritz.box/FRITZ/' while a user ('nas') and PW is stored in KWallet for this URL, Dolphin crashes and prints:

  kf.kio.core: Internal error: itemsInUse did not contain QUrl("smb://nas@fritz.box/")
  kf.kio.core: Fatal Error: HUH? Lister KFileItemModelDirLister(0x555d856033c0) is supposed to be listing, but has no job!

If is open 'smb://nas@fritz.box/' it does not crash and works.

The crash is _not_ reproducible, if Dolphin already listed the share successfully in the current session. As is if I open smb://nas@fritz.box and _then_ smb://fritz.box, it works. And i mean same KDE session, not same Dolphin session.
Comment 28 Harald Sitter 2021-11-15 09:11:10 UTC
Are you quite certain that nothing else crashed at the same time?

My only theory for now is that smb.so crashes half way through the listing somehow. It's all a bit weird though. I can't for the live of me reproduce the issue :| so whatever happens probably has to do with something the server side does that either libsmbclient or our code handles weirdly.

What's also weird is that your debug output talks about expecting nas@fritz.box but we never inject user names, smb://fritz.box would get authenticated completely behind the scenes, so the front-end code shouldn't even know about it being nas@.

The various outputs I asked for in https://bugs.kde.org/show_bug.cgi?id=371278#c24 still would be useful as well.
Comment 29 Till Seifert 2022-01-13 09:39:46 UTC
Created attachment 145394 [details]
Output of ' `KDE_FORK_SLAVES=1 QT_LOGGING_RULES="kf5.kio.*=true;kio_smb=true" dolphin --new-window 'smb://'`

> Are you quite certain that nothing else crashed at the same time?

Yes only Dolphin. No other programs disappear, no other crash-notifictions appear.

> What's also weird is that your debug output talks about expecting
> nas@fritz.box but we never inject user names, smb://fritz.box would get
> authenticated completely behind the scenes, so the front-end code shouldn't
> even know about it being nas@.
> 
> The various outputs I asked for in
> https://bugs.kde.org/show_bug.cgi?id=371278#c24 still would be useful as
> well.

`kwriteconfig5 --file kioslaverc --group SMB --key DebugLevel 10` outputs nothing.

The output of ' `KDE_FORK_SLAVES=1 QT_LOGGING_RULES="kf5.kio.*=true;kio_smb=true" dolphin --new-window 'smb://'`' is attached