Bug 355970 - Plasma crashes on boot of current Fedora Rawhide nightly live image in a KVM (Spice/QXL)
Summary: Plasma crashes on boot of current Fedora Rawhide nightly live image in a KVM ...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.95
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-26 23:31 UTC by Adam Williamson
Modified: 2016-04-28 22:43 UTC (History)
3 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 Adam Williamson 2015-11-26 23:31:54 UTC
Application: plasmashell (5.4.95)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-0.rc2.git2.1.fc24.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

Booted the 2015-11-26 Fedora Rawhide nightly KDE live image. No proprietary graphics drivers are involved here, no unusual local configuration at all: this crash occurs simply by booting the live image in a typical KVM (qxl video adapter, SPICE graphics).

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f85f031f940 (LWP 2010))]

Thread 6 (Thread 0x7f85d00df700 (LWP 2013)):
#0  0x00007f85e7cfba5d in poll () from /lib64/libc.so.6
#1  0x00007f85ee1a1272 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f85ee1a2ee7 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f85d2068da9 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f85e890f3de in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f85e69a06da in start_thread () from /lib64/libpthread.so.0
#6  0x00007f85e7d0756d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f85cccca700 (LWP 2014)):
#0  0x00007f85e2e28d72 in g_main_context_check () from /lib64/libglib-2.0.so.0
#1  0x00007f85e2e29350 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f85e2e294bc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f85e8b46eeb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f85e8aedeea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f85e890a434 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f85ecc2eb45 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f85e890f3de in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f85e69a06da in start_thread () from /lib64/libpthread.so.0
#9  0x00007f85e7d0756d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f85bede0700 (LWP 2015)):
#0  0x00007f85e7cfba5d in poll () from /lib64/libc.so.6
#1  0x00007f85e2e293ac in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f85e2e294bc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f85e8b46eeb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f85e8aedeea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f85e890a434 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f85ecc2eb45 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f85e890f3de in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f85e69a06da in start_thread () from /lib64/libpthread.so.0
#9  0x00007f85e7d0756d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f85bd5b2700 (LWP 2016)):
#0  0x00007f85e69a6340 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f85efa91514 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQt5Script.so.5
#2  0x00007f85efa91559 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQt5Script.so.5
#3  0x00007f85e69a06da in start_thread () from /lib64/libpthread.so.0
#4  0x00007f85e7d0756d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f85bccb1700 (LWP 2017)):
#0  0x00007fff24cd3b6f in clock_gettime ()
#1  0x00007f85e7d15a16 in clock_gettime () from /lib64/libc.so.6
#2  0x00007f85e89bf966 in qt_gettime() () from /lib64/libQt5Core.so.5
#3  0x00007f85e8b44979 in QTimerInfoList::updateCurrentTime() () from /lib64/libQt5Core.so.5
#4  0x00007f85e8b44ee5 in QTimerInfoList::timerWait(timespec&) () from /lib64/libQt5Core.so.5
#5  0x00007f85e8b462ce in timerSourcePrepare(_GSource*, int*) () from /lib64/libQt5Core.so.5
#6  0x00007f85e2e2894d in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#7  0x00007f85e2e292db in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#8  0x00007f85e2e294bc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#9  0x00007f85e8b46eeb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#10 0x00007f85e8aedeea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#11 0x00007f85e890a434 in QThread::exec() () from /lib64/libQt5Core.so.5
#12 0x00007f85ecc2eb45 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#13 0x00007f85e890f3de in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#14 0x00007f85e69a06da in start_thread () from /lib64/libpthread.so.0
#15 0x00007f85e7d0756d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f85f031f940 (LWP 2010)):
[KCrash Handler]
#5  0x00007f85e7c37598 in raise () from /lib64/libc.so.6
#6  0x00007f85e7c3919a in abort () from /lib64/libc.so.6
#7  0x00007f85e88fcb51 in QMessageLogger::fatal(char const*, ...) const () from /lib64/libQt5Core.so.5
#8  0x00007f85ed8440e1 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /lib64/libQt5Quick.so.5
#9  0x00007f85ed8450f5 in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) () from /lib64/libQt5Quick.so.5
#10 0x00007f85ed846096 in QSGGuiThreadRenderLoop::exposureChanged(QQuickWindow*) () from /lib64/libQt5Quick.so.5
#11 0x00007f85e90359c5 in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#12 0x00007f85ed87f621 in QQuickWindow::event(QEvent*) () from /lib64/libQt5Quick.so.5
#13 0x0000556e2e2c2746 in DesktopView::event(QEvent*) ()
#14 0x00007f85ea0a441c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007f85ea0a98e6 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007f85e8af075b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007f85e902deac in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /lib64/libQt5Gui.so.5
#18 0x00007f85e902ec1d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#19 0x00007f85e9012918 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#20 0x00007f85d209a0a0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#21 0x00007f85e2e2907a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007f85e2e29410 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#23 0x00007f85e2e294bc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007f85e8b46ecf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007f85e8aedeea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007f85e8af5fcc in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#27 0x0000556e2e2b38a4 in main ()

Possible duplicates by query: bug 354783, bug 354059.

Reported using DrKonqi
Comment 1 Adam Williamson 2015-11-26 23:32:28 UTC
ISO download: https://kojipkgs.fedoraproject.org/work/tasks/4703/11984703/Fedora-Live-KDE-x86_64-rawhide-20151126.iso (will persist for a few weeks).
Comment 2 Adam Williamson 2015-11-26 23:57:58 UTC
I would check and see if this happens with VNC/vga graphics as well, but the image seems to run into https://bugzilla.redhat.com/show_bug.cgi?id=1282706 every time when booted with that configuration.
Comment 3 Kevin Kofler 2015-11-27 23:43:07 UTC
Does the qxl driver claim to support "hardware" OpenGL 2 now? (If so, try exporting QT_XCB_FORCE_SOFTWARE_OPENGL=1 to force using the llvmpipe instead.) Or is the llvmpipe broken in Rawhide?!
Comment 4 David Edmundson 2015-12-01 14:27:21 UTC
Marking as needs info till we hear back from Kevin's question.
Comment 5 Adam Williamson 2015-12-01 18:58:06 UTC
I don't believe the qxl driver has changed anything, but it does look like there's something up with software rendering. We got GNOME nightlies back today (they'd been failing to compose for unrelated reasons) and they also are booting to a failure screen in a KVM, and now I look at the X logs, I see the same suspicious messages in both:

(II) AIGLX: Screen 0 is not DRI2 capable
(EE) AIGLX: reverting to software rendering
(EE) AIGLX error: Calling driver entry point failed
(EE) GLX: could not load software renderer
(II) GLX: no usable GL providers found for screen 0

I'll double check that those don't appear in a successful boot, but that sure looks like the problem; I'll check in with some X folks.
Comment 6 Adam Williamson 2015-12-01 19:05:04 UTC
Yeah, F23 Final shows this instead:

(II) AIGLX: Screen 0 is not DRI2 capable
(EE) AIGLX: reverting to software rendering
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0

so, that looks a lot like the problem here.
Comment 7 Adam Williamson 2015-12-01 19:27:21 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1285666
Comment 8 Adam Williamson 2016-04-28 22:43:59 UTC
This hasn't been happening for a while, current Fedora images are fine.