Opened 8 years ago

Last modified 22 months ago

#3373 new bug

GHC API is not thread safe

Reported by: jcpetruzza Owned by:
Priority: low Milestone:
Component: GHC API Version:
Keywords: Cc: byorgey@…, fryguybob@…, me@…
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

There are some items of global state (the NameCache and the PackageInterfaceTable) that should be protected. One can workaround this by using a mutex and only invoking GHC API operations in one thread at a time.

Change History (13)

comment:1 Changed 8 years ago by igloo

difficulty: Unknown
Milestone: 6.14.1

comment:2 Changed 7 years ago by igloo

Milestone: 7.0.17.0.2

comment:3 Changed 7 years ago by igloo

Milestone: 7.0.27.2.1

comment:4 Changed 6 years ago by igloo

Milestone: 7.2.17.4.1

comment:5 Changed 6 years ago by igloo

Milestone: 7.4.17.6.1
Priority: normallow

comment:6 Changed 5 years ago by igloo

Milestone: 7.6.17.6.2

comment:7 Changed 4 years ago by byorgey

Cc: byorgey@… added
Milestone: 7.6.27.10.1
Type of failure: None/Unknown

How hard would this be to fix? Any estimates of the amount of work involved?

comment:8 Changed 4 years ago by fryguybob

Cc: fryguybob@… added

comment:9 Changed 4 years ago by lelf

Cc: me@… added

comment:10 Changed 3 years ago by thomie

Type: feature requestbug

comment:11 Changed 3 years ago by thoughtpolice

Milestone: 7.10.17.12.1

Moving to 7.12.1 milestone; if you feel this is an error and should be addressed sooner, please move it back to the 7.10.1 milestone.

comment:12 Changed 2 years ago by thoughtpolice

Milestone: 7.12.18.0.1

Milestone renamed

comment:13 Changed 22 months ago by thomie

Milestone: 8.0.1
Note: See TracTickets for help on using tickets.