[C++-sig] boost::python and exceptions, seg fault
Jacques A. Vidrine
nectar at celabo.org
Wed Jun 4 21:17:51 CEST 2003
On Wed, Jun 04, 2003 at 12:04:10PM -0700, Ralf W. Grosse-Kunstleve wrote:
> --- "Jacques A. Vidrine" <nectar at celabo.org> wrote:
> > % python
> > Python 2.2.2 (#1, Feb 11 2003, 21:28:43)
> > [GCC 3.2.2 [FreeBSD] 20030205 (release)] on freebsd5
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import example
> > >>> example.example()
> > zsh: 15134 abort (core dumped) python
> Try this:
> import sys
> import example
> Please let me know if this works and I will explain.
> If it doesn't work it could be that the bit flags are
> different under your OS (the above work for Linux).
> In that case try "man dlopen" for more information
> and look at /usr/include/dlfcn.h (and possibly the files
> that are included from there) to find out what the bit flags
> are for RTLD_GLOBAL and RTLD_NOW.
Thanks for the suggestion, but no joy. (0x102 is RTLD_GLOBAL|RTLD_NOW
on my platform also, BTW.)
Jacques Vidrine . NTT/Verio SME . FreeBSD UNIX . Heimdal
nectar at celabo.org . jvidrine at verio.net . nectar at freebsd.org . nectar at kth.se
More information about the Cplusplus-sig