Skip to content

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:

  1. If the runtime is deinitialized by an hs_exit() matching the first hs_init(), then it cannot be reinitialized reliably using hs_init().
  2. 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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information