Bug 361529 - Plasma crashes when runing on a dual screen with Nvidia Optimus
Summary: Plasma crashes when runing on a dual screen with Nvidia Optimus
Status: RESOLVED DUPLICATE of bug 345563
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.5.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-08 17:44 UTC by Oded Arbel
Modified: 2016-04-13 01:09 UTC (History)
2 users (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 Oded Arbel 2016-04-08 17:44:35 UTC
Application: plasmashell (5.5.4)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-17-generic x86_64
Distribution: Ubuntu Xenial Xerus (development branch)

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

Logged in from LightDM after installing Nvdia binary driver 361.

This is my xorg.conf:

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "intel"
    Inactive "nvidia"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0@0:2:0"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:3@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

I'm using Kubuntu 16.04.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7efdca9ad8c0 (LWP 11888))]

Thread 7 (Thread 0x7efdb6c02700 (LWP 11893)):
#0  0x00007efdc50d225d in recvmsg () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007efdc918add7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007efdc9188ed1 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007efdc918a8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007efdb9382a49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007efdc57bba6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efdc48a76fa in start_thread (arg=0x7efdb6c02700) at pthread_create.c:333
#7  0x00007efdc50d12dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7efdadb1d700 (LWP 12066)):
#0  0x00007efdc50c55ad in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007efdc1e5b32c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007efdc1e5b43c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efdc59f34fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007efdc599a50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efdc57b6ac4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efdc805e105 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007efdc57bba6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007efdc48a76fa in start_thread (arg=0x7efdadb1d700) at pthread_create.c:333
#9  0x00007efdc50d12dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7efda5b4e700 (LWP 12102)):
#0  0x00007efdc1e9fa79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007efdc1e5ad6c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007efdc1e5b2d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efdc1e5b43c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007efdc59f34fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efdc599a50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efdc57b6ac4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007efdc805e105 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007efdc57bba6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007efdc48a76fa in start_thread (arg=0x7efda5b4e700) at pthread_create.c:333
#10 0x00007efdc50d12dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7efd9fc76700 (LWP 12104)):
#0  0x00007efdc59f1472 in QTimerInfoList::repairTimersIfNeeded() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007efdc59f1503 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007efdc59f28de in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007efdc1e5a8bd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007efdc1e5b25b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007efdc1e5b43c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007efdc59f34fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007efdc599a50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007efdc57b6ac4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007efdc805e105 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007efdc57bba6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007efdc48a76fa in start_thread (arg=0x7efd9fc76700) at pthread_create.c:333
#12 0x00007efdc50d12dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7efd9e36c700 (LWP 12113)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007efdca403194 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007efdca4031d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007efdc48a76fa in start_thread (arg=0x7efd9e36c700) at pthread_create.c:333
#4  0x00007efdc50d12dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7efd1751b700 (LWP 12177)):
#0  0x00007efdc50c55ad in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007efdc1e5b32c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007efdc1e5b43c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efdc59f34fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007efdc599a50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efdc57b6ac4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efdc89e4136 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007efdc57bba6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007efdc48a76fa in start_thread (arg=0x7efd1751b700) at pthread_create.c:333
#9  0x00007efdc50d12dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7efdca9ad8c0 (LWP 11888)):
[KCrash Handler]
#6  0x00007efdc4fff518 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007efdc50010ea in __GI_abort () at abort.c:89
#8  0x00007efdc57a91e1 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007efdc8a50991 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007efdc8a519a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007efdc8a52946 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007efdc5ce8385 in QWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#13 0x00007efdc8a8bec1 in QQuickWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x000000000043f206 in DesktopView::event(QEvent*) ()
#15 0x00007efdc64a19dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007efdc64a6ea6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007efdc599cd7b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007efdc5ce057c in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007efdc5ce12ed in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007efdc5cc51f8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007efdb93b4480 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00007efdc1e5b137 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007efdc1e5b390 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007efdc1e5b43c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007efdc59f34df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007efdc599a50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007efdc59a25dc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x0000000000432d4a in main ()

Possible duplicates by query: bug 361519, bug 360584, bug 360397, bug 359875, bug 359689.

Reported using DrKonqi
Comment 1 David Edmundson 2016-04-13 01:09:24 UTC
#9 0x00007efdc8a50991 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5

Error raised here means there's something broken with your openGL drivers.
One common cause is NVidia's libGL installed, but the NVidia kernel module missing.

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