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

QT crashes with bad_alloc() when I start the camera and run my application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.12.1
    • 5.11.1
    • Multimedia
    • None
    • Windows

    Description

      I have a simple application with a button on the UI.  Before executing the application, I have a camera object instantiated and I start the camera. On clicking the button I just start a while loop, my application crashes with bad_alloc() just after 80k iterations. If I don't start the camera, the application doesn't crash.  I have attached the relevant code snippet below. 

       An important observation is that if I don't start my camera, then the application doesn't crash

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            pooja_mangla Pooja Mangla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes