Problem with atexit and _dl_fini

Nat! nat@mulle-kybernetik.com
Wed May 22 15:29:00 GMT 2019


Did you take a look at the screenshot in the tweet 
(https://twitter.com/mulle_nat/status/1129131042001043456/photo/1) I 
linked ? That's the best evidence I can provide, that its really 
happening. I tried to reproduce it pretty much the same as you did, but 
wasn't successful. It's not easy...

On a hunch I would say the problem will turn out to have something to do 
with liba having shared library dependencies and libb having shared 
library dependecies and some are shared by both and some not and dl-fini 
sorts things in the wrong order.

If I get my release stuff down and find some spare time, I'll attempt to 
reproduce it again.

Ciao
    Nat!




More information about the Libc-help mailing list