-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DirectX-Headers-Check-Feature-Support-Test.exe and DirectX-Headers-Test.exe - Segmentation fault #100
Comments
In test.cpp, I was able to trace the segfault to this line:
In feature_check_test.cpp, I was able to trace the segfault to this line:
Beyond this, I can't help and I know I'm missing something. |
Can you run them from outside of the MSYS bash? What version of Win10 are you running? Seems like something is interfering with DXCore working properly. |
I can run DirectX-Headers-Test.exe with cmd after compiling in "mingw64" and I get to this line:
I did have to put quite a lot of printf statements in your code to track this down. I compiled using the "mingw64" and "clang64" targets I am running on "Microsoft Windows 11 Pro" Version 10.0.22621 Build 22621 . Perhaps, it might help if I post the CMakeCache.txt file generated by CMake.
|
After using CMake with the current git code, I get a "Segmentation fault" from the test programs, DirectX-Headers-Check-Feature-Support-Test.exe and DirectX-Headers-Test.exe . I am running these programs from MSYS's bash shell in Windows 11. The compiler is "gcc.exe (Rev6, Built by MSYS2 project) 13.1.0" but I have also seen this if I use " Clang 16.0.4" with the target, "x86_64-w64-windows-gnu". My video card is as follows:
The funny thing is that the googletest program, Feature-Support-Test.exe, runs without a problem.
The text was updated successfully, but these errors were encountered: