Segmentation fault in QSGOpaqueTextureMaterial::compare QT5.8



  • Hello,
    We are encountering a segmentation fault with an application with 2 display; On CentOs 7.4 with QT 5.8. with intel graphics.
    We can not find the origin of the QML code that provokes the problem.
    Someone can help us ?
    Thanks

    Back Trace :

    #0 0x0000000000000000 in ()
    #1 0x00007f7198dfc534 in QSGOpaqueTextureMaterial::compare(QSGMaterial const*) const (this=0x756b4ca8, o=0x75486c98)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/scenegraph/util/qsgtexturematerial.cpp:315
    #2 0x00007f7198de47a4 in QSGBatchRenderer::Batch::isMaterialCompatible(QSGBatchRenderer::Element*) const (this=<optimized out>, e=e@entry=0x756a9680)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:627
    #3 0x00007f7198df4d91 in QSGBatchRenderer::Renderer::nodeChanged(QSGNode*, QFlagsQSGNode::DirtyStateBit) (this=0x6f05fd30, node=0x75486ad0, state=...)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:1232
    #4 0x00007f7198dde2e5 in QSGRootNode::notifyNodeChange(QSGNode*, QFlagsQSGNode::DirtyStateBit) (this=this@entry=0x6eb8afe0, node=node@entry=0x75486ad0, state=state@entry=...) at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/scenegraph/coreapi/qsgnode.cpp:1285
    #5 0x00007f7198dde370 in QSGNode::markDirty(QFlagsQSGNode::DirtyStateBit) (this=this@entry=0x75486ad0, bits=..., bits@entry=...)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/scenegraph/coreapi/qsgnode.cpp:678
    #6 0x00007f7198e0b3d6 in QSGBasicInternalImageNode::setTexture(QSGTexture*) (this=0x75486ad0, texture=<optimized out>)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/scenegraph/qsgbasicinternalimagenode.cpp:123
    #7 0x00007f7198edf91d in QQuickImage::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) (this=<optimized out>, oldNode=<optimized out>)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/items/qquickimage.cpp:731
    #8 0x00007f7198e72d07 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) (this=this@entry=0x6f0c3200, item=item@entry=0x6f83da30)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/items/qquickwindow.cpp:3120
    #9 0x00007f7198e73691 in QQuickWindowPrivate::updateDirtyNodes() (this=this@entry=0x6f0c3200)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/items/qquickwindow.cpp:2865
    #10 0x00007f7198e74632 in QQuickWindowPrivate::syncSceneGraph() (this=this@entry=0x6f0c3200)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/items/qquickwindow.cpp:420
    #11 0x00007f7198e0f5e0 in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) (this=0x24d81e0, window=0x6f07b830)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/scenegraph/qsgrenderloop.cpp:409
    #12 0x00007f7198e7d1d7 in QQuickWindow::event(QEvent*) (this=0x6f07b830, e=0x7ffe819aa910)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/items/qquickwindow.cpp:1577
    #13 0x00007f7198135505 in doNotify(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1063
    #14 0x0000000000428b02 in Evs::XOne::QmlApplication::notify(QObject*, QEvent*) (this=<optimized out>, object=<optimized out>, event=<optimized out>)
    at /home/teamcity/buildAgent/work/769f0b28d43491f7/Client/QmlApplication.cpp:24
    #15 0x00007f71981355e6 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x6f07b830, event=event@entry=0x7ffe819aa910)
    at kernel/qcoreapplication.cpp:988
    #16 0x00007f7198482d0e in QWindowPrivate::deliverUpdateRequest() (event=0x7ffe819aa910, receiver=0x6f07b830) at ../../src/corelib/kernel/qcoreapplication.h:231
    #17 0x00007f7198482d0e in QWindowPrivate::deliverUpdateRequest() (this=<optimized out>) at kernel/qwindow.cpp:2171
    #18 0x00007f719848317d in QWindow::event(QEvent*) (this=this@entry=0x6f07b830, ev=ev@entry=0x7ffe819aacb0) at kernel/qwindow.cpp:2142
    #19 0x00007f7198e7d185 in QQuickWindow::event(QEvent*) (this=0x6f07b830, e=0x7ffe819aacb0)
    at /usr/src/debug/qtdeclarative-opensource-src-5.8.0/src/quick/items/qquickwindow.cpp:1596
    #20 0x00007f7198135505 in doNotify(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1063
    #21 0x0000000000428b02 in Evs::XOne::QmlApplication::notify(QObject*, QEvent*) (this=<optimized out>, object=<optimized out>, event=<optimized out>)
    at /home/teamcity/buildAgent/work/769f0b28d43491f7/Client/QmlApplication.cpp:24
    #22 0x00007f71981355e6 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x6f07b830, event=event@entry=0x7ffe819aacb0) at kernel/qcoreapplication.cpp:988
    #23 0x00007f7198180dae in QTimerInfoList::activateTimers() (event=0x7ffe819aacb0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
    #24 0x00007f7198180dae in QTimerInfoList::activateTimers() (this=0x20c2390) at kernel/qtimerinfo_unix.cpp:643
    #25 0x00007f7198181599 in idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
    #26 0x00007f7198181599 in idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229
    #27 0x00007f718e76b4c9 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
    #28 0x00007f718e76b818 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
    #29 0x00007f718e76b8cc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
    #30 0x00007f71981819ac in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) (this=0x2140aa0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
    #31 0x00007f719813429b in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) (this=this@entry=0x7ffe819aaf00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
    #32 0x00007f719813bd44 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1261
    #33 0x00007f719846fcac in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1657
    #34 0x0000000000425d6f in main(int32_t, char**) (argc=4, argv=<optimized out>) at /home/teamcity/buildAgent/work/769f0b28d43491f7/Client/main.cpp:265



  • Here the back stack trace.
    Would anyone have a method to find the source of the problem. ?
    Thanks for your help?

    0_1513161334809_dump.png image url)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.