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. QT throws exception (execution cannot be continued) (first chance)
Forum Updated to NodeBB v4.3 + New Features

QT throws exception (execution cannot be continued) (first chance)

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 9.0k 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.
  • D Offline
    D Offline
    dolevo
    wrote on last edited by
    #1

    I simplified my code which you can find "here...":https://www.dropbox.com/s/mfke0j9jkammdm7/minimal.zip

    It's just a very simple code. It loads google.com using QWebView. However, this code throws the following exception when loading the page in debug mode:

    @:error: Exception at 0x77c91d82, code: 0xc0000138: , flags=0x1 (execution cannot be continued) (first chance)@

    When closing the form, it throws another one:

    @:error: Exception at 0x754ec42d, code: 0xd: , flags=0x1 (execution cannot be continued) (first chance)@

    Could anyone tell me why it throws these exceptions? There is no such thing happens without QWebView. This happens only in debug mode.

    My config is:
    "configuration":https://www.dropbox.com/s/hvq6toxhj1e7ewn/qtconfig.png

    1 Reply Last reply
    1
    • M Offline
      M Offline
      msue
      wrote on last edited by
      #2

      You usually have Ui::MainWindow ui; as a member variable having #include "ui_mainwindow.h" in MainWindow header file, not as a pointer Ui::MainWindow *ui; So there usually is no new and no delete.
      Maybe the debug problem during close is a timing issue that does not happen during release as release code is faster.

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

        I think code: 0xc0000138 means something went wrong while loading DLLs. It maybe incorrect PATH or wrong DLL version, like 64 bit on 32bit OS or something else. What OS do you use?
        Try to run dependency walker on your app, maybe it will show something.

        On Linux your code runs without any problems.

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