Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Application crashes and no clues to understand cause of the crash...



  • Our application crashes multiple times and showing following call stack:

    qt5core!QCoreApplication::notifyInternal2+0x88
    qt5core!QEventDispatcherWin32Private::sendTimerEvent+0xfc
    qt5core!QEventDispatcherWin32::processEvents+0xe54
    user32!UserCallWinProcCheckWow+0x1fc
    user32!DispatchMessageWorker+0x1a7
    qt5core!QEventDispatcherWin32::processEvents+0x536
    qt5core!QEventLoop::exec+0x1b3
    qt5core!QThread::exec+0x92
    qt5core!QThread::start+0x331
    kernel32!BaseThreadInitThunk+0x22
    ntdll!RtlUserThreadStart+0x34

    We have these kind of crashes many times, is there a way to identify cause of these issues?
    Also, is there any way to understand the Qt Signal - Slot call stack, so that we can reduce no of crashes in our application.

    Thanks,
    Hetal



  • @Hetal

    Have you rerun qmake and rebuilt of whole application?

    After checks above you need to make sure that you are compiling in debug mode and use the debugger. With the debugger you can set break points and see how far you can get without crash.


Log in to reply