With Python 2.3.2 on Mandrake 9.2 I ran into trouble with segfaults and weave. I traced the problem to bsddb module in Python 2.3.2. Apparently it segfaults under my configuration when trying to open a file. If you are running Python 2.3.2 could you try import bsddb bsddb.hashopen('anyfile','c') and see if that works for you. I fixed the problem by remmoving _bsddb.so (so that anydbm doesn't use the bsddb module as a db). Now, weave works fine. Could somebody else veryify to see if bsddb is working on Python 2.3.2 for you? -Travis Oliphant
On Thu, 27 Nov 2003, Travis Oliphant wrote:
With Python 2.3.2 on Mandrake 9.2 I ran into trouble with segfaults and weave.
I traced the problem to bsddb module in Python 2.3.2.
Apparently it segfaults under my configuration when trying to open a file.
If you are running Python 2.3.2 could you try
import bsddb bsddb.hashopen('anyfile','c')
I am running Python 2.3.2 (GCC 3.3.2) on Debian sid and the above two lines work ok. However, weave.test(10,2) segfaults at running test_scxx_object.test_object_print Hidding _bsddb.so does not prevent the segfault that I am getting above. Pearu
participants (2)
-
Pearu Peterson -
Travis Oliphant