Skip to content

mingw64 renegade.exe crashes very early #134

Description

@madebr

Backtrace:

(gdb) bt
#0  0x00007fffd29cf412 in ntdll!RtlIsZeroMemory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007fffd29d81d2 in ntdll!RtlpNtSetValueKey () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007fffd29d84ba in ntdll!RtlpNtSetValueKey () from C:\WINDOWS\SYSTEM32\ntdll.dll
#3  0x00007fffd29de141 in ntdll!RtlpNtSetValueKey () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x00007fffd28f5bf0 in ntdll!RtlGetCurrentServiceSessionId () from C:\WINDOWS\SYSTEM32\ntdll.dll
#5  0x00007fffd28f47b1 in ntdll!RtlFreeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#6  0x00007fffd1af9c9c in msvcrt!free () from C:\WINDOWS\System32\msvcrt.dll
#7  0x00007fff7e8f7dff in ?? () from C:\msys64\mingw64\bin\libstdc++-6.dll
#8  0x00007ff6826975c7 in std::filesystem::__cxx11::operator/ (__lhs=filesystem::path L"D:\\repos\\CnC_Renegade\\cmake-build-debug-mingw64" = {...}, __rhs=filesystem::path L"openw3d.conf") at C:/msys64/mingw64/include/c++/16.1.0/bits/fs_path.h:598
#9  0x00007ff6821fb710 in (anonymous namespace)::Get_Default_Config_File_Path () at D:/repos/CnC_Renegade/Code/wwlib/openw3d.cpp:176
#10 0x00007ff6821fbc39 in OpenW3D::Get_Config_File_Path () at D:/repos/CnC_Renegade/Code/wwlib/openw3d.cpp:258
#11 0x00007ff682186b12 in cUserOptions::Parse_Command_Line (argc=3, argv=0x6ee0a0) at D:/repos/CnC_Renegade/Code/Commando/useroptions.cpp:98
#12 0x00007ff68214706d in local_main (argc=3, argv=0x6ee0a0) at D:/repos/CnC_Renegade/Code/Commando/WINMAIN.CPP:202
#13 0x00007ff682146fe1 in WinMain () at D:/repos/CnC_Renegade/Code/Commando/winmain_compat.h:86
#14 0x00007ff6826f501a in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexewin.c:62
#15 0x00007ff6821110da in __tmainCRTStartup () at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:260
#16 0x00007ff682111436 in WinMainCRTStartup () at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:98
#17 0x00007fffd1c47374 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#18 0x00007fffd291cc91 in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#19 0x0000000000000000 in ?? ()

git 94a23da

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions