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

Mediaplayer/GStreamer too many files open crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.11.0
    • Multimedia
    • None
    • Ubuntu 18.04
    • Linux/X11

    Description

      While playing video files, and setting MediaPlayer-elements property loops: MediaPlayer.Infinite, the application crash/stops after some time due to too many files open.

      Running the application in debug mode shows that the application spawns a new thread everytime the video loops, and roughly at around 1000 threads the application crashes.

      I have attached a small running example with a grid view with 9 video elements that loops. Each video is 1 second, and the problem occurs after running the application for approximately 2-3 minutes on my computer. I have also attached a partialĀ  console output from the application.

      Attachments

        1. gst_debug_4.txt
          6.60 MB
        2. ls_l_pidof_fd.txt
          32 kB
        3. lsof_a_p.txt
          142 kB
        4. video_crash.mkv
          1.67 MB
        5. VideoLoopTest.log
          23 kB
        6. VideoLoopTest.zip
          131 kB

        Issue Links

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

          Activity

            People

              valentyn.doroshchuk Valentyn Doroshchuk
              ghm Gerhard Melseth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes