Bug 477576 - Crash in tabbox after switching compositing
Summary: Crash in tabbox after switching compositing
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.27.5
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 476011 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-26 18:44 UTC by d7ghrrkcz
Modified: 2024-06-12 06:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kwin_x11 crash (34.28 KB, text/plain)
2023-11-26 18:44 UTC, d7ghrrkcz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description d7ghrrkcz 2023-11-26 18:44:19 UTC
Created attachment 163509 [details]
kwin_x11 crash

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Launch fullscreen game (I used Factorio game through Wine emulator)
2. Game is running in fullscreen windowed mode, no window borders, but no exclusive monitor use
3. Do Alt-Tab repeatedly between game and other running applications, like Firefox, Kate etc.
4. Eventually, kwin_x11 process may crash.
5. kwin_x11 will restart automatically, and desktop continues to operate normally

OBSERVED RESULT
Crash of kwin_x11

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-13-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT
Product Name: X570 Steel Legend

ADDITIONAL INFORMATION
GPU: AMD ATI Radeon RX 6800/6800 XT / 6900 XT

full backtrace attached. Thanks!
Comment 1 Nate Graham 2023-11-29 22:14:25 UTC
Pasting backtrace inline for searchability:

#0  __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at ./nptl/pthread_sigmask.c:43
#1  0x00007fcaed25b1b9 in __GI___sigprocmask (how=<optimized out>, set=<optimized out>, oset=<optimized out>) at ../sysdeps/unix/sysv/linux/sigprocmask.c:25
#2  0x00007fcaf05d4e9b in KCrash::setCrashHandler(void (*)(int)) () from /lib/x86_64-linux-gnu/libKF5Crash.so.5
#3  0x00007fcaf05d5b3e in KCrash::defaultCrashHandler(int) () from /lib/x86_64-linux-gnu/libKF5Crash.so.5
#4  <signal handler called>
#5  0x00007fcaedefde59 in XSync () from /lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007fcae35d29a8 in dri3_bind_tex_image (base=0x5617bfbf5a80, buffer=<optimized out>, attrib_list=<optimized out>) at ../src/glx/dri3_glx.c:679
#7  0x00005617bbbfba54 in ?? ()
#8  0x00007fcaf04dd7a5 in KWin::GLTexture::bind() () from /lib/x86_64-linux-gnu/libkwinglutils.so.14
#9  0x00007fcaf00ac2d5 in KWin::ItemRendererOpenGL::renderItem (this=this@entry=0x5617bde48a10, item=<optimized out>, mask=mask@entry=4, region=..., 
    data=...) at ./src/scene/itemrenderer_opengl.cpp:352
#10 0x00007fcaf00edc26 in KWin::WindowThumbnailItem::updateOffscreenTexture (this=0x7fcae4049300) at ./src/scripting/windowthumbnailitem.cpp:447
#11 0x00007fcaee2e8f4f in QtPrivate::QSlotObjectBase::call (a=0x7ffe67b45000, r=0x7fcae4049300, this=0x5617befb9b70)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false> (sender=0x5617bdf8b5e0, signal_index=4, argv=0x7ffe67b45000) at kernel/qobject.cpp:3923
#13 0x00007fcaee2e21ef in QMetaObject::activate (sender=sender@entry=0x5617bdf8b5e0, m=m@entry=0x7fcaf04a6700 <KWin::WorkspaceScene::staticMetaObject>, 
    local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3983
#14 0x00007fcaeff92260 in KWin::WorkspaceScene::preFrameRender (this=this@entry=0x5617bdf8b5e0)
    at ./obj-x86_64-linux-gnu/src/kwin_autogen/QSLIUTEOWB/moc_workspacescene.cpp:143
#15 0x00007fcaf00b961d in KWin::WorkspaceScene::prePaint (this=0x5617bdf8b5e0, delegate=<optimized out>) at ./src/scene/workspacescene.cpp:221
#16 0x00007fcaeffd81ef in KWin::Compositor::prePaintPass (this=this@entry=0x5617bdd9e280, layer=layer@entry=0x5617bdf9e1d0) at ./src/composite.cpp:714
#17 0x00007fcaeffdb37f in KWin::Compositor::composite (this=0x5617bdd9e280, renderLoop=0x5617bdc71200) at ./src/composite.cpp:657
#18 0x00007fcaeffdd293 in KWin::X11Compositor::composite (this=0x5617bdd9e280, renderLoop=0x5617bdc71200) at ./src/composite.cpp:961
#19 0x00007fcaee2e8f4f in QtPrivate::QSlotObjectBase::call (a=0x7ffe67b45320, r=0x5617bdd9e280, this=0x5617bdf0fdf0)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x5617bdc71200, signal_index=5, argv=0x7ffe67b45320) at kernel/qobject.cpp:3923
#21 0x00007fcaee2e21ef in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fcaf04a7f40 <KWin::RenderLoop::staticMetaObject>, 
    local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe67b45320) at kernel/qobject.cpp:3983
#22 0x00007fcaeff900c2 in KWin::RenderLoop::frameRequested (this=<optimized out>, _t1=<optimized out>)
    at ./obj-x86_64-linux-gnu/src/kwin_autogen/TAC5DWH4SE/moc_renderloop.cpp:206
#23 0x00007fcaeffe4ed3 in KWin::RenderLoopPrivate::dispatch (this=0x5617bdc71280) at ./src/core/renderloop.cpp:157
#24 0x00007fcaee2e8f4f in QtPrivate::QSlotObjectBase::call (a=0x7ffe67b45430, r=0x5617bdc71200, this=0x5617bdc71380)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate<false> (sender=0x5617bdc71298, signal_index=3, argv=0x7ffe67b45430) at kernel/qobject.cpp:3923
#26 0x00007fcaee2e21ef in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fcaee54c2e0 <QTimer::staticMetaObject>, 
    local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe67b45430) at kernel/qobject.cpp:3983
#27 0x00007fcaee2ecd6a in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#28 0x00007fcaee2dd50d in QObject::event (this=0x5617bdc71298, e=0x7ffe67b45580) at kernel/qobject.cpp:1369
#29 0x00007fcaed962fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007fcaee2b16f8 in QCoreApplication::notifyInternal2 (receiver=0x5617bdc71298, event=0x7ffe67b45580) at kernel/qcoreapplication.cpp:1064
#31 0x00007fcaee2b18be in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#32 0x00007fcaee308c31 in QTimerInfoList::activateTimers (this=0x5617bd9e0560) at kernel/qtimerinfo_unix.cpp:643
#33 0x00007fcaee3094fc in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#34 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#35 0x00007fcaebfd47a9 in g_main_dispatch (context=0x7fcae4005010) at ../../../glib/gmain.c:3454
#36 g_main_context_dispatch (context=context@entry=0x7fcae4005010) at ../../../glib/gmain.c:4172
#37 0x00007fcaebfd4a38 in g_main_context_iterate (context=context@entry=0x7fcae4005010, block=block@entry=1, dispatch=dispatch@entry=1, 
    self=<optimized out>) at ../../../glib/gmain.c:4248
#38 0x00007fcaebfd4acc in g_main_context_iteration (context=0x7fcae4005010, may_block=1) at ../../../glib/gmain.c:4313
#39 0x00007fcaee309836 in QEventDispatcherGlib::processEvents (this=0x5617bd9e06e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#40 0x00007fcaee2b017b in QEventLoop::exec (this=this@entry=0x7ffe67b457c0, flags=..., flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#41 0x00007fcaee2b82d6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#42 0x00005617bbbd62d1 in ?? ()
#43 0x00007fcaed2461ca in __libc_start_call_main (main=main@entry=0x5617bbbd5ef0, argc=argc@entry=2, argv=argv@entry=0x7ffe67b45ab8)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#44 0x00007fcaed246285 in __libc_start_main_impl (main=0x5617bbbd5ef0, argc=2, argv=0x7ffe67b45ab8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7ffe67b45aa8) at ../csu/libc-start.c:360
#45 0x00005617bbbd77b1 in ?? ()
Comment 2 David Edmundson 2023-12-08 10:32:07 UTC
*** Bug 476011 has been marked as a duplicate of this bug. ***