-
Notifications
You must be signed in to change notification settings - Fork 47
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
create_xml_reporter() crashes on MSYS platform #309
Comments
To be more specific, it crashes while running the test, so within the |
I can't reproduce this under MSYS2/NT, but the example does crash under MSYS2/MinGW (both 32 and 64). Which one were you running? We do not have an official list of supported platforms it seems, but I know I at some point struggled with the MSYS2:s and could not figure out how to make I'm not familiar enough with the MinGW environment to understand why |
The bug originates at the
tmpfile()
function, which returnsNULL
.cgreen/src/xml_reporter.c
Line 176 in 5cd17bd
The result isn't checked, and first usage causes segmentation fault.
I'm doing a standard build within a MSYS2 environment.
Minimal example which invokes this
Note that crashes under MSYS silently exit the program with exit code 0. This also happens under debug (actually, it also terminates gdb).
Debugging the application under mingw gdb properly catches the SIGSEGV signal.
The text was updated successfully, but these errors were encountered: