Bug 413854

Summary: Dolphin crashes repeatedly right after login to SMB server
Product: [Frameworks and Libraries] kio-extras Reporter: Andreas Sittinger <a911>
Component: SambaAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: a911, elvis.angelaccio, kfm-devel
Priority: NOR Keywords: drkonqi
Version: 18.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Andreas Sittinger 2019-11-05 20:11:04 UTC
Application: dolphin (18.12.3)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.20-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
- What I was doing when the application crashed:
entered address line as smb://ds411
filled pop-up for user name and password
Dolphin crashes

this particular problem seems to be around for 12 months or more, I have seen it in my configuration for a long time;
it was also found in OpenSuse Leap 42.3, and very likely any older versions I used; same for Ubuntu 18.04.3 LTS (all plain vanilla out of the box)

the server access in general works fine, like using smbclient;
please note this server has 10 shares and a total capacity of 6TB

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 0x7f2b5c452900 (LWP 30621))]

Thread 6 (Thread 0x7f2b23fff700 (LWP 30626)):
#0  0x00007f2b5bce119b in poll () from /lib64/libc.so.6
#1  0x00007f2b4e6d51a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2b4e6d52bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2b55e7196b in QEventDispatcherGlib::processEvents (this=0x7f2b1c000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2b55e1690a in QEventLoop::exec (this=this@entry=0x7f2b23ffecb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f2b55c34daa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f2b55c39ced in QThreadPrivate::start (arg=0x562cfc3c92f0) at thread/qthread_unix.cpp:368
#7  0x00007f2b50b16569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f2b5bceb9ef in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f2b3180a700 (LWP 30625)):
#0  0x00007f2b50b1c8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2b36d7f88b in ?? () from /usr/lib64/dri/r600_dri.so
#2  0x00007f2b36d7f597 in ?? () from /usr/lib64/dri/r600_dri.so
#3  0x00007f2b50b16569 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2b5bceb9ef in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2b3200b700 (LWP 30624)):
#0  0x00007f2b50b1c8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2b36d7f88b in ?? () from /usr/lib64/dri/r600_dri.so
#2  0x00007f2b36d7f597 in ?? () from /usr/lib64/dri/r600_dri.so
#3  0x00007f2b50b16569 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2b5bceb9ef in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2b3e093700 (LWP 30623)):
#0  0x00007f2b5bce119b in poll () from /lib64/libc.so.6
#1  0x00007f2b4e6d51a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2b4e6d52bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2b55e7196b in QEventDispatcherGlib::processEvents (this=0x7f2b38000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2b55e1690a in QEventLoop::exec (this=this@entry=0x7f2b3e092c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f2b55c34daa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f2b562f19e5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f2b55c39ced in QThreadPrivate::start (arg=0x7f2b56564d60) at thread/qthread_unix.cpp:368
#8  0x00007f2b50b16569 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2b5bceb9ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2b448f0700 (LWP 30622)):
#0  0x00007f2b5bce119b in poll () from /lib64/libc.so.6
#1  0x00007f2b4d40a307 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f2b4d40bf3a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f2b476a8939 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f2b55c39ced in QThreadPrivate::start (arg=0x562cfbd2f7e0) at thread/qthread_unix.cpp:368
#5  0x00007f2b50b16569 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f2b5bceb9ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2b5c452900 (LWP 30621)):
[KCrash Handler]
#6  0x00007f2b5a49e8f0 in ?? () from /usr/lib64/libKF5KIOCore.so.5
#7  0x00007f2b5a497e42 in ?? () from /usr/lib64/libKF5KIOCore.so.5
#8  0x00007f2b55e4764f in QtPrivate::QSlotObjectBase::call (a=0x7ffe8ed3ef30, r=0x7f2b5a701360, this=0x562cfc2fd200) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#9  QMetaObject::activate (sender=sender@entry=0x562cfc3257f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe8ed3ef30) at kernel/qobject.cpp:3750
#10 0x00007f2b55e47c07 in QMetaObject::activate (sender=sender@entry=0x562cfc3257f0, m=m@entry=0x7f2b57a52500 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe8ed3ef30) at kernel/qobject.cpp:3629
#11 0x00007f2b577fbd8c in KJob::result (this=this@entry=0x562cfc3257f0, _t1=<optimized out>, _t1@entry=0x562cfc3257f0, _t2=...) at /usr/src/debug/kcoreaddons-5.55.0-lp151.1.2.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:569
#12 0x00007f2b577fc8c1 in KJob::finishJob (this=0x562cfc3257f0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.55.0-lp151.1.2.x86_64/src/lib/jobs/kjob.cpp:109
#13 0x00007f2b5a449658 in KIO::SimpleJob::slotFinished() () from /usr/lib64/libKF5KIOCore.so.5
#14 0x00007f2b5a43dfab in KIO::ListJob::slotFinished() () from /usr/lib64/libKF5KIOCore.so.5
#15 0x00007f2b55e4764f in QtPrivate::QSlotObjectBase::call (a=0x7ffe8ed3f180, r=0x562cfc3257f0, this=0x7f2b40006c50) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#16 QMetaObject::activate (sender=0x562cfc386e60, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3750
#17 0x00007f2b5a420b44 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libKF5KIOCore.so.5
#18 0x00007f2b5a41d248 in KIO::SlaveInterface::dispatch() () from /usr/lib64/libKF5KIOCore.so.5
#19 0x00007f2b5a423571 in KIO::Slave::gotInput() () from /usr/lib64/libKF5KIOCore.so.5
#20 0x00007f2b55e4764f in QtPrivate::QSlotObjectBase::call (a=0x7ffe8ed3f420, r=0x562cfc386e60, this=0x562cfc31ce10) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#21 QMetaObject::activate (sender=0x562cfc28f700, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3750
#22 0x00007f2b5a3c5699 in ?? () from /usr/lib64/libKF5KIOCore.so.5
#23 0x00007f2b55e480a2 in QObject::event (this=0x562cfc28f700, e=<optimized out>) at kernel/qobject.cpp:1247
#24 0x00007f2b56e4d3dc in QApplicationPrivate::notify_helper (this=this@entry=0x562cfbd1af30, receiver=receiver@entry=0x562cfc28f700, e=e@entry=0x7f2b40008830) at kernel/qapplication.cpp:3723
#25 0x00007f2b56e54ca4 in QApplication::notify (this=0x7ffe8ed3fac0, receiver=0x562cfc28f700, e=0x7f2b40008830) at kernel/qapplication.cpp:3482
#26 0x00007f2b55e188d8 in QCoreApplication::notifyInternal2 (receiver=0x562cfc28f700, event=event@entry=0x7f2b40008830) at kernel/qcoreapplication.cpp:1024
#27 0x00007f2b55e1b04d in QCoreApplication::sendEvent (event=0x7f2b40008830, receiver=<optimized out>) at kernel/qcoreapplication.h:233
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x562cfbcfe7e0) at kernel/qcoreapplication.cpp:1699
#29 0x00007f2b55e1b5d8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1553
#30 0x00007f2b55e72323 in postEventSourceDispatch (s=0x562cfbd88400) at kernel/qeventdispatcher_glib.cpp:276
#31 0x00007f2b4e6d4e87 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f2b4e6d5230 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f2b4e6d52bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f2b55e7194f in QEventDispatcherGlib::processEvents (this=0x562cfbd86f00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007f2b55e1690a in QEventLoop::exec (this=this@entry=0x7ffe8ed3f9c0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#36 0x00007f2b55e1f9b4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#37 0x00007f2b5bff3bb2 in kdemain () from /usr/lib64/libkdeinit5_dolphin.so
#38 0x00007f2b5bc13f8a in __libc_start_main () from /lib64/libc.so.6
#39 0x0000562cfb9a980a in _start ()
[Inferior 1 (process 30621) detached]

Possible duplicates by query: bug 413345, bug 412296, bug 410977, bug 410571, bug 409383.

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2019-11-05 20:16:34 UTC
Please install debug symbols for KIO and then post another backtrace. Thanks!
Comment 2 Andreas Sittinger 2019-11-05 20:40:11 UTC
Created attachment 123740 [details]
New crash information added by DrKonqi

dolphin (18.12.3) using Qt 5.9.7

- What I was doing when the application crashed:
starting fresh after login
entered address line as smb://ds411
filled pop-up for user name and password
Dolphin crashes 

the core dump will not happen if SMB connection has been stablished successfully before by running smbclient

new backtrace with some more kio-*-debuginfo added

-- Backtrace (Reduced):
#8  0x00007f64975c164f in QtPrivate::QSlotObjectBase::call (a=0x7ffc65834590, r=0x7f649be7b360, this=0x55b6a0b56940) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
[...]
#11 0x00007f6498f75d8c in KJob::result (this=this@entry=0x55b6a0a16490, _t1=<optimized out>, _t1@entry=0x55b6a0a16490, _t2=...) at /usr/src/debug/kcoreaddons-5.55.0-lp151.1.2.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:569
#12 0x00007f6498f768c1 in KJob::finishJob (this=0x55b6a0a16490, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.55.0-lp151.1.2.x86_64/src/lib/jobs/kjob.cpp:109
#13 0x00007f649bbc3658 in KIO::SimpleJob::slotFinished() () from /usr/lib64/libKF5KIOCore.so.5
#14 0x00007f649bbb7fab in KIO::ListJob::slotFinished() () from /usr/lib64/libKF5KIOCore.so.5
Comment 3 Elvis Angelaccio 2019-11-06 20:32:13 UTC
> #6  0x00007f649bc188f0 in ?? () from /usr/lib64/libKF5KIOCore.so.5
> #7  0x00007f649bc11e42 in ?? () from /usr/lib64/libKF5KIOCore.so.5

Symbols for kio are still missing (you only have symbols for kcoreaddons).
Comment 4 Bug Janitor Service 2019-11-21 04:33:10 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 5 Bug Janitor Service 2019-12-06 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!