[haiku-bugs] Re: [Haiku] #18182: Crash on thread exit if image with TLS object with destructor is unloaded

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 01 Jan 2023 02:10:35 -0000

#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
Resolution:                         |   Keywords:
Blocked By:                         |   Blocking:
  Platform:  All                    |
------------------------------------+----------------------------
Comment (by jessicah):

 I wonder if adding an implementation of `__cxa_thread_exit` that can call
 into `runtime_loader` directly, would be the right way to do this. Will
 require updating buildtools once an implementation has been added.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18182#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: