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

[Boot2Qt] The mediaplayer app is crashing when trying to open unsupported file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 6.8.1
    • None
    • Linux/Yocto

    Description

      Linux Ubuntu 22.04.4 / Wayland

      Qt Creator 14.0.1

      Device: Raspberry Pi4 64 bit with Qt 6.8.1

      Steps to reproduce:

      1. Open mediaplayer (QML) example.
      2. Open png file -> proper error appears
      3. Open jpeg, acc, or webp  file -> crash

      Expected: The error should appear that the format is not supported

      Actual: The app crashes.

      /usr/include/c++/13.3.0/optional:479: constexpr _Tp& std::_Optional_base_impl<_Tp, _Dp>::_M_get() [with _Tp = std::chrono::duration<long int, std::ratio<1, 1000> >; _Dp = std::_Optional_base<std::chrono::duration<long int, std::ratio<1, 1000> >, true, true>]: Assertion 'this->_M_is_engaged()' failed.
      Application crashed: /usr/examples/multimedia/video/mediaplayer/mediaplayerexample
      Process stopped
      quit 

      Reproducibility:  100% 

      Attachments

        Issue Links

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

          Activity

            People

              timblechmann tim blechmann
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes