Re: [C++-sig] Segmentation Fault with Boost.Python and Inheritance

2012-05-18 Thread Jonas Wielicki
On 17/05/12 23:42, Gabe Rives-Corbett wrote: > I'm getting a seg fault when trying to call a virtual method on a base class > from python. I had a similar problem a few days ago. Which g++ version are you using? I had problems with 4.7.0 (redhat) while 4.6.3 (redhat) was working fine. -- Jonas _

Re: [C++-sig] Segmentation Fault with Boost.Python and Inheritance

2012-05-18 Thread Niall Douglas
So it was a bug in GCC after all. Useful to know. Niall On 18 May 2012 at 10:41, Jonas Wielicki wrote: > On 17/05/12 23:42, Gabe Rives-Corbett wrote: > > I'm getting a seg fault when trying to call a virtual method on a base > > class from python. > I had a similar problem a few days ago. Whic

Re: [C++-sig] Segmentation Fault with Boost.Python and Inheritance

2012-05-18 Thread Jonas Wielicki
On 18.05.2012 19:47, Niall Douglas wrote: > So it was a bug in GCC after all. Useful to know. Sorry that I forgot to mention. I was pretty sure it was the GCC after I tried with two different Boost versions and the very same code was running fine on gcc 4.6.3 platforms. It is not 100% bulletproof,

Re: [C++-sig] Segmentation Fault with Boost.Python and Inheritance

2012-05-18 Thread Niall Douglas
It's especially useful to know because this list can expect the same problem to be reported as a bug in BPL repeatedly from now on :) Did you submit the bug to GCC's bugzilla, and if you did do you have a link? If you didn't, submitting it and having it rejected is worth doing just so we can l

Re: [C++-sig] Segmentation Fault with Boost.Python and Inheritance

2012-05-18 Thread Gabe Rives-Corbett
Yes I'm using GCC 4.7 on OS X. Is there any possible workaround to use inheritance with GCC 4.7? I'm currently using c++11 threads which aren't supported on GCC 4.6 on OS X. -- Gabe Rives-Corbett Cell: (805) 570-8395 On Friday, May 18, 2012 at 6:00 AM, cplusplus-sig-requ...@python.org wro