Bug 363077 - Kwin error
Summary: Kwin error
Status: RESOLVED DUPLICATE of bug 355103
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.6.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-05-14 16:36 UTC by Thierry
Modified: 2016-05-15 08:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
thomas.luebking: NVIDIA+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry 2016-05-14 16:36:05 UTC
Application: kwin_x11 (5.6.3)

Qt Version: 5.6.0
Frameworks Version: 5.21.0
Operating System: Linux 4.1.20-11-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I left a 3d game in full screen.
The bug occurs when returning to the kde desktop. It does not require logging off or restart.
For information, kscreen service is disabled (ref. similar bugs #358133, #355103)

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8becb57840 (LWP 1931))]

Thread 5 (Thread 0x7f8bd252c700 (LWP 1942)):
#0  0x00007f8bec4cebbd in poll () at /lib64/libc.so.6
#1  0x00007f8be9e01422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f8be9e0300f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f8bd3402d69 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f8bea0c5079 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8bebae90a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8bec4d6fed in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f8bcbfff700 (LWP 1944)):
#0  0x00007f8bec4d0253 in select () at /lib64/libc.so.6
#1  0x00007f8bea2d28e9 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8bea2d41b5 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8bea2d45f7 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8bea28404b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8bea0c05da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8be310d095 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f8bea0c5079 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f8bebae90a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f8bec4d6fed in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f8bca3ab700 (LWP 1953)):
#0  0x00007f8bec4d0253 in select () at /lib64/libc.so.6
#1  0x00007f8bea2d28e9 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8bea2d41b5 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8bea2d45f7 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8bea28404b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8bea0c05da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8be41864d8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f8bea0c5079 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f8bebae90a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f8bec4d6fed in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f8bb282a700 (LWP 1993)):
#0  0x00007f8bebaed03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8be903b97b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f8be903b9a9 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f8bebae90a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8bec4d6fed in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f8becb57840 (LWP 1931)):
[KCrash Handler]
#6  0x00007f8bec481d79 in __memcpy_sse2_unaligned () at /lib64/libc.so.6
#7  0x00007f8be51e3643 in KWin::GLVertexBuffer::setData(int, int, float const*, float const*) () at /usr/lib64/libkwinglutils.so.8
#8  0x00007f8bec09e82e in  () at /usr/lib64/libkwin.so.5
#9  0x00007f8bec0a4935 in  () at /usr/lib64/libkwin.so.5
#10 0x00007f8bec09101e in  () at /usr/lib64/libkwin.so.5
#11 0x00007f8bec09e323 in  () at /usr/lib64/libkwin.so.5
#12 0x00007f8bec092315 in  () at /usr/lib64/libkwin.so.5
#13 0x00007f8bec0b49f0 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#14 0x00007f8be984c46f in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.8
#15 0x00007f8bec0b49b0 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#16 0x00007f8be984c46f in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.8
#17 0x00007f8bec0b49b0 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#18 0x00007f8be984c46f in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.8
#19 0x00007f8bec0b49b0 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#20 0x00007f8bec091fb8 in  () at /usr/lib64/libkwin.so.5
#21 0x00007f8bec0a54d4 in  () at /usr/lib64/libkwin.so.5
#22 0x00007f8bec086588 in KWin::Compositor::performCompositing() () at /usr/lib64/libkwin.so.5
#23 0x00007f8bea2b0fc4 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f8beaf8a60c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f8beaf8ea22 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007f8bea286005 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f8bea2d5d4e in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#28 0x00007f8bea2d4698 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#29 0x00007f8bd34647dd in  () at /usr/lib64/libQt5XcbQpa.so.5
#30 0x00007f8bea28404b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#31 0x00007f8bea28bf56 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#32 0x00007f8bec79fd6a in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#33 0x00007f8bec413b05 in __libc_start_main () at /lib64/libc.so.6
#34 0x00000000004007fe in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2016-05-14 16:47:56 UTC
The kscreen service is less important than the question of a general randr event being the cause (though it doesn't have to be, resume from STR is reported to cause the same)

Does the game autosuspend the compositor and/or may alter the resolution?
Comment 2 Thierry 2016-05-15 07:33:22 UTC
Hi!

Yes, the game changes the resolution.
In 1920x1080, the screen changes to the resolution of 1280x1024.
And vice versa when returning to the kde desktop! That's when I see the error.
Comment 3 Thomas Lübking 2016-05-15 08:00:58 UTC
Thanks.
Technically there's no difference between changing the resolutio or the screen count (itr.)

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