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

Can't run default Qt Quick Application StackView Template: “The inferior stopped because it triggered an exception”

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.10.1
    • Quick: Controls 2
    • None
    • Win10 1709(16299.248)

      Qt 5.10.1

      Qt Creator 4.5.1 with CDB debugger

      MSVC 2017 64bit from VS 2017 community

      Windows SDK 10.0.16299.91 (for CDB)

    Description

      I used default template "Qt Quick application with stackview" to start a new project, didn't make any modification, and could build it successfully, but couldn't debug it, the error was:

      "The inferior stopped because it triggered an exception. Stopped in thread 14 by: Exception at 0x7fff93dc7cac, code: 0xc0000005: read access violation at: 0x0, flags=0.0 (first chance)."

      If I left it there for around 30s then Qt Creator would totally crash. I also tried to directly build in release mode then the application would crash.

      If I commented out the the line specifying "initialItem" in main.qml then the it can run normally. I also tried swipeview, and had to comment out both "Swipeview" section and "footer" section to make it work. Scroll template worked fine.

       

      Edit: 

      Just found out it's related to QTBUG-64697, My computer has Intel i5-6300HQ and HD Graphics 530. I reinstalled Qt with MinGW 5.3 32bit and UWP 64bit (MSVC2017) from package, both works, while UWP showed:

      "qt.winrtrunner.app: Could not enable JIT, fallback to interpreter mode. Consider setting the code-generation capability

      qt.winrtrunner.app: JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform."

      and some animations are missing. MinGW works fine.

       

       

      Attachments

        1. backtrace.txt
          14 kB
          Xuan Sun

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              epitapher Xuan Sun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes