[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: