Win32 SEH unwinding should print segfaults to stderr, not stdout
Looking at ghc/rts/win32/veh_excn.c we can see that on segfaults, e.g. null pointer access, GHC calls:
fprintf(stdout, "Access violation in generated code"
Given these are segfaults, it seems that stderr would be a more appropriate stream to use.
Trac metadata
Trac field | Value |
---|---|
Version | 8.2.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |