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

QMovie::jumpToFrame crash if no file is set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12, 5.13
    • Fix Version/s: 5.13.2
    • Component/s: Other
    • Labels:
      None
    • Commits:
      ba26496647bca4b37fc2319b553b95966823b941 (qt/qtbase/5.13)

      Description

      Hello,

      following code reliably causes a stack overflow (in QMoviePrivate::next), while the documentation indicates that jumpToFrame should just return false :

      #include <QApplication>
      #include <QMovie>
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
      
          QMovie movie;
          movie.setCacheMode(QMovie::CacheAll);
          movie.jumpToFrame(100);
      
          return a.exec();
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            laknoll Lars Knoll
            Reporter:
            jcelerier Jean-Michaƫl Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes