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

ParticleSystem segfaults after some time using SpriteGoal

    XMLWordPrintable

Details

    • 704b408da01ac9a85e89a906ee9c6922d7f4323e

    Description

      Encountered when running

      gdb --args qmlscene examples/declarative/particles/affectors/groupgoal.qml

      The score in this instance was 247.

      Program received signal SIGSEGV, Segmentation fault.
      0xb730afcd in QSGParticleSystem::moveGroups (this=0x81715b8, d=0x0, newGIdx=5) at particles/qsgparticlesystem.cpp:941
      941         QSGParticleData* pd = newDatum(newGIdx, false, d->systemIndex);
      (gdb) bt
      #0  0xb730afcd in QSGParticleSystem::moveGroups (this=0x81715b8, d=0x0, newGIdx=5) at particles/qsgparticlesystem.cpp:941
      #1  0xb730afbe in QSGParticleSystem::particleStateChange (this=0x81715b8, idx=2084) at particles/qsgparticlesystem.cpp:936
      #2  0xb73538ea in QSGParticleSystem::qt_static_metacall (_o=0x81715b8, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfffe878) at .moc/debug-shared/moc_qsgparticlesystem_p.cpp:102
      #3  0xb5c34559 in QMetaObject::activate (sender=0x8139c68, m=0xb7505e44, local_signal_index=1, argv=0xbfffe878) at kernel/qobject.cpp:3388
      #4  0xb734607e in QSGStochasticEngine::stateChanged (this=0x8139c68, _t1=2084) at .moc/debug-shared/moc_qsgspriteengine_p.cpp:366
      #5  0xb72998eb in QSGStochasticEngine::updateSprites (this=0x8139c68, time=590546) at items/qsgspriteengine.cpp:390
      #6  0xb730b789 in QSGParticleSystem::updateCurrentTime (this=0x81715b8, currentTime=590546) at particles/qsgparticlesystem.cpp:1036
      #7  0xb7353e57 in QSGParticleSystemAnimation::updateCurrentTime (this=0x8175188, t=590546) at .moc/debug-shared/../../particles/qsgparticlesystem_p.h:354
      #8  0xb5ac6907 in QAbstractAnimation::setCurrentTime (this=0x8175188, msecs=590546) at animation/qabstractanimation.cpp:979
      #9  0xb5ac4cdc in QUnifiedTimer::updateAnimationsTime (this=0x8118fc8, timeStep=-1) at animation/qabstractanimation.cpp:236
      #10 0xb5ac595d in QAnimationDriver::advanceAnimation (this=0x8183e28, timeStep=-1) at animation/qabstractanimation.cpp:481
      #11 0xb5ac599b in QAnimationDriver::advance (this=0x8183e28) at animation/qabstractanimation.cpp:494
      #12 0xb71eeee0 in QSGCanvasPlainRenderLoop::paint (this=0x8119250) at items/qsgcanvas.cpp:96
      #13 0xb71ef1db in QSGCanvasPlainRenderLoop::event (this=0x8119250, e=0x8b6cb38) at items/qsgcanvas.cpp:147
      #14 0xb764fdda in QApplicationPrivate::notify_helper (this=0x809ede8, receiver=0x8119250, e=0x8b6cb38) at kernel/qapplication.cpp:4243
      #15 0xb764d727 in QApplication::notify (this=0xbffff35c, receiver=0x8119250, e=0x8b6cb38) at kernel/qapplication.cpp:3638
      #16 0xb5c16c58 in QCoreApplication::notifyInternal (this=0xbffff35c, receiver=0x8119250, event=0x8b6cb38) at kernel/qcoreapplication.cpp:826
      #17 0xb7ea0219 in QCoreApplication::sendEvent (receiver=0x8119250, event=0x8b6cb38) at ../../../qtbase/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:207
      #18 0xb5c17d5a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x809e5a8) at kernel/qcoreapplication.cpp:1468
      #19 0xb5c17829 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1338
      #20 0xb5f06cf6 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
      #21 0xb5c51aba in postEventSourceDispatch (s=0x80aa110) at kernel/qeventdispatcher_glib.cpp:279
      #22 0xb55f15e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
      #23 0xb55f52d8 in ?? () from /lib/libglib-2.0.so.0
      #24 0xb55f54b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
      #25 0xb5c52b32 in QEventDispatcherGlib::processEvents (this=0x80a3068, flags=...) at kernel/qeventdispatcher_glib.cpp:424
      #26 0xb5c13e0f in QEventLoop::processEvents (this=0xbffff2ac, flags=...) at kernel/qeventloop.cpp:149
      #27 0xb5c14075 in QEventLoop::exec (this=0xbffff2ac, flags=...) at kernel/qeventloop.cpp:225
      #28 0xb5c172c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1093
      #29 0xb5f148db in QGuiApplication::exec () at kernel/qguiapplication.cpp:451
      #30 0xb764d3de in QApplication::exec () at kernel/qapplication.cpp:3517
      #31 0x0804daf9 in main (argc=2, argv=0xbffff554) at main.cpp:517
      

      Attachments

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

        Activity

          People

            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            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