Bug 331837

Summary: kwin crash when doing primusrun glxgears
Product: [Plasma] kwin Reporter: Garve <xgarve>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.11.7   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Garve 2014-03-07 01:17:12 UTC
Application: kwin (4.11.7)
KDE Platform Version: 4.12.2
Qt Version: 4.8.5
Operating System: Linux 3.13.5-200.fc20.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Doing primusrun glxgears in terminal.

Got a NVIDIA GeForce GTX 760 and Bumblebee with latest NVIDIA drivers.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f435930e700 (LWP 5116)):
#0  0x000000307c80bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000309cd8f09b in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtScript.so.4
#2  0x000000309cd8f0d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtScript.so.4
#3  0x000000307c807f33 in start_thread () from /lib64/libpthread.so.0
#4  0x000000307c0f4ded in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f436ede9900 (LWP 5104)):
[KCrash Handler]
#5  0x00007f435b23fac2 in gen7_update_renderbuffer_surface () from /usr/lib64/dri/i965_dri.so
#6  0x00007f435b22fb2d in brw_update_renderbuffer_surfaces () from /usr/lib64/dri/i965_dri.so
#7  0x00007f435b1fe3ca in brw_upload_state () from /usr/lib64/dri/i965_dri.so
#8  0x00007f435b1b065c in brw_draw_prims () from /usr/lib64/dri/i965_dri.so
#9  0x00007f435b016670 in vbo_draw_arrays () from /usr/lib64/dri/i965_dri.so
#10 0x00000030a561239e in KWin::GLVertexBuffer::draw(QRegion const&, unsigned int, int, int, bool) () from /lib64/libkwinglutils.so.1
#11 0x00000030a5615599 in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) () from /lib64/libkwinglutils.so.1
#12 0x00000030a561560d in KWin::GLVertexBuffer::render(unsigned int) () from /lib64/libkwinglutils.so.1
#13 0x00000030a5adbb7a in KWin::SceneOpenGL2::doPaintBackground(QVector<float> const&) () from /lib64/libkdeinit4_kwin.so
#14 0x00000030a5adf475 in KWin::SceneOpenGL::paintBackground(QRegion) () from /lib64/libkdeinit4_kwin.so
#15 0x00000030a5aceed6 in KWin::Scene::paintSimpleScreen(int, QRegion) () from /lib64/libkdeinit4_kwin.so
#16 0x00000030a5acca65 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkdeinit4_kwin.so
#17 0x00000030a5af018d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkdeinit4_kwin.so
#18 0x0000003095411baf in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwineffects.so.1
#19 0x00000030a5af013a in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkdeinit4_kwin.so
#20 0x0000003095411baf in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwineffects.so.1
#21 0x00000030a5af013a in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkdeinit4_kwin.so
#22 0x00000030a5acf0a6 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*) () from /lib64/libkdeinit4_kwin.so
#23 0x00000030a5ae28fe in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /lib64/libkdeinit4_kwin.so
#24 0x00000030a5ac65db in KWin::Compositor::performCompositing() () from /lib64/libkdeinit4_kwin.so
#25 0x000000308499d0a1 in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#26 0x00000030891c9d8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#27 0x00000030891d0725 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#28 0x000000308b04aa1a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#29 0x000000308498439d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#30 0x00000030849b5ae3 in QTimerInfoList::activateTimers() () from /lib64/libQtCore.so.4
#31 0x00000030849b6548 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#32 0x000000308926c5d6 in QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#33 0x0000003084982edf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#34 0x000000308498322d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#35 0x0000003084988749 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#36 0x00000030a5a7e411 in kdemain () from /lib64/libkdeinit4_kwin.so
#37 0x000000307c021d65 in __libc_start_main () from /lib64/libc.so.6
#38 0x0000000000400a01 in _start ()

Possible duplicates by query: bug 331189, bug 331031, bug 323303, bug 321352, bug 319758.

Reported using DrKonqi
Comment 1 Thomas Lübking 2014-03-07 11:05:32 UTC
driver bug, suspend compositing before primusrunning

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