Bug 465031

Summary: Plasma crashed after disconnecting Bluetooth device
Product: [Plasma] plasmashell Reporter: Riccardo Robecchi <sephiroth_pk>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: akselmo, kde, kde, nate, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 5.26.5   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Riccardo Robecchi 2023-01-30 08:47:58 UTC
Application: plasmashell (5.26.5)

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 5.19.15-xanmod1 x86_64
Windowing System: X11
Distribution: KDE neon 5.26
DrKonqi: 5.26.5 [CoredumpBackend]

-- Information about the crash:
A connected Bluetooth device was turned off, but Plasma reported it as still connected. Clicking on "disconnect" from the Bluetooth widget made Plasma crash. Repeating the same situation does not lead to another crash.

The crash does not seem to be reproducible.

-- Backtrace (Reduced):
#6  0x00007f5c1e1ae366 in QQmlData::wasDeleted(QObject const*) (object=0x5561f404c4a0) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/qml/qqmldata_p.h:338
#7  QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) (engine=engine@entry=0x5561ed747940, qmlContext=qmlContext@entry=0x5561f3f98430, object=0x5561f404c4a0, name=0x7f5bf83c05b0, revisionMode=revisionMode@entry=QV4::QObjectWrapper::CheckRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:421
#8  0x00007f5c1e18335a in QV4::QQmlContextWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) (m=<optimized out>, id=..., value=..., receiver=<optimized out>) at jsruntime/qv4qmlcontext.cpp:431
#9  0x00007f5c1e133b93 in QV4::Object::put(QV4::StringOrSymbol*, QV4::Value const&, QV4::Value*) (receiver=0x7f5bf83c05a0, v=..., name=0x7f5bf83c0598, this=0x7f5bf83c05a0) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/jsruntime/qv4string_p.h:280
#10 QV4::ExecutionContext::setProperty(QV4::String*, QV4::Value const&) (this=<optimized out>, name=0x7f5bf83c0598, value=...) at jsruntime/qv4context.cpp:313


Reported using DrKonqi
Comment 1 Riccardo Robecchi 2023-01-30 08:47:59 UTC
Created attachment 155780 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nicolas Fella 2023-02-05 17:18:02 UTC
#6  0x00007f5c1e1ae366 in QQmlData::wasDeleted(QObject const*) (object=0x5561f404c4a0) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/qml/qqmldata_p.h:338
#7  QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) (engine=engine@entry=0x5561ed747940, qmlContext=qmlContext@entry=0x5561f3f98430, object=0x5561f404c4a0, name=0x7f5bf83c05b0, revisionMode=revisionMode@entry=QV4::QObjectWrapper::CheckRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:421
#8  0x00007f5c1e18335a in QV4::QQmlContextWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) (m=<optimized out>, id=..., value=..., receiver=<optimized out>) at jsruntime/qv4qmlcontext.cpp:431
#9  0x00007f5c1e133b93 in QV4::Object::put(QV4::StringOrSymbol*, QV4::Value const&, QV4::Value*) (receiver=0x7f5bf83c05a0, v=..., name=0x7f5bf83c0598, this=0x7f5bf83c05a0) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/jsruntime/qv4string_p.h:280
#10 QV4::ExecutionContext::setProperty(QV4::String*, QV4::Value const&) (this=<optimized out>, name=0x7f5bf83c0598, value=...) at jsruntime/qv4context.cpp:313
#11 0x00007f5c1e1d916b in QV4::Runtime::StoreNameSloppy::call(QV4::ExecutionEngine*, int, QV4::Value const&) (engine=0x5561ed747940, nameIndex=<optimized out>, value=...) at jsruntime/qv4runtime.cpp:990
#12 0x00007f5c1e1c7608 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffc82285f10, engine=0x5561ed747940, code=0x7f5baa4edf8b "/\374") at jsruntime/qv4vme_moth.cpp:602
#13 0x00007f5c1e1ccb9f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7ffc82285f10, engine=engine@entry=0x5561ed747940) at jsruntime/qv4vme_moth.cpp:466
#14 0x00007f5c1e15f8a8 in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) (fo=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at jsruntime/qv4functionobject.cpp:528
#15 0x00007f5c1e1b140b in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=1, argv=0x7f5bf83c04d8, thisObject=0x7f5bf83c04d0, this=0x7f5bf83c04c8) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:202
#16 QV4::FunctionObject::call(QV4::JSCallData const&) const (data=<synthetic pointer>..., this=0x7f5bf83c04c8) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:112
#17 QV4::QObjectSlotDispatcher::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, metaArgs=0x7ffc82286180, ret=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:937
#18 0x00007f5c1ccf40d4 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc82286180, r=0x5561f3eaa070, this=0x5561f7536c70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false>(QObject*, int, void**) (sender=0x5561f3eaa070, signal_index=3, argv=0x7ffc82286180) at kernel/qobject.cpp:3923
#20 0x00007f5baa4592d3 in BluezQt::PendingCall::finished(BluezQt::PendingCall*) () at /lib/x86_64-linux-gnu/libKF5BluezQt.so.6
#21 0x00007f5baa49457d in  () at /lib/x86_64-linux-gnu/libKF5BluezQt.so.6
#22 0x00007f5c1ccf40d4 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc82286370, r=0x5561f2ca1420, this=0x5561f1740830) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false>(QObject*, int, void**) (sender=0x5561f5c6d2c0, signal_index=3, argv=0x7ffc82286370) at kernel/qobject.cpp:3923
#24 0x00007f5c1d7de9d3 in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#25 0x00007f5c1cce9ade in QObject::event(QEvent*) (this=0x5561f5c6d2c0, e=0x5561f5f67b90) at kernel/qobject.cpp:1347
#26 0x00007f5c1d96c793 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5561f5c6d2c0, e=0x5561f5f67b90) at kernel/qapplication.cpp:3640
#27 0x00007f5c1ccbc07a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5561f5c6d2c0, event=0x5561f5f67b90) at kernel/qcoreapplication.cpp:1064
#28 0x00007f5c1ccbf167 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5561ed009ec0) at kernel/qcoreapplication.cpp:1821
#29 0x00007f5c1cd16487 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5561ed1dd610) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f5c1ae51d3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f5c1aea66c8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f5c1ae4f3e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f5c1cd15b4e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5561ed1e24f0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#34 0x00007f5c1ccba99b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc82286760, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#35 0x00007f5c1ccc2f34 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x00005561ecb597f4 in  ()
#37 0x00007f5c1c229d90 in __libc_start_call_main (main=main@entry=0x5561ecb588e0, argc=argc@entry=1, argv=argv@entry=0x7ffc82286a38) at ../sysdeps/nptl/libc_start_call_main.h:58
#38 0x00007f5c1c229e40 in __libc_start_main_impl (main=0x5561ecb588e0, argc=1, argv=0x7ffc82286a38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc82286a28) at ../csu/libc-start.c:392
#39 0x00005561ecb59915 in  ()
Comment 3 Kai Uwe Broulik 2024-03-26 12:12:11 UTC
https://codereview.qt-project.org/c/qt/qtdeclarative/+/536727 wonder if this helps
Comment 4 Akseli Lahtinen 2024-06-07 14:22:06 UTC
Hi, have you encountered this bug on Plasma 6?
Comment 5 Riccardo Robecchi 2024-06-07 16:14:44 UTC
I haven't used Plasma 6 yet. I'll probably wait for 6.1 or 6.2 before upgrading.
Comment 6 Nate Graham 2024-06-07 16:17:00 UTC
6.1 is out next week FWIW
Comment 7 Bug Janitor Service 2024-06-22 03:47:42 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 8 Bug Janitor Service 2024-07-07 03:47:27 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!