Re: standards/175453: Catching C++ std::bad_cast doesn't work in FreeBSD 9.1

2013-01-21 Thread David Chisnall
On 21 Jan 2013, at 04:49, Konstantin Belousov wrote: > Yes, quite possible. AFAIR, the 'catch' code compares the exception classes > by the shared object ownership. It might get confused due to filter providing > some symbols. > > But I did not investigated the cause for real. I'm investigating

Re: standards/175453: Catching C++ std::bad_cast doesn't work in FreeBSD 9.1

2013-01-21 Thread David Chisnall
On 21 Jan 2013, at 04:49, Konstantin Belousov wrote: > Yes, quite possible. AFAIR, the 'catch' code compares the exception classes > by the shared object ownership. It might get confused due to filter providing > some symbols. > > But I did not investigated the cause for real. The issue appears

Re: standards/175453: Catching C++ std::bad_cast doesn't work in FreeBSD 9.1

2013-01-21 Thread Konstantin Belousov
On Mon, Jan 21, 2013 at 04:12:00PM +, David Chisnall wrote: > On 21 Jan 2013, at 04:49, Konstantin Belousov wrote: > > > Yes, quite possible. AFAIR, the 'catch' code compares the exception classes > > by the shared object ownership. It might get confused due to filter > > providing > > some s

Re: standards/175453: Catching C++ std::bad_cast doesn't work in FreeBSD 9.1

2013-01-21 Thread David Chisnall
On 21 Jan 2013, at 16:54, Konstantin Belousov wrote: > On Mon, Jan 21, 2013 at 04:12:00PM +, David Chisnall wrote: >> On 21 Jan 2013, at 04:49, Konstantin Belousov wrote: >> >>> Yes, quite possible. AFAIR, the 'catch' code compares the exception classes >>> by the shared object ownership. It

Re: standards/175453: Catching C++ std::bad_cast doesn't work in FreeBSD 9.1

2013-01-21 Thread Konstantin Belousov
On Mon, Jan 21, 2013 at 05:09:25PM +, David Chisnall wrote: > On 21 Jan 2013, at 16:54, Konstantin Belousov wrote: > > > On Mon, Jan 21, 2013 at 04:12:00PM +, David Chisnall wrote: > >> On 21 Jan 2013, at 04:49, Konstantin Belousov wrote: > >> > >>> Yes, quite possible. AFAIR, the 'catch'

Re: standards/175453: Catching C++ std::bad_cast doesn't work in FreeBSD 9.1

2013-01-21 Thread David Chisnall
On 21 Jan 2013, at 17:24, Konstantin Belousov wrote: > So can you provide self-contained test.tgz with Makefile and neccessary > .c files which demonstrate exactly the behaviour you see ? I don't have one, this is the behaviour that I see from C++ programs linked to libstdc++. David signatur

Re: standards/175453: Catching C++ std::bad_cast doesn't work in FreeBSD 9.1

2013-01-21 Thread Konstantin Belousov
On Mon, Jan 21, 2013 at 05:26:29PM +, David Chisnall wrote: > On 21 Jan 2013, at 17:24, Konstantin Belousov wrote: > > > So can you provide self-contained test.tgz with Makefile and neccessary > > .c files which demonstrate exactly the behaviour you see ? > > I don't have one, this is the beh