Bug 440033 - Crash in EffectWindow::pos
Summary: Crash in EffectWindow::pos
Status: RESOLVED UNMAINTAINED
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: 2021-07-19 12:09 UTC by gabriele.trivigno
Modified: 2021-08-01 23:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gabriele.trivigno 2021-07-19 12:09:07 UTC
Application: kwin_x11 (5.14.5)

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

-- Information about the crash:
- What I was doing when the application crashed:
I was just browsing a pdf, with browser, VScode, terminal window (with no running processes) in background
- Unusual behavior I noticed:
The screen froze for a second and then got back to normal; with a popup notification saying Kwin had crashed. This has happened to me many times in a more destructive way, that is a complete freeze of the screen, but in those cases i had not been able to recover a stack trace of the errors so i am signaling this hoping it is the same kind of problem. When the full freeze happens, i am only able to move the mouse, keyboard input does not work, however if there was a video playing on Youtube audio keeps working and so does network so it appears to be a desktop only problem. I have to say that happens in any kind of situation and with GNOME too, i run debian 10 with proprietary nvidia drivers 470
hope you will be able to help me

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 0x7fbf1314e940 (LWP 2340))]

Thread 8 (Thread 0x7fbe63064700 (LWP 6905)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7fbf0c02f950) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fbf0c02f900, cond=0x7fbf0c02f928) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fbf0c02f928, mutex=0x7fbf0c02f900) at pthread_cond_wait.c:655
#3  0x00007fbf1b11b21b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fbf19e64009 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fbf19e6426a in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fbf1b11aa67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fbf1a303fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007fbf1c7144cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fbf0233e700 (LWP 6904)):
#0  0x00007fbf1c709916 in __GI_ppoll (fds=0x7fbef4000d68, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fbf1b30f721 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fbf1b310b99 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fbf1b2c115b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fbf1b110e76 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fbf19b2ec65 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fbf1b11aa67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fbf1a303fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007fbf1c7144cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fbf10c28700 (LWP 3937)):
#0  0x00007fbf1c70c037 in __GI___select (nfds=45, readfds=0x7fbf10c27c20, writefds=0x0, exceptfds=0x0, timeout=0x7fbf10c27c10) at ../sysdeps/unix/sysv/linux/select.c:41
#1  0x00007fbefad2ea21 in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.470.42.01
#2  0x00007fbefad2c54d in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.470.42.01
#3  0x00007fbf1a303fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#4  0x00007fbf1c7144cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fbef9f50700 (LWP 3936)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55d0b349eca4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55d0b349ec50, cond=0x55d0b349ec78) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55d0b349ec78, mutex=0x55d0b349ec50) at pthread_cond_wait.c:655
#3  0x00007fbf1b11b21b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fbf19e64009 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fbf19e6426a in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fbf1b11aa67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fbf1a303fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007fbf1c7144cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fbef8f65700 (LWP 2673)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7fbf1ad05fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fbf1ad05f68, cond=0x7fbf1ad05f90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fbf1ad05f90, mutex=0x7fbf1ad05f68) at pthread_cond_wait.c:655
#3  0x00007fbf1ac0fe6a in ?? () from /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fbf1ac0fe89 in ?? () from /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fbf1a303fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fbf1c7144cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fbf03fba700 (LWP 2483)):
#0  0x00007fbf1c709916 in __GI_ppoll (fds=0x7fbefc000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fbf1b30f721 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fbf1b310b99 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fbf1b2c115b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fbf1b110e76 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fbf19b2ec65 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fbf1b11aa67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fbf1a303fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007fbf1c7144cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fbf119f9700 (LWP 2355)):
#0  0x00007fbf1c709916 in __GI_ppoll (fds=0x7fbf040127c8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fbf1b30f721 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fbf1b310b99 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fbf1b2c115b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fbf1b110e76 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fbf195f6545 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007fbf1b11aa67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fbf1a303fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007fbf1c7144cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fbf1314e940 (LWP 2340)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007fbf1c63d535 in __GI_abort () at abort.c:79
#8  0x00007fbf1c694508 in __libc_message (action=<optimized out>, fmt=fmt@entry=0x7fbf1c79f07b "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:181
#9  0x00007fbf1c72580d in __GI___fortify_fail_abort (need_backtrace=need_backtrace@entry=false, msg=msg@entry=0x7fbf1c79f059 "stack smashing detected") at fortify_fail.c:28
#10 0x00007fbf1c7257c2 in __stack_chk_fail () at stack_chk_fail.c:29
#11 0x00007fbf1b2ce395 in QMetaObject::property(int) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fbf1b2eca40 in QObject::property(char const*) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fbf1ae863d2 in KWin::EffectWindow::pos() const () from /lib/x86_64-linux-gnu/libkwineffects.so.11
#14 0x00007fbf1ad8c22d in ?? () from /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#15 0x00007fbf1c49a301 in KWin::EffectsHandlerImpl::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int) () from /lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007fbf1c489035 in KWin::Scene::paintSimpleScreen(int, QRegion) () from /lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007fbf0234f9d2 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#18 0x00007fbf1c48c560 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007fbf1c49a155 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#20 0x00007fbf1ae85751 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwineffects.so.11
#21 0x00007fbf1c49a0fd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#22 0x00007fbf1ae85751 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwineffects.so.11
#23 0x00007fbf1c49a0fd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#24 0x00007fbf1c48c20e in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007fbf02357879 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#26 0x00007fbf1c47e2aa in KWin::Compositor::performCompositing() () from /lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007fbf1b2ec02b in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fbf1bc3f4c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007fbf1bc46970 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007fbf1b2c2489 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fbf1b312b38 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fbf1b310cec in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fbf12d9372d in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#34 0x00007fbf1b2c115b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fbf1b2c9132 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fbf1c7e647b in kdemain () from /lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#37 0x00007fbf1c63f09b in __libc_start_main (main=0x55d0b259e050, argc=3, argv=0x7ffceb966348, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffceb966338) at ../csu/libc-start.c:308
#38 0x000055d0b259e08a in _start ()
[Inferior 1 (process 2340) detached]

Reported using DrKonqi
Comment 1 David Edmundson 2021-08-01 23:50:12 UTC
libkwineffects going through the Qt property system changed years ago.