Skip to content

Merge r316452 into 5.0 branch: Disable threadprivate data cleanup if runtime is terminating #34517

@hahnjo

Description

@hahnjo
Bugzilla Link 35169
Resolution FIXED
Resolved on Nov 14, 2017 11:19
Version unspecified
OS All
Blocks #33840
CC @AndreyChurbanov,@jpeyton52,@tstellar
Fixed by commit(s) r316452 r318176

Extended Description

The problem is due to the runtime's threadprivate cleanup code which tries to
access data that was already destroyed by one of the root threads.
__kmp_init_gtid is used as a checker here since it is set to false before actual
resource cleanup is done in __kmp_cleanup().

Metadata

Metadata

Labels

bugzillaIssues migrated from bugzillaopenmp

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions