Bug 375624 - Kwin crashed after resuming the display from power saving
Summary: Kwin crashed after resuming the display from power saving
Status: RESOLVED DUPLICATE of bug 344326
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.7.5
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-01-27 17:53 UTC by Lastique
Modified: 2017-01-28 08:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lastique 2017-01-27 17:53:44 UTC
Application: kwin_x11 (5.7.5)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.9.0-5.1-liquorix-amd64 x86_64
Distribution: Ubuntu 16.10

-- Information about the crash:
- What I was doing when the application crashed:

I left the PC inactive for some time so that the display turned off for power saving (the PC itself was still running, no suspend mode or anything). Then I moved the mouse and the display turned on showing that kwin has crashed.

Kubuntu 16.10 x86_64, Nvidia drivers 378.09, kwin 5.7.5.

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

Thread 6 (Thread 0x7f7d1673b700 (LWP 4720)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7d32182b2b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55a0980b97a0) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=this@entry=0x55a0980c0628, mutex=mutex@entry=0x55a0980c0620, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f7d2d0fb4f5 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55a0980c0618) at scenegraph/qsgthreadedrenderloop.cpp:236
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55a0980c05a0) at scenegraph/qsgthreadedrenderloop.cpp:684
#5  0x00007f7d2d0fbdea in QSGRenderThread::run (this=0x55a0980c05a0) at scenegraph/qsgthreadedrenderloop.cpp:713
#6  0x00007f7d32181c68 in QThreadPrivate::start (arg=0x55a0980c05a0) at thread/qthread_unix.cpp:341
#7  0x00007f7d2dacf6ca in start_thread (arg=0x7f7d1673b700) at pthread_create.c:333
#8  0x00007f7d345330af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7f7cff1ee700 (LWP 2599)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7d31516574 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f7d315165b9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f7d2dacf6ca in start_thread (arg=0x7f7cff1ee700) at pthread_create.c:333
#4  0x00007f7d345330af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7f7d0a20a700 (LWP 2406)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f7d1430cdc4 in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#2  0x00007f7d0afd5cd4 in ?? () from /usr/lib/nvidia-378/libnvidia-glcore.so.378.09
#3  0x00007f7d1430c0ac in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#4  0x00007f7d2dacf6ca in start_thread (arg=0x7f7d0a20a700) at pthread_create.c:333
#5  0x00007f7d345330af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7f7d15648700 (LWP 2390)):
#0  0x00007f7d34528ea3 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7d323aacaf in qt_safe_select (nfds=14, fdread=fdread@entry=0x7f7d04000a78, fdwrite=fdwrite@entry=0x7f7d04000d08, fdexcept=fdexcept@entry=0x7f7d04000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007f7d323ac754 in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7f7d04000f98, writefds=0x7f7d04000d08, readfds=0x7f7d04000a78, nfds=<optimized out>, this=0x7f7d040008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f7d040008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007f7d323acc6a in QEventDispatcherUNIX::processEvents (this=0x7f7d040008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007f7d323570fa in QEventLoop::exec (this=this@entry=0x7f7d15647ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f7d3217cd43 in QThread::exec (this=this@entry=0x55a097a41580) at thread/qthread.cpp:500
#7  0x00007f7d2cc2dc65 in QQmlThreadPrivate::run (this=0x55a097a41580) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f7d32181c68 in QThreadPrivate::start (arg=0x55a097a41580) at thread/qthread_unix.cpp:341
#9  0x00007f7d2dacf6ca in start_thread (arg=0x7f7d15648700) at pthread_create.c:333
#10 0x00007f7d345330af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7f7d1edd1700 (LWP 2314)):
#0  0x00007f7d345270bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7d2b02f9d6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7d2b02faec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7d323af4ab in QEventDispatcherGlib::processEvents (this=0x7f7d180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f7d323570fa in QEventLoop::exec (this=this@entry=0x7f7d1edd0c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f7d3217cd43 in QThread::exec (this=this@entry=0x7f7d34ba8d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#6  0x00007f7d34b34575 in QDBusConnectionManager::run (this=0x7f7d34ba8d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:171
#7  0x00007f7d32181c68 in QThreadPrivate::start (arg=0x7f7d34ba8d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#8  0x00007f7d2dacf6ca in start_thread (arg=0x7f7d1edd1700) at pthread_create.c:333
#9  0x00007f7d345330af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f7d1edd5900 (LWP 2303)):
[KCrash Handler]
#6  0x00007f7d31b2ed06 in _mm_stream_si128(long long __vector(2)*, long long __vector(2)) (__B=..., __A=0x7f7d08f6f080) at /usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:1469
#7  KWin::WindowQuadList::makeInterleavedArrays (this=this@entry=0x7ffd739e33c0, type=type@entry=7, vertices=vertices@entry=0x7f7d08f6f080, textureMatrix=...) at ./libkwineffects/kwineffects.cpp:1237
#8  0x00007f7d340dc80e in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x55a0981a8d50, mask=mask@entry=9, region=..., data=...) at ./scene_opengl.cpp:1613
#9  0x00007f7d340e2052 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x55a097a10c00, w=w@entry=0x55a0986b0040, mask=<optimized out>, mask@entry=9, region=..., data=...) at ./scene_opengl.cpp:1141
#10 0x00007f7d340e2248 in KWin::SceneOpenGL2::finalDrawWindow (this=0x55a097a10c00, w=w@entry=0x55a0986b0040, mask=mask@entry=9, region=..., data=...) at ./scene_opengl.cpp:1127
#11 0x00007f7d340ef729 in KWin::EffectsHandlerImpl::drawWindow (this=0x55a0979d93e0, w=w@entry=0x55a0986b0040, mask=mask@entry=9, region=..., data=...) at ./effects.cpp:509
#12 0x00007f7d340c0241 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x55a0986b0040, mask=mask@entry=9, region=..., data=...) at ./scene.cpp:607
#13 0x00007f7d340ef56a in KWin::EffectsHandlerImpl::paintWindow (this=0x55a0979d93e0, w=0x55a0986b0040, mask=mask@entry=9, region=..., data=...) at ./effects.cpp:472
#14 0x00007f7d340c6ad7 in KWin::Scene::paintWindow (this=this@entry=0x55a097a10c00, w=0x55a0981a8d50, mask=9, region=..., quads=...) at ./scene.cpp:479
#15 0x00007f7d340c580e in KWin::Scene::paintSimpleScreen (this=this@entry=0x55a097a10c00, orig_mask=orig_mask@entry=8, region=...) at ./scene.cpp:382
#16 0x00007f7d340d77f3 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x55a097a10c00, mask=mask@entry=8, region=...) at ./scene_opengl.cpp:1078
#17 0x00007f7d340c6014 in KWin::Scene::finalPaintScreen (this=0x55a097a10c00, mask=mask@entry=8, region=..., data=...) at ./scene.cpp:201
#18 0x00007f7d340ef2ef in KWin::EffectsHandlerImpl::paintScreen (this=0x55a0979d93e0, mask=8, region=..., data=...) at ./effects.cpp:429
#19 0x00007f7d340c5c9d in KWin::Scene::paintScreen (this=this@entry=0x55a097a10c00, mask=mask@entry=0x7ffd739e3d50, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffd739e3d20, validRegion=validRegion@entry=0x7ffd739e3d30, projection=...) at ./scene.cpp:151
#20 0x00007f7d340ddc06 in KWin::SceneOpenGL::paint (this=0x55a097a10c00, damage=..., toplevels=...) at ./scene_opengl.cpp:731
#21 0x00007f7d340b881a in KWin::Compositor::performCompositing (this=0x55a0978e3b10) at ./composite.cpp:720
#22 0x00007f7d32387653 in QObject::event (this=0x55a0978e3b10, e=<optimized out>) at kernel/qobject.cpp:1278
#23 0x00007f7d32c948ac in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a0978e3b10, e=0x7ffd739e41a0) at kernel/qapplication.cpp:3804
#24 0x00007f7d32c99d4f in QApplication::notify (this=0x7ffd739e4410, receiver=0x55a0978e3b10, e=0x7ffd739e41a0) at kernel/qapplication.cpp:3561
#25 0x00007f7d323593b0 in QCoreApplication::notifyInternal2 (receiver=0x55a0978e3b10, event=event@entry=0x7ffd739e41a0) at kernel/qcoreapplication.cpp:1015
#26 0x00007f7d323ae3ae in QCoreApplication::sendEvent (event=0x7ffd739e41a0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#27 QTimerInfoList::activateTimers (this=0x55a0978b3d48) at kernel/qtimerinfo_unix.cpp:637
#28 0x00007f7d323ac140 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x55a0978a7ee0) at kernel/qeventdispatcher_unix.cpp:549
#29 0x00007f7d323acc3b in QEventDispatcherUNIX::processEvents (this=0x55a0978a7ee0, flags=...) at kernel/qeventdispatcher_unix.cpp:611
#30 0x00007f7d1e13a94d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#31 0x00007f7d323570fa in QEventLoop::exec (this=this@entry=0x7ffd739e4300, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#32 0x00007f7d3235f90c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#33 0x00007f7d326a3a7c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1602
#34 0x00007f7d32c918e5 in QApplication::exec () at kernel/qapplication.cpp:2979
#35 0x00007f7d347fb206 in kdemain (argc=<optimized out>, argv=0x7ffd739e4598) at ./main_x11.cpp:466
#36 0x00007f7d3444b3f1 in __libc_start_main (main=0x55a09656f7e0 <main>, argc=1, argv=0x7ffd739e4598, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd739e4588) at ../csu/libc-start.c:291
#37 0x000055a09656f81a in _start ()

Possible duplicates by query: bug 354611.

Reported using DrKonqi
Comment 1 Martin Flöser 2017-01-28 08:39:46 UTC

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