pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff <jam@quark.emich.edu>
To: pgsql-interfaces@postgresql.org
Subject: trouble with 'python' module -- v6.5.3
Date: Mon, 10 Jan 2000 16:27:30 -0500
Message-ID: <20000110162730.C16873@quark.emich.edu> (raw)

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/;



Message-ID: <20000110162730.C16873@quark.emich.edu>
Permalink:  ../20000110162730.C16873@quark.emich.edu/
Also on:    postgresql.org/message-id/20000110162730.C16873@quark.emich.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: jam@quark.emich.edu
  Subject: Re: trouble with 'python' module -- v6.5.3
  In-Reply-To: <20000110162730.C16873@quark.emich.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox