| Summary: | Plasma crashes when laptop screen is re-enabled | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Marcin Bajor <marcin.bajor> |
| Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | crash | CC: | marcin.bajor, nate, nortexoid |
| Priority: | NOR | ||
| Version First Reported In: | 5.23.2 | ||
| Target Milestone: | 1.0 | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
gdb-log
New crash information added by DrKonqi New crash information added by DrKonqi |
||
Pasting inline for searchability:
Thread 21 "QSGRenderThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdaffd640 (LWP 3153)]
QQuickItemPrivate::addToDirtyList (this=this@entry=0x555556bcbc70) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickitem.cpp:6203
6203 nextDirtyItem = p->dirtyItemList;
backtrace:
#0 QQuickItemPrivate::addToDirtyList() (this=this@entry=0x555556bcbc70) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickitem.cpp:6203
p = 0x555500000004
q = 0x555556b1c370
#1 0x00007ffff779714e in QQuickItemPrivate::dirty(QQuickItemPrivate::DirtyType) (this=0x555556bcbc70, type=type@entry=QQuickItemPrivate::ChildrenUpdateMask) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickitem.cpp:6188
q = 0x555556b1c370
#2 0x00007ffff77ae224 in forceUpdate(QQuickItem*) (item=0x555556b1c370) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickitem.h:468
items = {<QListSpecialMethods<QQuickItem*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1}, d = 0x1}}
#3 0x00007ffff77ae24f in forceUpdate(QQuickItem*) (item=0x555555e30d60) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickwindow.cpp:497
i = <optimized out>
items = {<QListSpecialMethods<QQuickItem*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x555556de26a0}, d = 0x555556de26a0}}
#4 0x00007ffff77ae24f in forceUpdate(QQuickItem*) (item=0x555558c0faa0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickwindow.cpp:497
i = <optimized out>
items = {<QListSpecialMethods<QQuickItem*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x555557f2e230}, d = 0x555557f2e230}}
#5 0x00007ffff77ae24f in forceUpdate(QQuickItem*) (item=0x5555594b4370) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickwindow.cpp:497
i = <optimized out>
items = {<QListSpecialMethods<QQuickItem*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x555557f31170}, d = 0x555557f31170}}
#6 0x00007ffff77b48ac in QQuickWindowPrivate::syncSceneGraph() (this=this@entry=0x55555650ab10) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickwindow.cpp:516
rootNode = <optimized out>
q = 0x555556757be0
devicePixelRatio = <optimized out>
mode = {i = <optimized out>}
#7 0x00007ffff7752540 in QSGRenderThread::sync(bool, bool) (this=this@entry=0x7fffe4024840, inExpose=inExpose@entry=true, inGrab=inGrab@entry=false) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:647
d = 0x55555650ab10
hadRenderer = <optimized out>
current = <optimized out>
#8 0x00007ffff77541bc in QSGRenderThread::syncAndRender(QImage*) (this=0x7fffe4024840, grabImage=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:778
profileFrames = false
waitTimer = {t1 = 26220, t2 = 524010535}
d = 0x55555650ab10
repaintRequested = <optimized out>
syncRequested = <optimized out>
exposeRequested = <optimized out>
grabRequested = <optimized out>
cd = 0x55555650ab10
current = <optimized out>
#9 0x00007ffff7754ef7 in QSGRenderThread::run() (this=0x7fffe4024840) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1043
#10 0x00007ffff5a9fe31 in QThreadPrivate::start(void*) (arg=0x7fffe4024840) at thread/qthread_unix.cpp:329
thr = 0x7fffe4024840
data = 0x7fffdaffcbd8
__clframe = {__cancel_routine = 0x7ffff5a9f4f0 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x7fffe4024840, __do_it = 1, __cancel_type = <optimized out>}
#11 0x00007ffff5612b37 in start_thread (arg=<optimized out>) at pthread_create.c:435
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736867587648, -8507193690350551952, 140736867587648, 0, 140737310173344, 0, 8507253065566780528, 8507170689008663664}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#12 0x00007ffff5697640 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Unfortunately no KDE code seems to be implicated here. Not sure how to proceed with the debugging.
Created attachment 142953 [details]
New crash information added by DrKonqi
plasmashell (5.23.1) using Qt 5.15.2
- What I was doing when the application crashed:
The same situation after the last update to:
Operating System: openSUSE Tumbleweed 20211025
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060/PCIe/SSE2
-- Backtrace (Reduced):
#6 QQuickItemPrivate::addToDirtyList() (this=this@entry=0x55b58ab6eb40) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickitem.cpp:6203
#7 0x00007fe3d501914e in QQuickItemPrivate::dirty(QQuickItemPrivate::DirtyType) (this=0x55b58ab6eb40, type=type@entry=QQuickItemPrivate::ChildrenUpdateMask) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickitem.cpp:6188
#8 0x00007fe3d5030224 in forceUpdate(QQuickItem*) (item=0x55b58a87c1a0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickitem.h:468
#9 0x00007fe3d503024f in forceUpdate(QQuickItem*) (item=0x55b58993ccc0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickwindow.cpp:497
#10 0x00007fe3d503024f in forceUpdate(QQuickItem*) (item=0x55b599d1d5c0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickwindow.cpp:497
On wayland, plasmashell crashes for me too when I plug my laptop into an external display, sleep it, disconnect external display, and resume. On resume, plasmashell has crashed. Sorry, no debugging info. Created attachment 143067 [details]
New crash information added by DrKonqi
plasmashell (5.23.2) using Qt 5.15.2
- What I was doing when the application crashed:
Still crasing after the update to:
Operating System: openSUSE Tumbleweed 20211029
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060/PCIe/SSE2
-- Backtrace (Reduced):
#6 0x00007ff53ad8089d in QQuickItemPrivate::addToDirtyList() (this=this@entry=0x55e171f65320) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickitem.cpp:6204
#7 0x00007ff53ad8514e in QQuickItemPrivate::dirty(QQuickItemPrivate::DirtyType) (this=0x55e171f65320, type=type@entry=QQuickItemPrivate::ChildrenUpdateMask) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickitem.cpp:6188
#8 0x00007ff53ad9c224 in forceUpdate(QQuickItem*) (item=0x55e171eb01e0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickitem.h:468
#9 0x00007ff53ad9c24f in forceUpdate(QQuickItem*) (item=0x55e171247550) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickwindow.cpp:497
#10 0x00007ff53ad9c24f in forceUpdate(QQuickItem*) (item=0x55e176bd1610) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.5.x86_64/src/quick/items/qquickwindow.cpp:497
*** This bug has been marked as a duplicate of bug 421700 *** |
Created attachment 142883 [details] gdb-log I am using a G3 3779 Dell laptop with an Acer VG220Q monitor connected via HDMI cable. On a daily basis, the external monitor is connected so that the Acer screen is on the right side. When I turn on a game, watch a video.... I turn off my Laptop screen using screen layout\display configuration widget (on my laptop it is a pair of Fn+F8 keys). When I'm done, I turn the laptop screen back on using the widget so that the Acer is on the right side again. At this point the Plasma crashes and reboots. The same crash is observed when I use System Setting Application (Display Configuration Section) Attached log produced by: gdb plasmashell -batch -ex "set pagination off" -ex "set logging file plasmashell_gdb" -ex "set logging on" -ex "run" -ex "echo backtrace:\n" -ex "backtrace full" -ex "echo \n\nthreads backtrace:\n" -ex "thread apply all backtrace" -ex "quit" Operating System: openSUSE Tumbleweed 20211021 KDE Plasma Version: 5.23.0 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2 Kernel Version: 5.14.11-2-default (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz Memory: 31.2 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1060/PCIe/SSE2