Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt scaffold project SIGSEGV debugging it
Qt 6.12 LTS is out! See what's new in the release blog

Qt scaffold project SIGSEGV debugging it

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 339 Views 1 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.
  • A Offline
    A Offline
    Al79
    wrote on last edited by
    #1

    Hi all,

    I'm using a Qt Creator 20.0.1, with Qt 6.11.2 MinGW 64-bit on Windows 11. Creating a new project following these steps: New Project -> Application (Qt) - > Qt Widgets Application -> Name: test -> Build system: CMake -> Details (no edit) -> Translation file (no edit) -> Kits (no edit) -> Summary: Finish.

    It creates a project that runs smoothly, but debugging causes a SIGSEGV. I didn't add any line of code on purpose, to make it reproducible:

    84f4d057-9a28-499d-809b-bc186cd67689-image.png

    4986ba60-ea4e-486a-8958-c70f652c4c22-image.png

    Does this happens to someone else? and how can it be fixed?
    Thanks in advance for your time

    1 Reply Last reply
    0
    • Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote last edited by
      #2

      Can you add some debugging at the beginning of int main(int argc, char *argv[]), just to make sure your executable is actually being reached?
      To me it looks like a MinGW startup crash, i.e. a broken MinGW installation.
      You could try MSVC as an alternative.

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Al79
        wrote last edited by Al79
        #3

        Hi Alex,

        thanks for your reply.

        I confirm that with MSVC debugger it works:

        image.png

        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
        • Unsolved