RTS cannot be reinitialized reliably after hs_exit()
#2863 (closed) added the FFI spec violation to the docs, but as far as I can tell, there is and was no ticket to actually fix the problems, which seem to be:
- If the runtime is deinitialized by an
hs_exit()
matching the firsths_init()
, then it cannot be reinitialized reliably usinghs_init()
. - This condition is not detected, and leads to unpredictable behavior.
I'll add a link to this ticket to the user's guide; even if the ticket is ultimately closed as WONTFIX
, it will be good to have a persistent reference.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |