Date: Mon, 31 Dec 2007 15:16:46 +0100 From: "Markus Hoenicka" <markus.hoenicka@mhoenicka.de> To: FreeBSD-questions@freebsd.org Subject: Re: dlopen(), atexit() on FreeBSD Message-ID: <18296.63950.30082.948425@yeti.mininet> In-Reply-To: <20071231104614.GA1761@kobe.laptop> References: <18295.55864.740395.631672@yeti.mininet> <20071231104614.GA1761@kobe.laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas writes: > The __cxa_finalize() function is not called by atexit(), but by exit() I see. > Since the program is going to exit and have all its dlopened shared > objects be unmapped, it's probably ok to skip the dlclose() step in > this example. > Just for the record: I've tried disabling the dlclose() call in our code. It both prevents the segfaults and does not seem to inflict any harm. I'll use the code that way for the time being, any real solution for this problem notwithstanding. > I think this is probably something that the freebsd-hackers list will > be interested in. Can you post a description of the problem there too? > I'll do. I haven't read up the full history of this problem, but apparently other programs and libraries are affected too, so it is probably fair to seek assistance. regards, Markus -- Markus Hoenicka markus.hoenicka@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18296.63950.30082.948425>