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

QMovie::jumpToFrame crash if no file is set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.13.2
    • 5.12, 5.13
    • Other
    • None
    • 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

            laknoll Lars Knoll
            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