Bug 457069 - System freeze with multimedia
Summary: System freeze with multimedia
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-performance (show other bugs)
Version: 5.24.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-24 12:59 UTC by dif3
Modified: 2022-07-29 14:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dif3 2022-07-24 12:59:30 UTC
Application: plasmashell (5.24.4)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.14.21-150400.24.11-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.4"
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- Unusual behavior I noticed:
Sometimes the screen freezes completely while multimedia is in use (YouTube, but also DVD films occasionally). The cursor can sometimes be moved; after a time, this stops too, or the cursor cannot be moved right from the start of the phenomenon. The clock widget freezes, work surfaces (I have 4) cannot be changed, there is no reaction to keyboard attempts to restart. I am forced to reset and reboot, which always works fine. The problem then does not occur for quite some time.
A secondary problem which may be associated is that the screen occasionally goes black under the same circumstances, as far as I can tell, but only for a second, then everything is there again.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  QVector<int>::isEmpty (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:90
#5  QObjectPrivate::~QObjectPrivate (this=0x3349810, __in_chrg=<optimized out>) at kernel/qobject.cpp:211
#6  0x00007f64bdae2ee9 in QObjectPrivate::~QObjectPrivate (this=0x3349810, __in_chrg=<optimized out>) at kernel/qobject.cpp:237
#7  0x00007f64bdaeae66 in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:60
#8  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0x3349778, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#9  QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:972
#10 0x00007f64740641c3 in QQuickLayoutAttached::~QQuickLayoutAttached (this=0x3349770, __in_chrg=<optimized out>) at .moc/../../../../../src/imports/layouts/qquicklayout_p.h:167
#11 QQuickLayoutAttached::~QQuickLayoutAttached (this=0x3349770, __in_chrg=<optimized out>) at .moc/../../../../../src/imports/layouts/qquicklayout_p.h:167
#12 0x00007f64bdae045b in QObjectPrivate::deleteChildren (this=0x355e2b0) at kernel/qobject.cpp:2104
#13 0x00007f64bdaeae1e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#14 0x00007f64c10122ed in QQuickItem::~QQuickItem (this=0x354de50, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:2320
#15 0x00007f64c117bd95 in QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement (this=0x354de50, __in_chrg=<optimized out>) at ../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#16 QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement (this=0x354de50, __in_chrg=<optimized out>) at ../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#17 0x00007f64bdae045b in QObjectPrivate::deleteChildren (this=0x26eca40) at kernel/qobject.cpp:2104
#18 0x00007f64bdaeae1e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#19 0x00007f64c10122ed in QQuickItem::~QQuickItem (this=0x3288990, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:2320
#20 0x00007f647405944b in QQuickLayout::~QQuickLayout (this=0x3288990, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklayout.cpp:743
#21 0x00007f6474061300 in QQuickLinearLayout::~QQuickLinearLayout (this=0x3288990, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklinearlayout_p.h:196
#22 QQuickColumnLayout::~QQuickColumnLayout (this=0x3288990, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklinearlayout_p.h:244
#23 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement (this=0x3288990, __in_chrg=<optimized out>) at ../../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#24 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement (this=0x3288990, __in_chrg=<optimized out>) at ../../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#25 0x00007f64bdae045b in QObjectPrivate::deleteChildren (this=0x2362d40) at kernel/qobject.cpp:2104
#26 0x00007f64bdaeae1e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#27 0x00007f64c10122ed in QQuickItem::~QQuickItem (this=0x292d1d0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:2320
#28 0x00007f647405944b in QQuickLayout::~QQuickLayout (this=0x292d1d0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklayout.cpp:743
#29 0x00007f6474061300 in QQuickLinearLayout::~QQuickLinearLayout (this=0x292d1d0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklinearlayout_p.h:196
#30 QQuickColumnLayout::~QQuickColumnLayout (this=0x292d1d0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklinearlayout_p.h:244
#31 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement (this=0x292d1d0, __in_chrg=<optimized out>) at ../../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#32 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement (this=0x292d1d0, __in_chrg=<optimized out>) at ../../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#33 0x00007f64bdae045b in QObjectPrivate::deleteChildren (this=0x29f12b0) at kernel/qobject.cpp:2104
#34 0x00007f64bdaeae1e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#35 0x00007f64c10122ed in QQuickItem::~QQuickItem (this=0x39cddf0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:2320
#36 0x00007f647405944b in QQuickLayout::~QQuickLayout (this=0x39cddf0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklayout.cpp:743
#37 0x00007f64740611c0 in QQuickLinearLayout::~QQuickLinearLayout (this=0x39cddf0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklinearlayout_p.h:196
#38 QQuickRowLayout::~QQuickRowLayout (this=0x39cddf0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklinearlayout_p.h:228
#39 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement (this=0x39cddf0, __in_chrg=<optimized out>) at ../../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#40 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement (this=0x39cddf0, __in_chrg=<optimized out>) at ../../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#41 0x00007f64bdae045b in QObjectPrivate::deleteChildren (this=0x29f0d90) at kernel/qobject.cpp:2104
#42 0x00007f64bdaeae1e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#43 0x00007f64c10122ed in QQuickItem::~QQuickItem (this=0x3aece00, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:2320
#44 0x00007f647405944b in QQuickLayout::~QQuickLayout (this=0x3aece00, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklayout.cpp:743
#45 0x00007f6474061300 in QQuickLinearLayout::~QQuickLinearLayout (this=0x3aece00, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklinearlayout_p.h:196
#46 QQuickColumnLayout::~QQuickColumnLayout (this=0x3aece00, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/imports/layouts/qquicklinearlayout_p.h:244
#47 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement (this=0x3aece00, __in_chrg=<optimized out>) at ../../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#48 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement (this=0x3aece00, __in_chrg=<optimized out>) at ../../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#49 0x00007f64bdae045b in QObjectPrivate::deleteChildren (this=0x31bdc70) at kernel/qobject.cpp:2104
#50 0x00007f64bdaeae1e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#51 0x00007f64c10122ed in QQuickItem::~QQuickItem (this=0x2f360d0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:2320
#52 0x00007f64c117bd95 in QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement (this=0x2f360d0, __in_chrg=<optimized out>) at ../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#53 QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement (this=0x2f360d0, __in_chrg=<optimized out>) at ../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#54 0x00007f64bdae045b in QObjectPrivate::deleteChildren (this=0x2a1e8a0) at kernel/qobject.cpp:2104
#55 0x00007f64bdaeae1e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#56 0x00007f64c10122ed in QQuickItem::~QQuickItem (this=0x1bb8110, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:2320
#57 0x00007f64c117bf05 in QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement (this=0x1bb8110, __in_chrg=<optimized out>) at ../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#58 QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement (this=0x1bb8110, __in_chrg=<optimized out>) at ../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#59 0x00007f64bdae3d25 in QObject::event (this=this@entry=0x1bb8110, e=e@entry=0x3c29ab0) at kernel/qobject.cpp:1301
#60 0x00007f64c1013f2b in QQuickItem::event (this=0x1bb8110, ev=0x3c29ab0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:8234
#61 0x00007f64bf67f3ac in QApplicationPrivate::notify_helper (this=this@entry=0xc6da70, receiver=receiver@entry=0x1bb8110, e=e@entry=0x3c29ab0) at kernel/qapplication.cpp:3632
#62 0x00007f64bf6861a0 in QApplication::notify (this=0x7fffc575d270, receiver=0x1bb8110, e=0x3c29ab0) at kernel/qapplication.cpp:3156
#63 0x00007f64bdaafac3 in QCoreApplication::notifyInternal2 (receiver=0x1bb8110, event=0x3c29ab0) at kernel/qcoreapplication.cpp:1064
#64 0x00007f64bdaafc9e in QCoreApplication::sendEvent (receiver=receiver@entry=0x1bb8110, event=event@entry=0x3c29ab0) at kernel/qcoreapplication.cpp:1462
#65 0x00007f64bdab24e1 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xc57ce0) at kernel/qcoreapplication.cpp:1821
#66 0x00007f64bdab2a68 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#67 0x00007f64bdb12a33 in postEventSourceDispatch (s=0xd446b0) at kernel/qeventdispatcher_glib.cpp:277
#68 0x00007f64b66657fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#69 0x00007f64b6665ba0 in ?? () from /usr/lib64/libglib-2.0.so.0
#70 0x00007f64b6665c2c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#71 0x00007f64bdb120dc in QEventDispatcherGlib::processEvents (this=0xd49990, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#72 0x00007f64bdaae33a in QEventLoop::exec (this=this@entry=0x7fffc575d150, flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#73 0x00007f64bdab7b37 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375
#74 0x0000000000420740 in main (argc=<optimized out>, argv=0x7fffc575d280) at /usr/src/debug/plasma5-workspace-5.24.4-bp154.2.3.1.x86_64/shell/main.cpp:238
[Inferior 1 (process 1329) detached]

Possible duplicates by query: bug 456990, bug 456040, bug 456037, bug 454615, bug 453424.

Reported using DrKonqi
Comment 1 Nate Graham 2022-07-26 18:58:23 UTC
Plasma doesn't have the power to directly generate these kinds of symptoms; the only way I could think of is if it's rapidly consuming all system memory, which would make everytihng hang and eventually things would start to crash. Can you see if that's what's happening?

If it's not, then the only remaining culprits would be KWin, your graphics drivers, or the X server. What graphics hardware do you have?
Comment 2 dif3 2022-07-26 19:13:59 UTC
Am Dienstag, 26. Juli 2022, 20:58:23 CEST schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=457069
> 
> Nate Graham <nate@kde.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
> Status|REPORTED                    |NEEDSINFO
>           Component|general                     |generic-performance
>                  CC|                            |nate@kde.org
>          Resolution|---                         |WAITINGFORINFO
> 
> --- Comment #1 from Nate Graham <nate@kde.org> ---
> Plasma doesn't have the power to directly generate these kinds of symptoms;
> the only way I could think of is if it's rapidly consuming all system
> memory, which would make everytihng hang and eventually things would start
> to crash. Can you see if that's what's happening?
> 
> If it's not, then the only remaining culprits would be KWin, your graphics
> drivers, or the X server. What graphics hardware do you have?


Hmm, tall order for me. I can say at the moment that I have AMD Radeon, KAVERI 
is the graphics processor. 
OS: openSUSE Leap 15.4
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.14.21-150400.24.11-default (64-bit)
Graphics Platform: X11
Processors: 2 × AMD A6-7400K Radeon R5, 6 Compute Cores 2C+4G
Memory: 6,7 GiB working memory
Graphics processor: AMD KAVERI
My system monitor does not indicate that Plasma is using any more memory than 
usual, and I do not expect it to. It may well be the X server, or KWin, or the 
graphics drivers, but I don't know. Possibly Firefox is causing trouble, or an 
add-on to the same (but that is not a KDE problem, clearly). Funny thing too, 
a simple reset and the whole thing boots normally. The working memory (or 
whatever it is called) has a max of 6.7 GB, around 3 is being used, so I 
assume the problem is not there. I had to clean up my repositories, but it is 
not clear whether this might have (or have had) an effect. 
So all that is probably of no help. My apologies if I have reported a bug and 
there isn't one. The system seemed to 'think' there was, and the wizard 
appeared, so I went ahead.

Many thanks nonetheless!

D. Fear
Comment 3 Nate Graham 2022-07-27 15:13:42 UTC
Are you saying the problem stopped happening?
Comment 4 dif3 2022-07-27 15:46:32 UTC
Am Mittwoch, 27. Juli 2022, 17:13:42 CEST schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=457069
>
> --- Comment #3 from Nate Graham <nate@kde.org> ---
> Are you saying the problem stopped happening?

I cannot say yet - it has not occurred since I cleaned up the repositories,
but since I do not know what is involved, I must run a practical test this
evening (i.e. try to 'overload' with multimedia and Firefox and see whether
the problem repeats itself). A console enquiry showed that amdgpu is installed
and running, so it should not really be a driver problem (famous last words!).
I will let you know asap, whether results are negative (which I hope) or
positive (in which case I am a bit stuck).

Thanks very much! If there is any other information you might need, just let
me know and I'll try to supply it.
Comment 5 dif3 2022-07-27 17:28:42 UTC
Am Mittwoch, 27. Juli 2022, 17:13:42 CEST schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=457069
>
> --- Comment #3 from Nate Graham <nate@kde.org> ---
> Are you saying the problem stopped happening?
The problem still occurs - something is using the hard disk memory to the
point of blocking other processes. This time it was coming out of stand-by.
Nothing reacted, so again a cold reboot. This appears to be a problem with
something else, hardly likely to be a KDE matter. I am still trying to get to
the bottom of it. The wizard was possibly triggered because Plasma was
affected, rather than being the source of any problem.
Comment 6 dif3 2022-07-28 02:19:25 UTC
Am Mittwoch, 27. Juli 2022, 17:13:42 CEST schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=457069
>
> --- Comment #3 from Nate Graham <nate@kde.org> ---
> Are you saying the problem stopped happening?
I have now (seemingly) narrowed the problem down - there is some kind of
conflict caused by Firefox additions, so definitely not a KDE Plasma problem.

Again, my apologies for the mistaken bug.

KDE remains a stable and reliable desktop - as expected!

Yours,
D. Fear
Comment 7 Nate Graham 2022-07-29 14:36:39 UTC
Great news! Thanks for following up.