Linking against python library causes core dumps

Miguel A Paraz mparaz at yahoo.com
Thu Apr 11 09:08:20 EDT 2002


Oleg Broytmann <phd at phd.pp.ru> wrote in message news:<mailman.1018351106.14249.python-list at python.org>...
>    Looks like a problem with threaded Python with non-threaded freeradius.
> Or vice versa.
> 
> Oleg.


Python is threaded:
$ ldd /usr/bin/python | fgrep pthread
	libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40028000)

freeradius is threaded by default.

freeradius works OK if I statically link only my python module, and
let the rest be dynamically loaded.

I tried rebuilding freeradius without threads (configure
--with-threads=no) and it's the same.

So, the problem is no big deal... I'm just curious since it sure is
odd.



More information about the Python-list mailing list