dlopen(), atexit() crash on FreeBSD (testcase included)
Markus Hoenicka
markus.hoenicka at mhoenicka.de
Mon Dec 31 15:00:13 PST 2007
John Baldwin writes:
> need this. If you used a regular old static C++ singleton on 6.x instead of
> trying to be cute and call atexit() directly you would be fine. I've no idea
> if Linux treats atexit() special.
>
Just to make it clear: it is not me trying to be cute but the Firebird
folks. I'm just trying to use their client library in a dlopen()ed
module, and I was investigating whether something can be done from the
FreeBSD end. I've also forwarded Alexander's reply to the Firebird
folks for consideration.
regards,
Markus
--
Markus Hoenicka
markus.hoenicka at cats.de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
More information about the freebsd-hackers
mailing list