Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt 6.2 (Beta3) Media Player Example crashes
Forum Updated to NodeBB v4.3 + New Features

Qt 6.2 (Beta3) Media Player Example crashes

Scheduled Pinned Locked Moved Unsolved Qt 6
4 Posts 2 Posters 409 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    laseranichris
    wrote on last edited by
    #1

    On a fresh Windows 10 (21H1) installation the "Media Player Example" crashes immediately after launch.

    I used the Qt 6.2 (Beta3) binaries from the online installer.

    To create the executable I did use "Qt Creator 4.15.2" with the automatically generated Kit "Desktop Qt 6.2.0 MinGW 64-bit". The compiler was "MinGW 8.1.0 64-bit".

    Playback of media files with the Windows Media Player did work.

    Any ideas what could have gone wrong?

    jsulmJ 1 Reply Last reply
    0
    • L laseranichris

      On a fresh Windows 10 (21H1) installation the "Media Player Example" crashes immediately after launch.

      I used the Qt 6.2 (Beta3) binaries from the online installer.

      To create the executable I did use "Qt Creator 4.15.2" with the automatically generated Kit "Desktop Qt 6.2.0 MinGW 64-bit". The compiler was "MinGW 8.1.0 64-bit".

      Playback of media files with the Windows Media Player did work.

      Any ideas what could have gone wrong?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @laseranichris said in Qt 6.2 (Beta3) Media Player Example crashes:

      Any ideas what could have gone wrong?

      No.
      You would need to run through debugger to get more information.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • L Offline
        L Offline
        laseranichris
        wrote on last edited by
        #3

        Line 71 in the file "player.cpp" causes a "segmentation fault":

        m_audioOutput = new QAudioOutput(this);
        

        The last function call before the crash was:

        QDummyIntegration::devices
        
        jsulmJ 1 Reply Last reply
        0
        • L laseranichris

          Line 71 in the file "player.cpp" causes a "segmentation fault":

          m_audioOutput = new QAudioOutput(this);
          

          The last function call before the crash was:

          QDummyIntegration::devices
          
          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @laseranichris OK. You can report this in Qt bug tracker.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved