Bug 362496 - KWin crashed when unifying outputs
Summary: KWin crashed when unifying outputs
Status: RESOLVED DUPLICATE of bug 355103
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.6.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-30 07:21 UTC by Kai Krakow
Modified: 2016-05-01 21:35 UTC (History)
0 users

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 Kai Krakow 2016-04-30 07:21:44 UTC
Application: kwin_x11 (5.6.3)

Qt Version: 5.6.0
Frameworks Version: 5.21.0
Operating System: Linux 4.5.2-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

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

I've temporarily set my monitors (DVI monitor + HDMI TV) from clone to separate outputs, that worked without problems. Tho, later, when I returned to unifying both outputs (in German "Anzeigen vereinheitlichen"), KWin crashed and respawned itself.

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

Thread 6 (Thread 0x7f6510a8e700 (LWP 1856)):
#0  QEventDispatcherUNIXPrivate::initThreadWakeUp (this=this@entry=0x7f65040008e0) at kernel/qeventdispatcher_unix.cpp:268
#1  0x0000003a4c4d322a in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f65040008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:189
#2  0x0000003a4c4d37ed in QEventDispatcherUNIX::processEvents (this=0x7f65040008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#3  0x0000003a4c4810aa in QEventLoop::exec (this=this@entry=0x7f6510a8dd50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#4  0x0000003a4c2a92e4 in QThread::exec (this=this@entry=0x3a4d28b180 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:503
#5  0x0000003a4d2155a5 in QDBusConnectionManager::run (this=0x3a4d28b180 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:181
#6  0x0000003a4c2ade28 in QThreadPrivate::start (arg=0x3a4d28b180 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:340
#7  0x0000003eee407444 in start_thread (arg=0x7f6510a8e700) at pthread_create.c:334
#8  0x0000003eedce9dad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f650aba5700 (LWP 1882)):
#0  0x0000003a4c4d347d in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f64f80008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:212
#1  0x0000003a4c4d37ed in QEventDispatcherUNIX::processEvents (this=0x7f64f80008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#2  0x0000003a4c4810aa in QEventLoop::exec (this=this@entry=0x7f650aba4d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#3  0x0000003a4c2a92e4 in QThread::exec (this=this@entry=0x181e690) at thread/qthread.cpp:503
#4  0x0000003a56f04c55 in QQmlThreadPrivate::run (this=0x181e690) at qml/ftw/qqmlthread.cpp:141
#5  0x0000003a4c2ade28 in QThreadPrivate::start (arg=0x181e690) at thread/qthread_unix.cpp:340
#6  0x0000003eee407444 in start_thread (arg=0x7f650aba5700) at pthread_create.c:334
#7  0x0000003eedce9dad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f64fcae9700 (LWP 1907)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003a59f9bc82 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003a59f9be29 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003eee407444 in start_thread (arg=0x7f64fcae9700) at pthread_create.c:334
#4  0x0000003eedce9dad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f650b5ef700 (LWP 1098)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003a4c2aeafb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1d98e80) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=this@entry=0x1c059f8, mutex=mutex@entry=0x1c059f0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x0000003a567923f5 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x1c059e8) at scenegraph/qsgthreadedrenderloop.cpp:236
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x1c05970) at scenegraph/qsgthreadedrenderloop.cpp:684
#5  0x0000003a567927da in QSGRenderThread::run (this=0x1c05970) at scenegraph/qsgthreadedrenderloop.cpp:713
#6  0x0000003a4c2ade28 in QThreadPrivate::start (arg=0x1c05970) at thread/qthread_unix.cpp:340
#7  0x0000003eee407444 in start_thread (arg=0x7f650b5ef700) at pthread_create.c:334
#8  0x0000003eedce9dad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f64fe2be700 (LWP 17589)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003a4c2aeafb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x204e790) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=this@entry=0x1d08fe8, mutex=mutex@entry=0x1d08fe0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x0000003a567923f5 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x1d08fd8) at scenegraph/qsgthreadedrenderloop.cpp:236
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x1d08f60) at scenegraph/qsgthreadedrenderloop.cpp:684
#5  0x0000003a567927da in QSGRenderThread::run (this=0x1d08f60) at scenegraph/qsgthreadedrenderloop.cpp:713
#6  0x0000003a4c2ade28 in QThreadPrivate::start (arg=0x1d08f60) at thread/qthread_unix.cpp:340
#7  0x0000003eee407444 in start_thread (arg=0x7f64fe2be700) at pthread_create.c:334
#8  0x0000003eedce9dad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f65131f9840 (LWP 1825)):
[KCrash Handler]
#6  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:35
#7  0x0000003a5ac14956 in KWin::GLVertexBuffer::setData (this=this@entry=0x19ff930, vertexCount=48, dim=dim@entry=2, vertices=0x21c6f78, texcoords=texcoords@entry=0x0) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/libkwineffects/kwinglutils.cpp:2056
#8  0x000000394217d4de in KWin::SceneOpenGL2::doPaintBackground (this=0x1a08360, vertices=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/scene_opengl.cpp:1115
#9  0x0000003942181ef6 in KWin::SceneOpenGL::paintBackground (this=this@entry=0x1a08360, region=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/scene_opengl.cpp:833
#10 0x00000039421683c0 in KWin::Scene::paintSimpleScreen (this=this@entry=0x1a08360, orig_mask=orig_mask@entry=0, region=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/scene.cpp:370
#11 0x000000394217d463 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x1a08360, mask=mask@entry=0, region=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/scene_opengl.cpp:1098
#12 0x0000003942168995 in KWin::Scene::finalPaintScreen (this=0x1a08360, mask=mask@entry=0, region=..., data=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/scene.cpp:200
#13 0x0000003942193bff in KWin::EffectsHandlerImpl::paintScreen (this=0x1a35fb0, mask=mask@entry=0, region=..., data=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/effects.cpp:423
#14 0x000000394261195f in KWin::Effect::paintScreen (this=this@entry=0x2044760, mask=mask@entry=0, region=..., data=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/libkwineffects/kwineffects.cpp:574
#15 0x0000003942193bad in KWin::EffectsHandlerImpl::paintScreen (this=0x1a35fb0, mask=mask@entry=0, region=..., data=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/effects.cpp:420
#16 0x000000394261195f in KWin::Effect::paintScreen (this=this@entry=0x176e620, mask=mask@entry=0, region=..., data=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/libkwineffects/kwineffects.cpp:574
#17 0x0000003942193bad in KWin::EffectsHandlerImpl::paintScreen (this=0x1a35fb0, mask=0, region=..., data=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/effects.cpp:420
#18 0x0000003942168622 in KWin::Scene::paintScreen (this=this@entry=0x1a08360, mask=mask@entry=0x7ffdf3b75660, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffdf3b75630, validRegion=validRegion@entry=0x7ffdf3b75640, projection=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/scene.cpp:150
#19 0x0000003942182a18 in KWin::SceneOpenGL::paint (this=0x1a08360, damage=..., toplevels=...) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/scene_opengl.cpp:751
#20 0x000000394215919b in KWin::Compositor::performCompositing (this=0x1775f10) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/composite.cpp:727
#21 0x0000003a4c4aee2b in QObject::event (this=0x1775f10, e=<optimized out>) at kernel/qobject.cpp:1278
#22 0x0000003a4d55b81c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1775f10, e=0x7ffdf3b75ad0) at kernel/qapplication.cpp:3714
#23 0x0000003a4d562dc8 in QApplication::notify (this=0x7ffdf3b75d40, receiver=0x1775f10, e=0x7ffdf3b75ad0) at kernel/qapplication.cpp:3495
#24 0x0000003a4c483198 in QCoreApplication::notifyInternal2 (receiver=0x1775f10, event=event@entry=0x7ffdf3b75ad0) at kernel/qcoreapplication.cpp:1015
#25 0x0000003a4c4d4f2e in QCoreApplication::sendEvent (event=0x7ffdf3b75ad0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#26 QTimerInfoList::activateTimers (this=0x16c51e8) at kernel/qtimerinfo_unix.cpp:637
#27 0x0000003a4c4d2c40 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x16acff0) at kernel/qeventdispatcher_unix.cpp:549
#28 0x0000003a4c4d37bb in QEventDispatcherUNIX::processEvents (this=0x16acff0, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#29 0x00007f65127f6ffd in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#30 0x0000003a4c4810aa in QEventLoop::exec (this=this@entry=0x7ffdf3b75c30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#31 0x0000003a4c48943c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#32 0x0000003a4ccf449c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1598
#33 0x0000003a4d55b775 in QApplication::exec () at kernel/qapplication.cpp:2973
#34 0x0000003943a05b07 in kdemain (argc=1, argv=0x7ffdf3b75ec8) at /var/tmp/portage/kde-plasma/kwin-5.6.3/work/kwin-5.6.3/main_x11.cpp:327
#35 0x0000003eedc206d0 in __libc_start_main (main=0x4007d0 <main(int, char**)>, argc=3, argv=0x7ffdf3b75ec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdf3b75eb8) at libc-start.c:289
#36 0x0000000000400809 in _start ()

Possible duplicates by query: bug 361609, bug 359374, bug 355103, bug 352423, bug 350872.

Reported using DrKonqi
Comment 1 Thomas Lübking 2016-04-30 08:52:22 UTC
nvidia?

*** This bug has been marked as a duplicate of bug 355103 ***
Comment 2 Kai Krakow 2016-05-01 17:19:59 UTC
Sorry for not mentioning... Yes, Nvidia proprietary.
Comment 3 Thomas Lübking 2016-05-01 21:35:20 UTC
No problem - just to ensure it fits the pattern (resp. doesn't extend it)