Re: [Help-gnucap] Compiling for FreeBSD

al davis <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel,gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
On Tue, 4 Apr 2017 22:59:15 -0600
alan somers <[email protected]> wrote:

> Yep, that diff fixes the build with the default link order.

Thanks .. now I need to think about how to really fix it.

It has to do with the order that destructors are run in ..   It's the
reverse of the order of constructors, by definition.

So the reason for the crash is probably that during exit, it ran the
destructor, then attempted to use the object that has already been
destroyed.

It's still suspicious because I don't know what std::map does in cases
like this.

It is tempting to just do that, but it leaves a time bomb.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.