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

Mediaplayer/GStreamer too many files open crash

XMLWordPrintable

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

      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.

        1. VideoLoopTest.zip
          131 kB
        2. VideoLoopTest.log
          23 kB
        3. video_crash.mkv
          1.67 MB
        4. ls_l_pidof_fd.txt
          32 kB
        5. lsof_a_p.txt
          142 kB
        6. gst_debug_4.txt
          6.60 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes