Skip to content

Task local storage leaks memory #6039

Closed
@brson

Description

@brson

The recent conversion from reinterpret_cast to transmute introduced 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.

Metadata

Metadata

Assignees

Labels

A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions