#18182: Crash on thread exit if image with TLS object with destructor is
unloaded
-----------------------------------+-----------------------------
Reporter: X512 | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/runtime_loader | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Platform: All
-----------------------------------+-----------------------------
This is hrev56630.
Steps to reproduce:
1. Dynamically load image that creates TLS object with destructor.
2. Unload image.
3. Exit thread. TLS object destructor from unloaded image will be called
and cause crash.
Reproduce code attached.
--
Ticket URL: <https://dev.haiku-os.org/ticket/18182>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.