Bug 423964 - KWIN Crashes (sometimes) when starting Battle for Wesnoth 1.14.5
Summary: KWIN Crashes (sometimes) when starting Battle for Wesnoth 1.14.5
Status: RESOLVED DUPLICATE of bug 396830
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.14.5
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-07-07 10:12 UTC by philipp.knaak
Modified: 2020-09-22 11:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.77 KB, text/plain)
2020-07-12 11:19 UTC, philipp.knaak
Details
New crash information added by DrKonqi (10.73 KB, text/plain)
2020-08-07 13:01 UTC, philipp.knaak
Details
New crash information added by DrKonqi (10.76 KB, text/plain)
2020-09-12 07:02 UTC, philipp.knaak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description philipp.knaak 2020-07-07 10:12:55 UTC
Application: kwin_x11 (5.14.5)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-9-amd64 x86_64
Distribution: Debian GNU/Linux 10 (buster)

-- Information about the crash:
- What I was doing when the application crashed:
Simply started Battle for Wesnoth 1.14.5 from KDE Start Menue, than KWin sometimes  crashes

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7faa40718940 (LWP 1094))]

Thread 6 (Thread 0x7faa237fe700 (LWP 1225)):
#0  0x00007faa4709600c in futex_wait_cancelable (private=0, expected=0, futex_word=0x7faa47a91fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007faa4709600c in __pthread_cond_wait_common (abstime=0x0, mutex=0x7faa47a91f68, cond=0x7faa47a91f90) at pthread_cond_wait.c:502
#2  0x00007faa4709600c in __pthread_cond_wait (cond=0x7faa47a91f90, mutex=0x7faa47a91f68) at pthread_cond_wait.c:655
#3  0x00007faa4799be6a in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007faa4799be89 in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007faa4708ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007faa494a04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7faa2dd97700 (LWP 1207)):
#0  0x00007faa4709600c in futex_wait_cancelable (private=0, expected=0, futex_word=0x555ed7f049a8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007faa4709600c in __pthread_cond_wait_common (abstime=0x0, mutex=0x555ed7f04958, cond=0x555ed7f04980) at pthread_cond_wait.c:502
#2  0x00007faa4709600c in __pthread_cond_wait (cond=0x555ed7f04980, mutex=0x555ed7f04958) at pthread_cond_wait.c:655
#3  0x00007faa2e1f1e83 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007faa2e1f1bd7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007faa4708ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007faa494a04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7faa3d52b700 (LWP 1199)):
#0  0x00007faa49495916 in __GI_ppoll (fds=fds@entry=0x7faa28000d28, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007faa4809b721 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  0x00007faa4809b721 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7faa28000d28) at kernel/qcore_unix.cpp:132
#3  0x00007faa4809b721 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7faa28000d28) at kernel/qcore_unix.cpp:129
#4  0x00007faa4809b721 in qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7faa28000d28, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007faa4809cb99 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#6  0x00007faa4804d15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7faa3d52ac40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007faa47e9ce76 in QThread::exec() (this=this@entry=0x555ed7f6db00) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007faa468bac65 in QQmlThreadPrivate::run() (this=0x555ed7f6db00) at qml/ftw/qqmlthread.cpp:148
#9  0x00007faa47ea6a67 in QThreadPrivate::start(void*) (arg=0x555ed7f6db00) at thread/qthread_unix.cpp:367
#10 0x00007faa4708ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#11 0x00007faa494a04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7faa3efd5700 (LWP 1142)):
#0  0x00007faa49495916 in __GI_ppoll (fds=fds@entry=0x7faa30012928, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007faa4809b721 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  0x00007faa4809b721 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7faa30012928) at kernel/qcore_unix.cpp:132
#3  0x00007faa4809b721 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7faa30012928) at kernel/qcore_unix.cpp:129
#4  0x00007faa4809b721 in qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7faa30012928, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007faa4809cb99 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#6  0x00007faa4804d15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7faa3efd4c30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007faa47e9ce76 in QThread::exec() (this=this@entry=0x7faa46401d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007faa46382545 in QDBusConnectionManager::run() (this=0x7faa46401d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#9  0x00007faa47ea6a67 in QThreadPrivate::start(void*) (arg=0x7faa46401d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#10 0x00007faa4708ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#11 0x00007faa494a04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7faa3fddc700 (LWP 1125)):
#0  0x00007faa49495819 in __GI___poll (fds=fds@entry=0x7faa3fddbb78, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faa47dc6cf7 in poll (__timeout=-1, __nfds=1, __fds=0x7faa3fddbb78) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007faa47dc6cf7 in _xcb_conn_wait (c=c@entry=0x555ed7c99020, cond=cond@entry=0x555ed7c99060, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007faa47dc891a in xcb_wait_for_event (c=0x555ed7c99020) at ../../src/xcb_in.c:697
#4  0x00007faa402d2d79 in QXcbEventReader::run() (this=0x555ed7c96e80) at qxcbconnection.h:409
#5  0x00007faa47ea6a67 in QThreadPrivate::start(void*) (arg=0x555ed7c96e80) at thread/qthread_unix.cpp:367
#6  0x00007faa4708ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007faa494a04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7faa40718940 (LWP 1094)):
[KCrash Handler]
#6  0x00007faa493de7bb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007faa493c9535 in __GI_abort () at abort.c:79
#8  0x00007faa493c940f in __assert_fail_base (fmt=0x7faa3d5411d2 "%s%s%s:%u: %s%sZusicherung \302\273%s\302\253 nicht erf\303\274llt.\n%n", assertion=0x7faa46fa7808 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=0x7faa46fa7760 "../src/dispatch_common.c", line=863, function=<optimized out>) at assert.c:92
#9  0x00007faa493d7102 in __GI___assert_fail (assertion=0x7faa46fa7808 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=0x7faa46fa7760 "../src/dispatch_common.c", line=863, function=0x7faa46fa7840 "epoxy_get_proc_address") at assert.c:101
#10 0x00007faa46f8243f in  () at /lib/x86_64-linux-gnu/libepoxy.so.0
#11 0x00007faa46f5804a in  () at /lib/x86_64-linux-gnu/libepoxy.so.0
#12 0x00007faa47b1ddb8 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#13 0x00007faa47b1de39 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#14 0x00007faa4807575b in QObjectPrivate::deleteChildren() (this=this@entry=0x555ed8032fb0) at kernel/qobject.cpp:1997
#15 0x00007faa4807e294 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#16 0x00007faa47b1ac59 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#17 0x00007faa4922bc5a in KWin::EffectsHandlerImpl::unloadAllEffects() () at /lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007faa4922bce7 in KWin::EffectsHandlerImpl::~EffectsHandlerImpl() () at /lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007faa3e4155a8 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#20 0x00007faa3e415679 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#21 0x00007faa4920d01f in  () at /lib/x86_64-linux-gnu/libkwin.so.5
#22 0x00007faa4920d5ac in KWin::Compositor::suspend(KWin::Compositor::SuspendReason) () at /lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007faa48078072 in QObject::event(QEvent*) (this=0x555ed7cdbc30, e=<optimized out>) at kernel/qobject.cpp:1251
#24 0x00007faa489cb4c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x555ed7c5d680, receiver=receiver@entry=0x555ed7cdbc30, e=e@entry=0x555ed86ce4e0) at kernel/qapplication.cpp:3727
#25 0x00007faa489d2970 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe6d0cf080, receiver=0x555ed7cdbc30, e=0x555ed86ce4e0) at kernel/qapplication.cpp:3486
#26 0x00007faa4804e489 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555ed7cdbc30, event=0x555ed86ce4e0) at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#27 0x00007faa4805146b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x555ed86ce4e0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#28 0x00007faa4805146b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x555ed7c66330) at kernel/qcoreapplication.cpp:1744
#29 0x00007faa4809ca0b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555ed7ccaa90, flags=...) at kernel/qeventdispatcher_unix.cpp:466
#30 0x00007faa4036969d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#31 0x00007faa4804d15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe6d0cef90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#32 0x00007faa48055132 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#33 0x00007faa4957247b in kdemain () at /lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#34 0x00007faa493cb09b in __libc_start_main (main=0x555ed7630050, argc=3, argv=0x7ffe6d0cf218, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe6d0cf208) at ../csu/libc-start.c:308
#35 0x0000555ed763008a in _start ()
[Inferior 1 (process 1094) detached]

Possible duplicates by query: bug 422433, bug 414938, bug 411589, bug 411216.

Reported using DrKonqi
Comment 1 philipp.knaak 2020-07-12 11:19:08 UTC
Created attachment 130064 [details]
New crash information added by DrKonqi

kwin_x11 (5.14.5) using Qt 5.11.3

- What I was doing when the application crashed:

Just started Battle for Wesnoth from the KDE Menue

-- Backtrace (Reduced):
#6  0x00007f8233a7a7bb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f8233a65535 in __GI_abort () at abort.c:79
#8  0x00007f8233a6540f in __assert_fail_base (fmt=0x7f821bbc11d2 "%s%s%s:%u: %s%sZusicherung \302\273%s\302\253 nicht erf\303\274llt.\n%n", assertion=0x7f8231643808 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=0x7f8231643760 "../src/dispatch_common.c", line=863, function=<optimized out>) at assert.c:92
#9  0x00007f8233a73102 in __GI___assert_fail (assertion=0x7f8231643808 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=0x7f8231643760 "../src/dispatch_common.c", line=863, function=0x7f8231643840 "epoxy_get_proc_address") at assert.c:101
#10 0x00007f823161e43f in  () at /lib/x86_64-linux-gnu/libepoxy.so.0
Comment 2 philipp.knaak 2020-08-07 13:01:49 UTC
Created attachment 130711 [details]
New crash information added by DrKonqi

kwin_x11 (5.14.5) using Qt 5.11.3

- What I was doing when the application crashed:
Just started Battle for Wesnoth from startmenue

-- Backtrace (Reduced):
#6  0x00007f480668a7bb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f4806675535 in __GI_abort () at abort.c:79
#8  0x00007f480667540f in __assert_fail_base (fmt=0x7f47f55c01d2 "%s%s%s:%u: %s%sZusicherung \302\273%s\302\253 nicht erf\303\274llt.\n%n", assertion=0x7f4804253808 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=0x7f4804253760 "../src/dispatch_common.c", line=863, function=<optimized out>) at assert.c:92
#9  0x00007f4806683102 in __GI___assert_fail (assertion=0x7f4804253808 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=0x7f4804253760 "../src/dispatch_common.c", line=863, function=0x7f4804253840 "epoxy_get_proc_address") at assert.c:101
#10 0x00007f480422e43f in  () at /lib/x86_64-linux-gnu/libepoxy.so.0
Comment 3 philipp.knaak 2020-09-12 07:02:17 UTC
Created attachment 131571 [details]
New crash information added by DrKonqi

kwin_x11 (5.14.5) using Qt 5.11.3

- What I was doing when the application crashed:

Just started Battle for Wesnoth 1.14.5 from KDE-Starter

-- Backtrace (Reduced):
#6  0x00007f59c15be7bb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f59c15a9535 in __GI_abort () at abort.c:79
#8  0x00007f59c15a940f in __assert_fail_base (fmt=0x7f59b57051d2 "%s%s%s:%u: %s%sZusicherung \302\273%s\302\253 nicht erf\303\274llt.\n%n", assertion=0x7f59bf187808 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=0x7f59bf187760 "../src/dispatch_common.c", line=863, function=<optimized out>) at assert.c:92
#9  0x00007f59c15b7102 in __GI___assert_fail (assertion=0x7f59bf187808 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=0x7f59bf187760 "../src/dispatch_common.c", line=863, function=0x7f59bf187840 "epoxy_get_proc_address") at assert.c:101
#10 0x00007f59bf16243f in  () at /lib/x86_64-linux-gnu/libepoxy.so.0
Comment 4 Vlad Zahorodnii 2020-09-22 11:47:56 UTC
This bug was fixed in Plasma 5.15.

Unfortunately, there is not that much what we can do about this crash. 5.14 is no longer supported by us. You could ask Debian devs to backport https://invent.kde.org/plasma/kwin/commit/9ac2e5d5bb44934b6d30bda9315210d544f33958 though.

*** This bug has been marked as a duplicate of bug 396830 ***