Bug 420154

Summary: Dolphin crash after failed try to send file via Bluetooth
Product: [Frameworks and Libraries] frameworks-purpose Reporter: Mmenzel <flareload>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bugseforuns, kde.podagric, kfm-devel, nate, nicolas.fella, wbauer1
Priority: NOR Keywords: drkonqi
Version: 5.69.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mmenzel 2020-04-16 12:12:11 UTC
Application: dolphin (19.12.3)

Qt Version: 5.14.1
Frameworks Version: 5.69.0
Operating System: Linux 4.15.0-96-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.18

-- Information about the crash:
- What I was doing when the application crashed:
I tried to resend a file via Bluetooth to a Win10 maschine, but file acceptance was denied by Win10.
The behavior is reproduceable on my KDE NEon maschine (latest updates installed)

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f462fb3c800 (LWP 9521))]

Thread 6 (Thread 0x7f05ebfff700 (LWP 9631)):
#0  0x00007f462f3d5bf9 in __GI___poll (fds=0x7f05e4000b20, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4620e5a5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4620e5a6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4628f830db in QEventDispatcherGlib::processEvents (this=0x7f05e4008c80, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f4628f2263a in QEventLoop::exec (this=this@entry=0x7f05ebffed80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f4628d33317 in QThread::exec (this=this@entry=0x7f4610010e20) at thread/qthread.cpp:536
#6  0x00007f4624d1b605 in QQmlThreadPrivate::run (this=0x7f4610010e20) at qml/ftw/qqmlthread.cpp:155
#7  0x00007f4628d347ec in QThreadPrivate::start (arg=0x7f4610010e20) at thread/qthread_unix.cpp:342
#8  0x00007f462366f6db in start_thread (arg=0x7f05ebfff700) at pthread_create.c:463
#9  0x00007f462f3e288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f05f1c73700 (LWP 9576)):
#0  0x00007f46236759f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b9afd482b0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55b9afd48260, cond=0x55b9afd48288) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55b9afd48288, mutex=0x55b9afd48260) at pthread_cond_wait.c:655
#3  0x00007f4628d3ad9b in QWaitConditionPrivate::wait (deadline=..., this=0x55b9afd48260) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55b9afd456e0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f4628d3af19 in QWaitCondition::wait (this=this@entry=0x55b9afd456e8, mutex=mutex@entry=0x55b9afd456e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#6  0x00007f462526e1d3 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55b9afd456d8) at scenegraph/qsgthreadedrenderloop.cpp:255
#7  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55b9afd45640) at scenegraph/qsgthreadedrenderloop.cpp:905
#8  0x00007f462526e631 in QSGRenderThread::run (this=0x55b9afd45640) at scenegraph/qsgthreadedrenderloop.cpp:1000
#9  0x00007f4628d347ec in QThreadPrivate::start (arg=0x55b9afd45640) at thread/qthread_unix.cpp:342
#10 0x00007f462366f6db in start_thread (arg=0x7f05f1c73700) at pthread_create.c:463
#11 0x00007f462f3e288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f05fb8f6700 (LWP 9574)):
#0  0x00007f462f3d10b4 in __GI___libc_read (fd=34, buf=0x7f05fb8f5b70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f4620e9f2b0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4620e5a0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4620e5a570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4620e5a6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4628f830db in QEventDispatcherGlib::processEvents (this=0x7f05f400ab50, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f4628f2263a in QEventLoop::exec (this=this@entry=0x7f05fb8f5d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f4628d33317 in QThread::exec (this=this@entry=0x55b9afe33e80) at thread/qthread.cpp:536
#8  0x00007f4624d1b605 in QQmlThreadPrivate::run (this=0x55b9afe33e80) at qml/ftw/qqmlthread.cpp:155
#9  0x00007f4628d347ec in QThreadPrivate::start (arg=0x55b9afe33e80) at thread/qthread_unix.cpp:342
#10 0x00007f462366f6db in start_thread (arg=0x7f05fb8f6700) at pthread_create.c:463
#11 0x00007f462f3e288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f460451c700 (LWP 9524)):
#0  0x00007f4620ea0629 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4620e5a5af in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4620e5a6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4628f830db in QEventDispatcherGlib::processEvents (this=0x7f45fc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f4628f2263a in QEventLoop::exec (this=this@entry=0x7f460451bda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f4628d33317 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007f4628d347ec in QThreadPrivate::start (arg=0x55b9af6a51a0) at thread/qthread_unix.cpp:342
#7  0x00007f462366f6db in start_thread (arg=0x7f460451c700) at pthread_create.c:463
#8  0x00007f462f3e288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4614b3b700 (LWP 9523)):
#0  0x00007f462f3d5bf9 in __GI___poll (fds=0x7f46080126f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4620e5a5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4620e5a6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4628f830db in QEventDispatcherGlib::processEvents (this=0x7f4608000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f4628f2263a in QEventLoop::exec (this=this@entry=0x7f4614b3ad70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f4628d33317 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007f462940f555 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f4628d347ec in QThreadPrivate::start (arg=0x7f4629687da0) at thread/qthread_unix.cpp:342
#8  0x00007f462366f6db in start_thread (arg=0x7f4614b3b700) at pthread_create.c:463
#9  0x00007f462f3e288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f462fb3c800 (LWP 9521)):
[KCrash Handler]
#6  0x00007f4624b262ae in QQmlData::wasDeleted (object=0x55b9b005a340) at ../../include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/qml/qqmldata_p.h:338
#7  QV4::QObjectWrapper::wrap (engine=engine@entry=0x55b9af43e6e0, object=0x55b9b005a340) at jsruntime/qv4qobjectwrapper_p.h:213
#8  0x00007f4624ba4996 in loadProperty (v4=0x55b9af43e6e0, object=0x55b9b0066f30, property=...) at jsruntime/qv4qobjectwrapper.cpp:139
#9  0x00007f4624ba57e7 in QV4::QObjectWrapper::lookupGetterImpl<QV4::QObjectWrapper::lookupGetter(QV4::Lookup*, QV4::ExecutionEngine*, const QV4::Value&)::<lambda()> > (useOriginalProperty=false, revertLookup=..., object=..., engine=<optimized out>, lookup=<optimized out>) at jsruntime/qv4qobjectwrapper_p.h:262
#10 QV4::QObjectWrapper::lookupGetter (lookup=<optimized out>, engine=<optimized out>, object=...) at jsruntime/qv4qobjectwrapper.cpp:894
#11 0x00007f4624bc3669 in QV4::Moth::VME::interpret (frame=0x7fff7e248610, engine=0x55b9af43e6e0, code=0x7f460c0142c4 ":\v\030\006\002") at jsruntime/qv4vme_moth.cpp:638
#12 0x00007f4624bc8456 in QV4::Moth::VME::exec (frame=frame@entry=0x7fff7e248610, engine=engine@entry=0x55b9af43e6e0) at jsruntime/qv4vme_moth.cpp:463
#13 0x00007f4624b5b10a in QV4::Function::call (this=this@entry=0x55b9affe1b60, thisObject=thisObject@entry=0x7f05fa79c4e8, argv=argv@entry=0x7f05fa79c500, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#14 0x00007f4624cd8457 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x55b9b0069cf0, callData=callData@entry=0x7f05fa79c4d0, isUndefined=isUndefined@entry=0x7fff7e24881f) at qml/qqmljavascriptexpression.cpp:211
#15 0x00007f4624cde39e in QQmlBinding::evaluate (this=this@entry=0x55b9b0069cf0, isUndefined=isUndefined@entry=0x7fff7e24881f) at qml/qqmlbinding.cpp:210
#16 0x00007f4624ce29f5 in QQmlNonbindingBinding::doUpdate (this=0x55b9b0069cf0, watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:246
#17 0x00007f4624cdf632 in QQmlBinding::update (this=0x55b9b0069cf0, flags=...) at qml/qqmlbinding.cpp:186
#18 0x00007f4624c7ecff in QQmlContextData::refreshExpressionsRecursive (this=<optimized out>, expression=0x55b9b0069cf0) at qml/qqmlcontext.cpp:722
#19 0x00007f4624c7ed57 in QQmlContextData::refreshExpressionsRecursive (this=<optimized out>, expression=0x55b9afd300b0) at qml/qqmlcontext.cpp:719
#20 0x00007f4624c7ed57 in QQmlContextData::refreshExpressionsRecursive (this=this@entry=0x55b9b0066e70, expression=0x55b9afd30210) at qml/qqmlcontext.cpp:719
#21 0x00007f4624c7f1cb in QQmlContextData::refreshExpressionsRecursive (this=0x55b9b0066e70, isGlobal=isGlobal@entry=false) at qml/qqmlcontext.cpp:751
#22 0x00007f4624c7f274 in QQmlContextData::refreshExpressionsRecursive (this=0x55b9b0065f40, isGlobal=isGlobal@entry=false) at qml/qqmlcontext.cpp:741
#23 0x00007f4624c7f2fb in QQmlContextData::refreshExpressionsRecursive (this=0x55b9b00795f0, isGlobal=<optimized out>) at qml/qqmlcontext.cpp:761
#24 0x00007f4624c7f3e3 in QQmlContextData::refreshExpressions (this=this@entry=0x55b9afe79f30) at qml/qqmlcontext.cpp:788
#25 0x00007f4624c64cc8 in QQmlEngine::retranslate (this=<optimized out>) at qml/qqmlengine.cpp:1434
#26 0x00007f4628f56e8b in QObject::event (this=0x55b9afd66750, e=0x55b9afbe40d0) at kernel/qobject.cpp:1339
#27 0x00007f462a2da8bc in QApplicationPrivate::notify_helper (this=this@entry=0x55b9af076060, receiver=receiver@entry=0x55b9afd66750, e=e@entry=0x55b9afbe40d0) at kernel/qapplication.cpp:3684
#28 0x00007f462a2e1ac0 in QApplication::notify (this=0x7fff7e249110, receiver=0x55b9afd66750, e=0x55b9afbe40d0) at kernel/qapplication.cpp:3430
#29 0x00007f4628f23db8 in QCoreApplication::notifyInternal2 (receiver=0x55b9afd66750, event=0x55b9afbe40d0) at kernel/qcoreapplication.cpp:1092
#30 0x00007f4628f23f8e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55b9afd66750, event=event@entry=0x55b9afbe40d0) at kernel/qcoreapplication.cpp:1487
#31 0x00007f4628f26a31 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55b9af06bc00) at kernel/qcoreapplication.cpp:1832
#32 0x00007f4628f26fc8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1691
#33 0x00007f4628f83a13 in postEventSourceDispatch (s=0x55b9af0c8d90) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007f4620e5a417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f4620e5a650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f4620e5a6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f4628f830bc in QEventDispatcherGlib::processEvents (this=0x55b9af0da650, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007f4628f2263a in QEventLoop::exec (this=this@entry=0x7fff7e249020, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#39 0x00007f4628f2bdb0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1400
#40 0x00007f46299e1c6c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1866
#41 0x00007f462a2da815 in QApplication::exec () at kernel/qapplication.cpp:2824
#42 0x00007f462f6f850c in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:188
#43 0x00007f462f2e2b97 in __libc_start_main (main=0x55b9acf83720 <main>, argc=1, argv=0x7fff7e249278, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7e249268) at ../csu/libc-start.c:310
#44 0x000055b9acf8375a in _start ()

Possible duplicates by query: bug 372473, bug 365234, bug 365233.

Reported using DrKonqi
Comment 1 Patrick Silva 2020-04-20 21:41:16 UTC
Dolphin also crashes on Neon unstable and Arch Linux after failure on sharing by email.

1. right-click on any file > share > send via email...
"Could not find any application or handler for mailto:?attachment=file:///home/yourusername/file.png" error message appears
2, repeat the step 1 with the same file, then Dolphin crashes
Comment 2 Wolfgang Bauer 2020-05-04 10:22:11 UTC
(In reply to Patrick Silva from comment #1)
> Dolphin also crashes on Neon unstable and Arch Linux after failure on
> sharing by email.

It also crashes the second time if there is no error.
openSUSE Leap 15.1 with latest dolphin 20.04.0 and KDE Frameworks 5.69.0 here.
Comment 3 Christoph Feck 2020-05-06 20:55:42 UTC
I didn't know Dolphin used QML. Is this pulled in via a plugin?
Comment 4 Nate Graham 2020-05-06 23:59:16 UTC
Ah, the Bluetooth plugin in Purpose uses QML. Sending there
Comment 5 Patrick Silva 2020-07-10 01:00:48 UTC
*** Bug 424043 has been marked as a duplicate of this bug. ***
Comment 6 Nicolas Fella 2020-07-10 11:45:48 UTC

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