Re: [C++-sig] Memory corruption in exception translation on OS X 10.7

2011-10-27 Thread Niall Douglas
OS X 10.6 and later have a very aggressive memory allocator in them - it is superbly quick, but it's still quite young code. If your BPL example runs under valgrind on Linux fine - and I would suspect that it does - it'll be a bug in either OS X or Apple's port of GCC to OS X (which would hardl

[C++-sig] Is there any class member method number limit for boost.python?

2011-10-27 Thread Grant Tang
Hi, I have a class wrapped to Python which has 334 member .def(). After I added one more method, i.e. .def(), it shows segfault when I import this class it in Python. Strangely, this only happens on 64 bit CentOS 4.8 with gcc 3.4.6. It works fine with the 335th member method on 32 bit CentOS 4