From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107208 invoked by alias); 22 May 2019 15:29:33 -0000 Mailing-List: contact libc-help-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: libc-help-owner@sourceware.org Received: (qmail 107198 invoked by uid 89); 22 May 2019 15:29:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=twitter.com, UD:twitter.com, twittercom, evidence X-HELO: muller.mulle-kybernetik.com Received: from muller.mulle-kybernetik.com (HELO muller.mulle-kybernetik.com) (78.46.34.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 May 2019 15:29:29 +0000 Received: (qmail 40828 invoked from network); 22 May 2019 17:29:26 +0200 Received: from unknown (HELO walitza.local) (nat@78.46.34.175) by mail.mulle-kybernetik.com with ESMTPS (ECDHE-RSA-AES256-SHA encrypted); 22 May 2019 17:29:26 +0200 Message-ID: <5CE56AD3.1070505@mulle-kybernetik.com> Date: Wed, 22 May 2019 15:29:00 -0000 From: "Nat!" User-Agent: Postbox 4.0.8 (Macintosh/20151105) MIME-Version: 1.0 To: Adhemerval Zanella CC: libc-help@sourceware.org Subject: Re: Problem with atexit and _dl_fini References: <87blzypg5j.fsf@mid.deneb.enyo.de> <0a7c2435-43f8-8dfb-83ab-22ceff7ca51c@mulle-kybernetik.com> <115bdae5-bcd3-0e41-8325-784a0d702259@linaro.org> <5CE522F8.9090505@mulle-kybernetik.com> <3976645d-167d-fb9a-d1bb-69789e5d13b1@linaro.org> In-Reply-To: <3976645d-167d-fb9a-d1bb-69789e5d13b1@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2019-05/txt/msg00042.txt.bz2 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!