gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] [Help-gnucap] Compiling for FreeBSD


From: al davis
Subject: Re: [Gnucap-devel] [Help-gnucap] Compiling for FreeBSD
Date: Wed, 5 Apr 2017 02:35:12 -0400

On Tue, 4 Apr 2017 22:59:15 -0600
alan somers <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]