Opened 21 months ago

Last modified 7 weeks ago

#13693 new bug

RTS cannot be reinitialized reliably after hs_exit()

Reported by: dfeuer Owned by:
Priority: normal Milestone: 8.10.1
Component: Runtime System Version: 6.10.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

#2863 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().
  1. 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.

Change History (3)

comment:1 Changed 13 months ago by bgamari

Milestone: 8.4.18.6.1

This ticket won't be resolved in 8.4; remilestoning for 8.6. Do holler if you are affected by this or would otherwise like to work on it.

comment:2 Changed 8 months ago by bgamari

Milestone: 8.6.18.8.1

These will not be addressed in GHC 8.6.

comment:3 Changed 7 weeks ago by osa1

Milestone: 8.8.18.10.1

Bumping milestones of low-priority tickets.

Note: See TracTickets for help on using tickets.