Re: [C++-sig] help finding solution to lack of exception handling with boost python on open solaris 64 bit

2010-12-02 Thread Ralf W. Grosse-Kunstleve
In the early days (~2002) we had trouble with EH on some Linux platforms, too. One workaround that helped for some things was to catch exceptions in the same .so where they were raised (e.g. boost::python::throw_error_already_set() ensures the exception is thrown in the libboost_python.so). Simi

Re: [C++-sig] help finding solution to lack of exception handling with boost python on open solaris 64 bit

2010-12-02 Thread Jim Bosch
On 12/02/2010 02:23 PM, Dane Springmeyer wrote: Hello, I recently recompiled my C++ app (mapnik.org, which uses boost python for python binding) with -m64 flags for 64 bit operation and this broke the boost python exception handling. Instead of C++ exceptions being propagated to python except

Re: [C++-sig] help finding solution to lack of exception handling with boost python on open solaris 64 bit

2010-12-02 Thread Charles Solar
This happens in my application as well, dont know if its a known issue for boost python or not.. I too would like to see a solution; I myself have not had anytime to look into it since exceptions are a rare thing in my app. I can confirm however that a similar problem occurs on Solaris Sparcv9 mach

[C++-sig] help finding solution to lack of exception handling with boost python on open solaris 64 bit

2010-12-02 Thread Dane Springmeyer
Hello, I recently recompiled my C++ app (mapnik.org, which uses boost python for python binding) with -m64 flags for 64 bit operation and this broke the boost python exception handling. Instead of C++ exceptions being propagated to python exceptions, I get segmentation faults (core dump). I h