Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qapplication hang
Qt 6.12 LTS is out! See what's new in the release blog

qapplication hang

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 641 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.
  • Y Offline
    Y Offline
    yanghang
    wrote on last edited by
    #1

    i develop a qt application, but it hang at one computer.

    int main(int argc, char *argv[])
    {
        QApplication a(argc, argv);
        teststucks w;
        w.show();
        return a.exec();
    }
    
    

    i create a dump and debug, the stack is like this:
    ![alt text](9765be8c-42b0-48d7-906f-3ccb4bee18c8-Dingtalk_20220920144413.jpg image url)

    JonBJ 1 Reply Last reply
    0
    • Y yanghang

      i develop a qt application, but it hang at one computer.

      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          teststucks w;
          w.show();
          return a.exec();
      }
      
      

      i create a dump and debug, the stack is like this:
      ![alt text](9765be8c-42b0-48d7-906f-3ccb4bee18c8-Dingtalk_20220920144413.jpg image url)

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @yanghang
      I think you have some unknown "nasty behaviour" on that computer! While it ought not "hang", I would be concerned that the stack trace shows something is trying to do a QMessageLogger::warning(). It would be nice to see what that message is. I don't know whether if you installed your own qInstallMessageHandler() first thing that would get called before the QMessageLogger::warning() causes hang.

      1 Reply Last reply
      0
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #3

        https://forum.qt.io/topic/125753/faulting-module-path-c-windows-system32-ntdll-dll/2
        https://bugreports.qt.io/browse/QTBUG-67969
        https://stackoverflow.com/questions/25231873/release-does-not-run-this-application-failed-to-start
        it could be ntdll.dll related bug.

        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