Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-18314

Intermittent segfault in Renderer::setTexture

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.0.0
    • None
    • Ubuntu

    Description

      Leaving the attached qml running for some arbitrary amount of time repeatedly results in a segfault. Could not get this to occur manually.

      Program received signal SIGSEGV, Segmentation fault.
      0x00000000 in ?? ()
      (gdb) bt
      #0  0x00000000 in ?? ()
      #1  0xb7d1bf72 in Renderer::setTexture (this=0x82b9418, unit=0, texture=...) at /home/damian/qtdir/src/declarative/scenegraph/coreapi/renderer.cpp:276
      #2  0xb7d38731 in TextMaskMaterialData::updateState (this=0x8414268, renderer=0x82b9418, newEffect=0x888b8b0, oldEffect=0x889c858, updates=...)
          at /home/damian/qtdir/src/declarative/scenegraph/adaptationlayers/default/default_glyphnode_p.cpp:133
      #3  0xb7d207ac in QMLRenderer::renderNodes (this=0x82b9418, list=...) at /home/damian/qtdir/src/declarative/scenegraph/coreapi/qmlrenderer.cpp:441
      #4  0xb7d1f8d0 in QMLRenderer::render (this=0x82b9418) at /home/damian/qtdir/src/declarative/scenegraph/coreapi/qmlrenderer.cpp:262
      #5  0xb7d1bc96 in Renderer::renderScene (this=0x82b9418, bindable=...) at /home/damian/qtdir/src/declarative/scenegraph/coreapi/renderer.cpp:216
      #6  0xb7d1bbff in Renderer::renderScene (this=0x82b9418) at /home/damian/qtdir/src/declarative/scenegraph/coreapi/renderer.cpp:195
      #7  0xb7d22355 in QSGContext::renderNextFrame (this=0x81941d0) at /home/damian/qtdir/src/declarative/scenegraph/coreapi/qsgcontext.cpp:164
      #8  0xb7d5669e in QSGCanvasPrivate::renderSceneGraph (this=0x80e2360) at /home/damian/qtdir/src/declarative/items/qsgcanvas.cpp:324
      #9  0xb7d55f93 in QSGCanvas::paintEvent (this=0x80b2858) at /home/damian/qtdir/src/declarative/items/qsgcanvas.cpp:192
      #10 0xb7de0c3d in QSGView::paintEvent (this=0x80b2858, event=0xbfffe828) at /home/damian/qtdir/src/declarative/items/qsgview.cpp:413
      #11 0x08050017 in MyQSGView::paintEvent (this=0x80b2858, e=0xbfffe828) at /home/damian/qtdir/tools/qmlscene/main.cpp:165
      #12 0xb630a3af in QWidget::event (this=0x80b2858, event=0xbfffe828) at /home/damian/qtdir/src/gui/kernel/qwidget.cpp:8457
      #13 0xb6e40864 in QGLWidget::event (this=0x80b2858, e=0xbfffe828) at /home/damian/qtdir/src/opengl/qgl.cpp:4377
      #14 0xb7d5a0b8 in QSGCanvas::event (this=0x80b2858, e=0xbfffe828) at /home/damian/qtdir/src/declarative/items/qsgcanvas.cpp:1032
      #15 0xb629d8b6 in QApplicationPrivate::notify_helper (this=0x80735a0, receiver=0x80b2858, e=0xbfffe828) at /home/damian/qtdir/src/gui/kernel/qapplication.cpp:4480
      #16 0xb629d722 in QApplication::notify (this=0xbffff3ac, receiver=0x80b2858, e=0xbfffe828) at /home/damian/qtdir/src/gui/kernel/qapplication.cpp:4445
      #17 0xb5f4e01b in QCoreApplication::notifyInternal (this=0xbffff3ac, receiver=0x80b2858, event=0xbfffe828) at /home/damian/qtdir/src/corelib/kernel/qcoreapplication.cpp:826
      #18 0xb62a018f in QCoreApplication::sendSpontaneousEvent (receiver=0x80b2858, event=0xbfffe828) at ../../include/QtCore/../../../../depot/qt/qt-qml2/src/corelib/kernel/qcoreapplication.h:235
      #19 0xb63029e7 in QWidgetPrivate::drawWidget (this=0x80e2360, pdev=0x80b2860, rgn=..., offset=..., flags=3, sharedPainter=0x0, backingStore=0x0) at /home/damian/qtdir/src/gui/kernel/qwidget.cpp:5538
      #20 0xb6558d05 in QWidgetPrivate::repaint_sys (this=0x80e2360, rgn=...) at /home/damian/qtdir/src/gui/painting/qbackingstore.cpp:1656
      #21 0xb62f9b76 in QWidgetPrivate::syncBackingStore (this=0x80e2360) at /home/damian/qtdir/src/gui/kernel/qwidget.cpp:1873
      #22 0xb630a8dc in QWidget::event (this=0x80b2858, event=0x8769228) at /home/damian/qtdir/src/gui/kernel/qwidget.cpp:8604
      #23 0xb6e40864 in QGLWidget::event (this=0x80b2858, e=0x8769228) at /home/damian/qtdir/src/opengl/qgl.cpp:4377
      #24 0xb7d5a0b8 in QSGCanvas::event (this=0x80b2858, e=0x8769228) at /home/damian/qtdir/src/declarative/items/qsgcanvas.cpp:1032
      #25 0xb629d8b6 in QApplicationPrivate::notify_helper (this=0x80735a0, receiver=0x80b2858, e=0x8769228) at /home/damian/qtdir/src/gui/kernel/qapplication.cpp:4480
      #26 0xb629d722 in QApplication::notify (this=0xbffff3ac, receiver=0x80b2858, e=0x8769228) at /home/damian/qtdir/src/gui/kernel/qapplication.cpp:4445
      #27 0xb5f4e01b in QCoreApplication::notifyInternal (this=0xbffff3ac, receiver=0x80b2858, event=0x8769228) at /home/damian/qtdir/src/corelib/kernel/qcoreapplication.cpp:826
      #28 0xb7b45667 in QCoreApplication::sendEvent (receiver=0x80b2858, event=0x8769228) at ../../include/QtCore/../../../../depot/qt/qt-qml2/src/corelib/kernel/qcoreapplication.h:232
      #29 0xb5f4f07b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8072fa8) at /home/damian/qtdir/src/corelib/kernel/qcoreapplication.cpp:1463
      #30 0xb5f4ed33 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/damian/qtdir/src/corelib/kernel/qcoreapplication.cpp:1356
      #31 0xb636dc72 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../depot/qt/qt-qml2/src/corelib/kernel/qcoreapplication.h:237
      #32 0xb5f8833e in postEventSourceDispatch (s=0x8078790) at /home/damian/qtdir/src/corelib/kernel/qeventdispatcher_glib.cpp:279
      #33 0xb57765e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
      #34 0xb577a2d8 in ?? () from /lib/libglib-2.0.so.0
      #35 0xb577a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
      #36 0xb5f893b6 in QEventDispatcherGlib::processEvents (this=0x8076d50, flags=...) at /home/damian/qtdir/src/corelib/kernel/qeventdispatcher_glib.cpp:424
      #37 0xb637a462 in QGuiEventDispatcherGlib::processEvents (this=0x8076d50, flags=...) at /home/damian/qtdir/src/gui/kernel/qguieventdispatcher_glib.cpp:204
      #38 0xb5f4b15b in QEventLoop::processEvents (this=0xbffff30c, flags=...) at /home/damian/qtdir/src/corelib/kernel/qeventloop.cpp:149
      #39 0xb5f4b2ce in QEventLoop::exec (this=0xbffff30c, flags=...) at /home/damian/qtdir/src/corelib/kernel/qeventloop.cpp:204
      #40 0xb5f4e6a3 in QCoreApplication::exec () at /home/damian/qtdir/src/corelib/kernel/qcoreapplication.cpp:1098
      #41 0xb629adfc in QApplication::exec () at /home/damian/qtdir/src/gui/kernel/qapplication.cpp:3741
      #42 0x0804f67e in main (argc=2, argv=0xbffff574) at /home/damian/qtdir/tools/qmlscene/main.cpp:509
      

      Attachments

        1. windowthingy.tgz
          3.13 MB
          Damian Jansen (closed Nokia identity)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes