Bug 472964

Summary: Plasma crashes when receiving a notification from KDE Connect
Product: [Plasma] plasmashell Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: bugseforuns, kde, nate, nicolas.fella, piotr.mierzwinski
Priority: HI Keywords: drkonqi, qt6
Version: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
URL: https://codereview.qt-project.org/c/qt/qtdeclarative/+/497726
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
plasmashell crashed

Description Piotr Mierzwinski 2023-08-03 16:28:50 UTC
Application: plasmashell (5.27.80)

Qt Version: 6.6.0
Frameworks Version: 5.240.0
Operating System: Linux 6.2.0-26-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.27.80 [CoredumpBackend]

-- Information about the crash:
My phone was connected with kdeconnect runnig in plasma. Appeared call in phone and plasma got crash.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#6  0x00007fbad0fa4041 in QObjectPrivate::maybeSignalConnected(unsigned int) const () at /lib/x86_64-linux-gnu/libQt6Core.so.6
[...]
#10 0x00007fbad2b28813 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlRefPointer<QQmlContextData> const&, QFlags<QQmlPropertyData::WriteFlag>) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#11 0x00007fbad29eb884 in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData const*, QV4::Value const&) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#12 0x00007fbad29ebf5e in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlRefPointer<QQmlContextData> const&, QObject*, QV4::String*, QFlags<QV4::QObjectWrapper::Flag>, QV4::Value const&) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#13 0x00007fbad29ec198 in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6


Reported using DrKonqi
Comment 1 Piotr Mierzwinski 2023-08-03 16:28:51 UTC
Created attachment 160707 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Piotr Mierzwinski 2023-08-03 18:05:02 UTC
Created attachment 160710 [details]
plasmashell crashed
Comment 3 Piotr Mierzwinski 2023-08-03 18:06:17 UTC
second backtrace when I received SMS and it was notified in Plasma
Comment 4 Kai Uwe Broulik 2023-08-14 19:16:20 UTC
Having been able to reproduce it several times on my machine, it seeems to crash in an assignment to "model.expired = true". The question is why...
Comment 5 Nate Graham 2023-08-14 20:26:28 UTC
*** Bug 473357 has been marked as a duplicate of this bug. ***
Comment 6 Nicolas Fella 2023-08-15 11:52:55 UTC
*** Bug 473409 has been marked as a duplicate of this bug. ***
Comment 7 Nicolas Fella 2023-08-15 11:54:33 UTC
Seems to only happen on Neon, which might imply it's related to Qt 6.6
Comment 8 Nate Graham 2023-08-16 22:31:38 UTC
*** Bug 473435 has been marked as a duplicate of this bug. ***
Comment 9 Kai Uwe Broulik 2023-08-18 15:24:55 UTC
Qt bug, potential fix uploaded: https://codereview.qt-project.org/c/qt/qtdeclarative/+/497726
Comment 10 Nicolas Fella 2023-09-10 22:48:27 UTC
*** Bug 472932 has been marked as a duplicate of this bug. ***