Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Strange first chance exception in debug MSVC 2017
Forum Updated to NodeBB v4.3 + New Features

Strange first chance exception in debug MSVC 2017

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 922 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.
  • F Offline
    F Offline
    Flone
    wrote on 7 Mar 2019, 13:05 last edited by Flone 3 Jul 2019, 13:05
    #1

    Hello!
    I'm using Qt Creator 4.8.2 open-source (Qt version 5.11.3) with MSVC 2017 compiler and getting a first chance exception when the application starts in debug mode. When I start the application in release mode it works fine.

    The inferior stopped because it triggered an exception.
    Stopped in thread 0 by: Exception at 0x7ffa1efde78a, code: 0xc0000008: , flags=0x0 (first chance).

    I configured Qt according to the answer from here but that does not help.

    I get that exception even if I create default Qt Widgets Application.

    K 1 Reply Last reply 7 Mar 2019, 13:39
    0
    • F Flone
      7 Mar 2019, 13:05

      Hello!
      I'm using Qt Creator 4.8.2 open-source (Qt version 5.11.3) with MSVC 2017 compiler and getting a first chance exception when the application starts in debug mode. When I start the application in release mode it works fine.

      The inferior stopped because it triggered an exception.
      Stopped in thread 0 by: Exception at 0x7ffa1efde78a, code: 0xc0000008: , flags=0x0 (first chance).

      I configured Qt according to the answer from here but that does not help.

      I get that exception even if I create default Qt Widgets Application.

      K Offline
      K Offline
      KroMignon
      wrote on 7 Mar 2019, 13:39 last edited by
      #2

      @Flone hi Flone, check your debugger settings, should be something like this:
      0_1551965961079_583b0282-b82a-4e80-bf79-2460de05cd12-image.png

      It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

      F 1 Reply Last reply 7 Mar 2019, 13:52
      0
      • K KroMignon
        7 Mar 2019, 13:39

        @Flone hi Flone, check your debugger settings, should be something like this:
        0_1551965961079_583b0282-b82a-4e80-bf79-2460de05cd12-image.png

        F Offline
        F Offline
        Flone
        wrote on 7 Mar 2019, 13:52 last edited by
        #3

        @KroMignon yep.
        0_1551966758137_6b88bf74-cf11-4bc4-9a6e-b9551d3af024-image.png

        K 1 Reply Last reply 7 Mar 2019, 15:04
        0
        • F Flone
          7 Mar 2019, 13:52

          @KroMignon yep.
          0_1551966758137_6b88bf74-cf11-4bc4-9a6e-b9551d3af024-image.png

          K Offline
          K Offline
          KroMignon
          wrote on 7 Mar 2019, 15:04 last edited by
          #4

          @Flone You can try to check Ignore first chance access violations, but I don't known if it really helps.

          I've used Qt Creator 4.8.2 with Qt 5.12.0 and MSVC 2015 without troubles.
          Can't figure out why you have such troubles.

          It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

          F 2 Replies Last reply 7 Mar 2019, 15:10
          2
          • K KroMignon
            7 Mar 2019, 15:04

            @Flone You can try to check Ignore first chance access violations, but I don't known if it really helps.

            I've used Qt Creator 4.8.2 with Qt 5.12.0 and MSVC 2015 without troubles.
            Can't figure out why you have such troubles.

            F Offline
            F Offline
            Flone
            wrote on 7 Mar 2019, 15:10 last edited by
            #5

            @KroMignon hm, I will update Qt to 5.12.0 and see if it helps and then maybe change MSVC to 2015. Thanks for the info! I will write about the result later.

            1 Reply Last reply
            0
            • K KroMignon
              7 Mar 2019, 15:04

              @Flone You can try to check Ignore first chance access violations, but I don't known if it really helps.

              I've used Qt Creator 4.8.2 with Qt 5.12.0 and MSVC 2015 without troubles.
              Can't figure out why you have such troubles.

              F Offline
              F Offline
              Flone
              wrote on 7 Mar 2019, 15:44 last edited by
              #6

              @KroMignon changed Qt to 5.12.0 and it helped!

              1 Reply Last reply
              0

              1/6

              7 Mar 2019, 13:05

              • Login

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