Debugger error after Windows Update in LdrVerifyImageMatchesChecksum() of ntdll.dll



  • Hello everyone,
    Recently I get an error everytime I try to debug any Qt console application.
    In the Debugger log I get this:

    ~"0x77e10e15 in ntdll!LdrVerifyImageMatchesChecksum () from C:\Windows\SysWOW64\ntdll.dll\n"
    *stopped,frame={addr="0x77e10e15",func="ntdll!LdrVerifyImageMatchesChecksum",args=[],from="C:\Windows\SysWOW64\ntdll.dll"},thread-id="1",stopped-threads="all"
    IGNORING TERMINAL SIGTRAP

    125^running
    dNOTE: INFERIOR RUN OK
    sRunning.
    dState changed from InferiorRunRequested(10) to InferiorRunOk(11) [master]
    *running,thread-id="all"

    =library-loaded,id="C:\Windows\syswow64\profapi.dll",target-name="C:\Windows\syswow64\profapi.dll",host-name="C:\Windows\syswow64\profapi.dll",symbols-loaded="0",thread-group="i1"
    sLibrary C:\Windows\syswow64\profapi.dll loaded
    ~"\nProgram received signal "
    ~"SIGTRAP, Trace/breakpoint trap.\n"
    ~"[Switching to Thread 7232.0xe4c]\n"
    ~"0x77d8000d in ntdll!DbgBreakPoint () from C:\Windows\SysWOW64\ntdll.dll\n"
    *stopped,reason="signal-received",signal-name="SIGTRAP",signal-meaning="Trace/breakpoint trap",frame={addr="0x77d8000d",func="ntdll!DbgBreakPoint",args=[],from="C:\Windows\SysWOW64\ntdll.dll"},thread-id="2",stopped-threads="all"
    dNOTE: INFERIOR SPONTANEOUS STOP
    sStopped.
    dState changed from InferiorRunOk(11) to InferiorStopOk(14) [master]
    <126importPlainDumpers off
    dSIGTRAP CONSIDERED HARMLESS. CONTINUING.
    sStopped: "signal-received".
    =thread-selected,id="2"
    sThread 2 selected

    It seem's that the problem is in the library ntdll.dll but I don't know how to solve it.

    If there are no breakpoints the app crashes, while if there is at least one breakpoint the app takes many seconds to stop (because it's stucked after the IGNORING TERMINAL SIGTRAP). It happens with all the projects I have that use the Qt console, even with this simple main:

    #include <QCoreApplication>
    
    int main(int argc, char *argv[])
    {
        QCoreApplication a(argc, argv);
        return a.exec();
    }
    

    with this .pro file

    QT += core
    QT -= gui
    
    CONFIG += c++11
    
    TARGET = Prova
    CONFIG += console
    CONFIG -= app_bundle
    
    TEMPLATE = app
    
    SOURCES += main.cpp
    

    It started happening two weeks ago after a Windows update and the ntdll.dll file has been modified the same day of the update. I checked if I'm the only one having this issue but it happens to my colleagues too.

    My current configuration is Windows 7 (64 bit), Qt 5.7.0, MinGW 5.3.0 (32 bit) and GDB 7.10.1 however it was the same with older Qt and MinGW versions.

    Today I updated Windows again but the problem is still present.

    Any help would be appreciated, thanks.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.