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

Assert when opening certain Lottie files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9.0
    • Lottie
    • None
    • All

    Description

      Open the attached Lottie file using LottieAnimation with a debug build and observe that it asserts with the following stack trace:

      1  qt_maybe_message_fatal<QString &>       qlogging.cpp              2131 0x7ffb2fa87d9c 
      2  qt_message                              qlogging.cpp              412  0x7ffb2fa87c58 
      3  QMessageLogger::fatal                   qlogging.cpp              902  0x7ffb2fa84e13 
      4  qt_assert                               qassert.cpp               105  0x7ffb2fa3dbd9 
      5  qBound<int>                             qminmax.h                 26   0x7ffb68e1f240 
      6  QLottieProperty<double>::update         qlottieproperty_p.h       119  0x7ffb68e2eaf1 
      7  QLottieBasicTransform::updateProperties qlottiebasictransform.cpp 92   0x7ffb68e1d488 
      8  QLottieImageLayer::updateProperties     qlottieimagelayer.cpp     85   0x7ffb68e66999 
      9  QBatchRenderer::prerender               qbatchrenderer.cpp        187  0x7ffb68e8ce9e 
      10 QBatchRenderer::run                     qbatchrenderer.cpp        232  0x7ffb68e8cc0f 
      11 QThreadPrivate::start                   qthread_win.cpp           188  0x7ffb30031e6c 
      12 BaseThreadInitThunk                     KERNEL32                       0x7ffbc494259d 
      13 RtlUserThreadStart                      ntdll                          0x7ffbc644af38 
      

      In QLottieProperty::update(), the m_startFrame is registered as 5 whereas the m_endFrame is registered as 0.

      Lottie example was created by Sam Martin, and downloaded (under Lottie Simple License) at https://lottiefiles.com/free-animation/santa-and-decorates-the-tree-wQCGY8JOhH

      Attachments

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

        Activity

          People

            reworled Rebecca Worledge
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes