Re: [PATCH] RFC: run pthread TSD destructors before resetting app runtime

2016-08-28 Thread Justin Cinkelj
It does help, the crash disappeared. BR Justin On 08/28/2016 02:31 PM, Nadav Har'El wrote: Hi Justin, I hate this patch, but can you please check if it fixes your crash-during-exit problem that you reported yesterday? -- Nadav Har'El n...@scylladb.com On Sun, Aug

Re: [PATCH] RFC: run pthread TSD destructors before resetting app runtime

2016-08-28 Thread Nadav Har'El
Hi Justin, I hate this patch, but can you please check if it fixes your crash-during-exit problem that you reported yesterday? -- Nadav Har'El n...@scylladb.com On Sun, Aug 28, 2016 at 3:29 PM, Nadav Har'El wrote: > The change to osv::run() (and friends) to reuse the calling thread rather > th

[PATCH] RFC: run pthread TSD destructors before resetting app runtime

2016-08-28 Thread Nadav Har'El
The change to osv::run() (and friends) to reuse the calling thread rather than start a new one to run a new shared-object introduced a new problem: The new shared object may use pthread_key_create() to add destructors to run when closing threads. There is (currently) a global list of these destruc