Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29479

Qt app crashes when built for debug in Qt Creator on Mac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 11.0.1
    • None
    • macOS 12.6.8
      Qt 6.5.2
      Qt Creator 11.0.1
      Ubuntu 22.04
    • macOS

      I have a somewhat simple Qt program here.

      When I run (Command-R) the project for debug in Qt Creator, the app starts as normal. However, when I click on the log in button, it crashes with the attached problem report (termination reason: segmentation fault), whereas it should've simply displayed a message box. A workaround is to simply run the app from Finder or Terminal. Also, no such issue exists when the project is built and run for release.

      The same project runs and works perfectly under Qt Creator on Linux.

      A similar issue has been discussed here.
       
      The related code can be found in login_window.cpp. You need to install argon2 for the project to run.

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

            kandeler Christian Kandeler
            mehrshad Mehrshad Khansarian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes