[Webkit-unassigned] [Bug 243963] [libpas] FreeBSD displays a lot of warning when thread exits

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 15 17:08:00 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243963

--- Comment #1 from Basuke Suzuki <Basuke.Suzuki at sony.com> ---
The reason might be here:

https://github.com/WebKit/WebKit/blob/main/Source/bmalloc/libpas/src/libpas/pas_thread_local_cache.c#L137-L145

It calls thread_setspecific from destructor to mark the thread has been exited already. Then FreeBSD's _thread_cleanupspecific reports error here:

https://github.com/freebsd/freebsd-src/blob/373ffc62c158e52cde86a5b934ab4a51307f9f2e/lib/libthr/thread/thr_spec.c#L163-L167

Are there any other way to set the flag to tell the thread is exiting ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220816/2aacc1cf/attachment.htm>


More information about the webkit-unassigned mailing list