Skip to content

Access violation while running the CastXML executable with no arguments. #70

Open
@Jerem2360

Description

@Jerem2360

Hello,
After downloading the CastXML executable from the releases section of this repository, when I run it with no arguments I get an access violation following this output:

PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: castxml.exe
Exception Code: 0xC0000005
 #0 0x00007ffe2a0e5c25 std::locale::operator=(std::locale const&) (D:\Programs\x64\mingw64\bin\libstdc++-6.dll+0xf5c25)
 #1 0x00007ffe2a105d18 std::ios_base::_M_init() (D:\Programs\x64\mingw64\bin\libstdc++-6.dll+0x115d18)
 #2 0x00007ffe2a1076c1 std::basic_ios<char, std::char_traits<char>>::init(std::basic_streambuf<char, std::char_traits<char>>*) (D:\Programs\x64\mingw64\bin\libstdc++-6.dll+0x1176c1)
 #3 0x00007ff7c7fc4dbb tryBuildDir(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) (D:\Jerem\Dev\py\pycincluder\attempt1\tools\castxml.exe+0x14dbb)
 #4 0x00007ff7c7fc59f3 findResourceDir(char const*, std::ostream&) (D:\Jerem\Dev\py\pycincluder\attempt1\tools\castxml.exe+0x159f3)
 #5 0x00007ff7ccae3c82 main (D:\Jerem\Dev\py\pycincluder\attempt1\tools\castxml.exe+0x4b33c82)
 #6 0x00007ff7c7fb12ef __tmainCRTStartup (D:\Jerem\Dev\py\pycincluder\attempt1\tools\castxml.exe+0x12ef)
 #7 0x00007ff7c7fb1406 .l_start (D:\Jerem\Dev\py\pycincluder\attempt1\tools\castxml.exe+0x1406)
 #8 0x00007ffe9688e8d7 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e8d7)
 #9 0x00007ffe9761c5dc (C:\WINDOWS\SYSTEM32\ntdll.dll+0x9c5dc)

Does anyone know a workaround or fix that ideally is not generic windows fixing tips ?
I have already tried tools like sfc, dism and dskchk, without success.
Is it useful that I submit a bug report to the llvm repo as suggested ?

Note that I have not yet tried to run it on a fresh new windows VM.

OS: Windows 11 Family version 22H2 build 26100.4061
castxml.exe downloaded from https://github.com/CastXML/CastXMLSuperbuild/releases

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