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. QAudioOutput seems to crash my app - Qt6 QMediaPlayer/multimedia Problems

QAudioOutput seems to crash my app - Qt6 QMediaPlayer/multimedia Problems

Scheduled Pinned Locked Moved Solved Qt 6
18 Posts 3 Posters 3.8k Views 3 Watching
  • 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.
  • SGaistS SGaist

    If just creating a QAudioOutput crashes your application then there's something wrong going on.

    What is the stack trace of the crash ?

    H Offline
    H Offline
    hbatalha
    wrote on last edited by hbatalha
    #5

    @SGaist Segmentation fault.
    Screenshot_2.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #6

      Please use a debug build to get a proper stack trace.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      H 1 Reply Last reply
      0
      • SGaistS SGaist

        Please use a debug build to get a proper stack trace.

        H Offline
        H Offline
        hbatalha
        wrote on last edited by
        #7

        @SGaist I don't understand what you meant by "debug build to get a proper stack trace". I am running the debugger in debug mode and that is the result I am getting.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #8

          So you might be missing Qt's debug symbols as seeing the Disassembler view is unusual in a debug build.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          H 1 Reply Last reply
          0
          • K Offline
            K Offline
            kleinlee
            wrote on last edited by kleinlee
            #9

            I have the same question when using Qt6.2Beta. QAudioOutput worked well on MAC, while crashed on Windows.
            5ec59c64-d029-4872-8cd1-5218f518ae6e-1629570675(1).png

            1 Reply Last reply
            0
            • SGaistS SGaist

              So you might be missing Qt's debug symbols as seeing the Disassembler view is unusual in a debug build.

              H Offline
              H Offline
              hbatalha
              wrote on last edited by
              #10

              @SGaist Sorry for the late reply.

              I always saw the Disassembler view since I first started using Qt so I thought that was normal.

              What those Qt's debug symbols could be?

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #11

                Did you install the debug symbols ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                H 1 Reply Last reply
                0
                • SGaistS SGaist

                  Did you install the debug symbols ?

                  H Offline
                  H Offline
                  hbatalha
                  wrote on last edited by
                  #12

                  @SGaist I just g searched about debug symbols and how to install but didn't find much relating to gdb on windows

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #13

                    You can download the debug symbols from the maintenance tool.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    H 1 Reply Last reply
                    1
                    • SGaistS SGaist

                      You can download the debug symbols from the maintenance tool.

                      H Offline
                      H Offline
                      hbatalha
                      wrote on last edited by
                      #14

                      @SGaist I have downloaded everything related to debugging in the maintenance tool but nothing seems to be working.

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #15

                        Ok... If memory serves well, another beta has been released, did you check it ?

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        H 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Ok... If memory serves well, another beta has been released, did you check it ?

                          H Offline
                          H Offline
                          hbatalha
                          wrote on last edited by
                          #16

                          @SGaist yeah, same result. Still crashing. The bug report I made the priority was turned to P1: Critical but the status and resolution is still the same.

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #17

                            I would add a complete minimal compilable example the report. This would allow more people to help fixing that issue.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            H 1 Reply Last reply
                            0
                            • SGaistS SGaist

                              I would add a complete minimal compilable example the report. This would allow more people to help fixing that issue.

                              H Offline
                              H Offline
                              hbatalha
                              wrote on last edited by
                              #18

                              @SGaist I believe the bug has been fixed: https://bugreports.qt.io/browse/QTBUG-95234

                              1 Reply Last reply
                              1

                              • Login

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