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. QT5 GUI application is crashing in release mode
Forum Updated to NodeBB v4.3 + New Features

QT5 GUI application is crashing in release mode

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.9k 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.
  • R Offline
    R Offline
    Raveendra
    wrote on 30 Jun 2013, 07:08 last edited by
    #1

    I've built a QT5 GUI application using Visual studio 2012 and Qt 5.1rc SDK with help of qt-visual studio addon.
    It is building fine with both release and debug mode.

    When i tried to run the debug mode binary it runs fine.
    But when i'm trying to run the release mode binary , its crashing .
    When i tried to debug the application call stack show something similar to this .

    Qt5WebKit.dll()!56e3c23()
    Qt5WebKit.dll()!56c3456()
    Qt5WebKit.dll()!56d34d4()
    ......
    .....
    ....
    .....
    msvcr100.dll()!malloc(unsigned int size)Line 91*

    Why I'm seeing this crash only for release mode binary ?
    What would have made this crash ? How to troubleshoot this problem ?

    Plz help me out

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 1 Jul 2013, 06:38 last edited by
      #2

      Check whether you are not going over array limits (past it's size), or trying to access a deleted object. Debug mode is a bit more relaxed about those things and can allow you to do some things that are forbidden in release.

      (Z(:^

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Raveendra
        wrote on 1 Jul 2013, 08:59 last edited by
        #3

        Further investigation i found Qwebview->SetHTML() function is causing the crash in my app.
        i also found the bug in the beelow link
        https://bugs.webkit.org/show_bug.cgi?id=90008
        is this issue is fixed ?

        1 Reply Last reply
        0

        1/3

        30 Jun 2013, 07:08

        • Login

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