-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Task local storage leaks memory #6039
Copy link
Copy link
Closed
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
Metadata
Metadata
Assignees
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
Type
Fields
Give feedbackNo fields configured for issues without a type.
The recent conversion from
reinterpret_casttotransmuteintroduced a memory leak to TLS. It does not reveal itself though because the box annihilator happily destroys the leaked boxes. In my branch, newsched has TLS but does not have the annihilator, so I'm seeing leaks.Took all afternoon to figure that out. I'll have a fix soon.