Bug 348462 - segfault in QSGBatchRenderer::Renderer::renderMergedBatch()
Summary: segfault in QSGBatchRenderer::Renderer::renderMergedBatch()
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-30 16:15 UTC by Ted Henscheid
Modified: 2016-08-29 07:21 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 Ted Henscheid 2015-05-30 16:15:24 UTC
Application: kwin_x11 (5.3.0)

Qt Version: 5.4.1
Operating System: Linux 4.0.4-301.fc22.i686+PAE i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed: installing bind from command line and had one other konsole window open.

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

Thread 3 (Thread 0xb5381b40 (LWP 3726)):
#0  0xb7715be8 in __kernel_vsyscall ()
#1  0x4b3a97b1 in select () from /lib/libc.so.6
#2  0x4cfb5d95 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /lib/libQt5Core.so.5
#3  0x4cfb790d in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /lib/libQt5Core.so.5
#4  0x4cfb7e1f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#5  0x4cf57b37 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#6  0x4cf57fb4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#7  0x4cd6b19c in QThread::exec() () from /lib/libQt5Core.so.5
#8  0x42a82b70 in QQmlThreadPrivate::run() () from /lib/sse2/libQt5Qml.so.5
#9  0x4cd70e50 in QThreadPrivate::start(void*) () from /lib/libQt5Core.so.5
#10 0x4b497380 in start_thread () from /lib/libpthread.so.0
#11 0x4b3b3d4e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb3bafb40 (LWP 3815)):
#0  0xb7715be8 in __kernel_vsyscall ()
#1  0x4b49be3c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4b3c180d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x425610fe in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib/libQt5Script.so.5
#4  0x42561140 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib/libQt5Script.so.5
#5  0x4b497380 in start_thread () from /lib/libpthread.so.0
#6  0x4b3b3d4e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb76d1800 (LWP 3701)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xb3db6cd0 in run_vertex_stage () from /usr/lib/dri/radeon_dri.so
#8  0xb3da2548 in _tnl_run_pipeline () from /usr/lib/dri/radeon_dri.so
#9  0xb409295c in radeonWrapRunPipeline () from /usr/lib/dri/radeon_dri.so
#10 0xb3da1c69 in _tnl_draw_prims () from /usr/lib/dri/radeon_dri.so
#11 0xb3d86c3a in vbo_validated_drawrangeelements () from /usr/lib/dri/radeon_dri.so
#12 0xb3d871ac in vbo_exec_DrawElements () from /usr/lib/dri/radeon_dri.so
#13 0x4c6f50ac in glDrawElements () from /lib/libGL.so.1
#14 0x42cdd46c in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /lib/libQt5Quick.so.5
#15 0x42cdddd0 in QSGBatchRenderer::Renderer::renderBatches() () from /lib/libQt5Quick.so.5
#16 0x42ce28f8 in QSGBatchRenderer::Renderer::render() () from /lib/libQt5Quick.so.5
#17 0x42cee4ee in QSGRenderer::renderScene(QSGBindable const&) () from /lib/libQt5Quick.so.5
#18 0x42ceeb23 in QSGRenderer::renderScene(unsigned int) () from /lib/libQt5Quick.so.5
#19 0x42cff880 in QSGRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /lib/libQt5Quick.so.5
#20 0x42d53567 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () from /lib/libQt5Quick.so.5
#21 0x42d1da79 in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) () from /lib/libQt5Quick.so.5
#22 0x42d1f1a7 in QSGGuiThreadRenderLoop::exposureChanged(QQuickWindow*) () from /lib/libQt5Quick.so.5
#23 0x42d4e6e1 in QQuickWindow::exposeEvent(QExposeEvent*) () from /lib/libQt5Quick.so.5
#24 0x4d26bd59 in QWindow::event(QEvent*) () from /lib/libQt5Gui.so.5
#25 0x42d5d0ec in QQuickWindow::event(QEvent*) () from /lib/libQt5Quick.so.5
#26 0xaeeae16c in PlasmaQuick::Dialog::event(QEvent*) () from /lib/libKF5PlasmaQuick.so.5
#27 0x4d7b5f64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQt5Widgets.so.5
#28 0x4d7bbd22 in QApplication::notify(QObject*, QEvent*) () from /lib/libQt5Widgets.so.5
#29 0x4154d545 in KWin::Application::notify(QObject*, QEvent*) () from /lib/libkwin.so.5
#30 0x4cf5af85 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQt5Core.so.5
#31 0x4d262ffe in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /lib/libQt5Gui.so.5
#32 0x4d264000 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib/libQt5Gui.so.5
#33 0x4d244df6 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Gui.so.5
#34 0xb736b960 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt5/plugins/platforms/libqxcb.so
#35 0x4cf57b37 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#36 0x4cf57fb4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#37 0x4cf60a6a in QCoreApplication::exec() () from /lib/libQt5Core.so.5
#38 0x4d258ee5 in QGuiApplication::exec() () from /lib/libQt5Gui.so.5
#39 0x4d7b1aa5 in QApplication::exec() () from /lib/libQt5Widgets.so.5
#40 0x4c137ffc in kdemain () from /lib/libkdeinit5_kwin_x11.so
#41 0x08048a08 in main ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-05-31 15:12:20 UTC
Smells upstream (Qt) - pretty much bug #346729, to a minor degree bug #334884

Crash trigger was likely rather invocation of th tabbox ("Alt+Tab") ?

(nb. that bug #346729 is intel while this is radeon - so if it's not in some shared MESA code, it'll be QtQuick)
Comment 2 Martin Flöser 2016-08-29 07:21:24 UTC
Crash in QtQuick in combination with driver. Sorry there is nothing we can do about that.