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

[5.6 and GIT] renderer shutdown segfault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.7.0 RC
    • 5.6.0, 5.7.0 Beta
    • Qt3D
    • Ubuntu 14.04 64bit - nvidia gtx 970 and nvidia gtx 760
    • a408665a90d00a8ef8f59fe75c1547fad7264963 36de2a78d2bea11ccca0810925495a6ce49affe2

    Description

      [EDIT] I'm improving this report cause the segfault is pretty serious and reproducible. Please, please fix this as it is blocking a project I'm working on.
      I am also attaching a self contained test that can be used with qmlscene to easily reproduce the issue. Just click a few times on the two buttons alternatively.

      On my nvidia gtx970 it happens:

      • less frequently on Qt 5.6.0 (but it does)
      • always on Qt 5.7 GIT

      On an nvidia gtx 760:

      • it happens always on Qt 5.6.0 (beta or RC snapshot)

      Here's a gdb trace of a crash I'm having with the 5.7 GIT sources

      #0  0x00007fdbb28b6cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      #1  0x00007fdbb28ba0d8 in __GI_abort () at abort.c:89
      #2  0x00007fdbb3516795 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1612
      #3  0x00007fdbb3512c90 in QMessageLogger::fatal (this=0x7fdb5cd0a4b0, msg=0x7fdbb3898850 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:786
      #4  0x00007fdbb350bf26 in qt_assert (assertion=0x7fdb825ed535 "d", file=0x7fdb825ed4d8 "/home/dragon/projects/qt5-GIT/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h", line=118)
          at global/qglobal.cpp:3010
      #5  0x00007fdb82408896 in QScopedPointer<Qt3DRender::Render::GraphicsContext, QScopedPointerDeleter<Qt3DRender::Render::GraphicsContext> >::operator-> (this=0x4d88bf8)
          at /home/dragon/projects/qt5-GIT/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
      #6  0x00007fdb824063b4 in Qt3DRender::Render::Renderer::contextInfo (this=0x4d88b60) at backend/renderer.cpp:1021
      #7  0x00007fdb824fd51e in Qt3DRender::Render::findTechniqueForEffect (renderer=0x4d88b60, renderView=0x7fdb488f8d30, effect=0x7fdb500c40f0) at jobs/renderviewjobutils.cpp:266
      #8  0x00007fdb8241fa12 in Qt3DRender::Render::RenderView::passesAndParameters (this=0x7fdb488f8d30, parameters=0x7fdb5cd0a7e0, node=0x7fdb5000c710, useDefaultMaterial=true)
          at backend/renderview.cpp:411
      #9  0x00007fdb8241ffd5 in Qt3DRender::Render::RenderView::buildDrawRenderCommands (this=0x7fdb488f8d30, node=0x7fdb5000c710, planes=0x7fdb5cd0acb0) at backend/renderview.cpp:510
      #10 0x00007fdb8241fdd2 in Qt3DRender::Render::RenderView::buildRenderCommands (this=0x7fdb488f8d30, node=0x7fdb5000c710, planes=0x7fdb5cd0acb0) at backend/renderview.cpp:490
      #11 0x00007fdb8241fe2a in Qt3DRender::Render::RenderView::buildRenderCommands (this=0x7fdb488f8d30, node=0x7fdb50004d90, planes=0x7fdb5cd0acb0) at backend/renderview.cpp:496
      #12 0x00007fdb824fc4cc in Qt3DRender::Render::RenderViewJob::run (this=0x7fdb501eede0) at jobs/renderviewjob.cpp:86
      #13 0x00007fdbb5c41360 in Qt3DCore::AspectTaskRunnable::run (this=0x7fdb501f2ba0) at jobs/task.cpp:71
      #14 0x00007fdbb3524c5b in QThreadPoolThread::run (this=0x7fdb50003390) at thread/qthreadpool.cpp:99
      #15 0x00007fdbb352b18d in QThreadPrivate::start (arg=0x7fdb50003390) at thread/qthread_unix.cpp:343
      #16 0x00007fdbb18f2182 in start_thread (arg=0x7fdb5cd0b700) at pthread_create.c:312
      #17 0x00007fdbb297a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              seanharmer Sean Harmer
              mcallegari79 Massimo Callegari
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: