Deadlock in _dl_close join-ing threads accessing TLS (was Re: gimp won't launch)

Alexis Murzeau amubtdx at gmail.com
Tue Aug 7 23:59:11 BST 2018


severity 903514 important
thanks

> Reassigning to glibc with affects on openblas and gimp as this is caused
> by a deadlock inside glibc.

Done.

Lowering severity as this does not render any package unusable by
themselves, but only a combination of them (GIMP + OpenBLAS).

I think a workaround solution against GIMP OpenBLAS should be done as
I'm not sure a good solution will emerge in glibc given attempts done in
the past. The work to be done seems non trivial.

My though on possible solutions:
 * Add a breaks between GIMP and OpenBLAS
 * Disable TLS in OpenBLAS build (if possible, but this would cause a
performance loss for users that use OpenBLAS without gimp)
 * Add a delay in GIMP to not load then close libraries too fast (so
OpenBLAS threads are fully initialized when dl_close is called on it)

-- 
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC  2787 E7BD 1904 F480 937F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180808/4190aef4/attachment.sig>


More information about the debian-science-maintainers mailing list