[C++-sig] Re: Exception handling as thrown from BPL so

David Abrahams dave at boost-consulting.com
Sat Apr 3 20:54:59 CEST 2004


"Niall Douglas" <s_sourceforge at nedprod.com> writes:

> Related to my previous post, I am now finding that if I throw an 
> exception from within my python extension module, the client program 
> won't catch it. This has started happening since I implemented that 
> symbol versioning trick previously suggested.
>
> I'm guessing that the type info symbols are getting stripped and so 
> it's unable to match the exception type with the catch type. Am I 
> right in this? 

Very probably.

> It's very hard to prove as it's a 130Mb shared object 
> (this is *without* debug info) and it's horribly mangles my computer 
> when running in gdb.

Make a reduced test case then.


-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list