Last active
May 16, 2025 19:49
-
-
Save m417z/b1c492e240dbcbf8c7f7e5ca6e3e600f to your computer and use it in GitHub Desktop.
DLL repro (must be loaded via import table) for issue https://github.com/ramensoftware/windhawk/issues/525: Windhawk preventing SideFX Houdini 20.5.x from Launching properly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
struct A { | |
A() { | |
MessageBoxW(nullptr, L"Hello from A!", L"Message", MB_OK | MB_ICONINFORMATION); | |
HANDLE event = CreateEventW(nullptr, TRUE, TRUE, nullptr); | |
while (true) { | |
DWORD waitResult = WaitForSingleObjectEx(event, 0, TRUE); | |
if (waitResult == WAIT_OBJECT_0) { | |
break; | |
} | |
WCHAR message[256]; | |
wsprintfW(message, L"WaitForSingleObject returned: 0x%X", waitResult); | |
MessageBoxW(nullptr, message, L"Message", MB_OK | MB_ICONINFORMATION); | |
} | |
} | |
}; | |
A a; | |
__declspec(dllexport) | |
int main() { | |
MessageBoxW(nullptr, L"Hello, World!", L"Message", MB_OK | MB_ICONINFORMATION); | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Child-SP RetAddr Call Site | |
00 00000000`043fe018 00007ffe`53a668ea ntdll!NtWaitForSingleObject+0x14 | |
01 00000000`043fe020 00007ffe`53a62b39 mswsock!SockWaitForSingleObject+0x15a | |
02 00000000`043fe0b0 00007ffe`55397f03 mswsock!WSPIoctl+0x10d9 | |
03 00000000`043fe340 00007ffe`55397441 ws2_32!SortIPAddrs+0x207 | |
04 00000000`043fe410 00007ffe`553a02d7 ws2_32!LookupAddressForName+0x1ad | |
05 00000000`043fe520 00007ffe`5539fdad ws2_32!GetAddrInfoW+0x357 | |
06 00000000`043fe730 00000000`1181141c ws2_32!getaddrinfo+0xbd | |
07 00000000`043fe7a0 00000000`1180ea70 libUT!UTresolveCanonicalHostname+0x7c | |
08 00000000`043fe820 00000000`119a2e34 libUT!UT_NetPacket::getHost+0xb0 | |
09 00000000`043fe890 00000000`119a32fa libUT!UT_SysResource::update+0x3a4 | |
0a 00000000`043fe8d0 00000000`2a20b704 libUT!UTgetMachineName+0x6a | |
0b 00000000`043fe900 00000000`2a19854b libIMG!IMG_Format::hostnameDefault+0x34 | |
0c 00000000`043fe950 00007ffe`546de716 libIMG+0x7854b | |
0d 00000000`043fed60 00000000`2a362aea ucrtbase!initterm+0x36 | |
0e 00000000`043fed90 00000000`2a362c60 libIMG!IMG_HosekSky::IMGsolarRadiance+0xd8b1a | |
0f 00000000`043fedc0 00007ffe`574f8830 libIMG!IMG_HosekSky::IMGsolarRadiance+0xd8c90 | |
10 00000000`043fee20 00007ffe`574f7bdc ntdll!LdrpCallInitRoutine+0xb0 | |
11 00000000`043ff100 00007ffe`574f6d1a ntdll!LdrpInitializeNode+0x19c | |
12 00000000`043ff210 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x6a | |
13 00000000`043ff250 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
14 00000000`043ff290 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
15 00000000`043ff2d0 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
16 00000000`043ff310 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
17 00000000`043ff350 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
18 00000000`043ff390 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
19 00000000`043ff3d0 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
1a 00000000`043ff410 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
1b 00000000`043ff450 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
1c 00000000`043ff490 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
1d 00000000`043ff4d0 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
1e 00000000`043ff510 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
1f 00000000`043ff550 00007ffe`574f6d46 ntdll!LdrpInitializeGraphRecurse+0x96 | |
20 00000000`043ff590 00007ffe`5756a349 ntdll!LdrpInitializeGraphRecurse+0x96 | |
21 00000000`043ff5d0 00007ffe`57568540 ntdll!LdrpInitializeProcess+0x1b0d | |
22 00000000`043ff9b0 00007ffe`575d98fb ntdll!LdrpInitialize+0x16c | |
23 00000000`043ffa30 00007ffe`575ab1ee ntdll!LdrpInitializeInternal+0xd7 | |
24 00000000`043ffa80 00000000`00000000 ntdll!LdrInitializeThunk+0xe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment