From: <gh...@gh...> - 2003-04-19 09:36:39
|
Craig Main wrote: > Hi all, > > Can anyone point me in the right direction for solving this? I am > running Gentoo. Running python test/PgSQLTestCases.py gives a segfault. > I have narrowed it down to the "from pyPgSQL import PgSQL" line. > > Any ideas? Does "from pyPgSQL import libpq" segfault already, too? Can you try the following: 1) Build pyPgSQL with debugging info: $ python setup.py build --debug 2) Under bash, enter: "ulimit -c unlimited" 3) Run the test suite. You'll get a core file (let's suppose it's called python.core). 4) Fire up gdb and load the core file, then show the backtrace: gdb> core python.core gdb> backtrace Do you see anything that makes sense there? Could you post the traceback? -- Gerhard |