Thread: trouble with 'python' module -- v6.5.3

trouble with 'python' module -- v6.5.3

From
Jeff
Date:
greetings,

I am able to cause a coredump with the python module in the 6.5.3 release,
and I'm wondering if anyone can advise as to how best to fix this.

[jam@quark ~]$ python
Python 1.5.2 (#1, Sep 17 1999, 20:15:36)  [GCC egcs-2.91.66 19990314/Linux
(egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import _pg
>>> db = _pg.connect("gfd")
>>> db.host
Segmentation fault (core dumped)

it does not cause a core dump if I call connect with the (optional I
thought) 'host' parameter:

[jam@quark ~]$ python
Python 1.5.2 (#1, Sep 17 1999, 20:15:36)  [GCC egcs-2.91.66 19990314/Linux
(egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import _pg
>>> db = _pg.connect("gfd", "quark")
>>> db.host
'quark'

note that I also get a core dump when I attempt to create tables with a
python script (which I can post, if necessary).. not sure if that problem is
related or not, but it appears there's a structure not getting filled in
correctly.

any pointers or help appreciated.

regards,
J
-- 
|| visit gfd <http://quark.emich.edu/>
|| psa member -- <http://www.python.org/psa/> 
|| New Image Systems & Services, Inc. <http://www.newimage.com/>