From: Craig M. <cr...@th...> - 2003-04-22 06:01:49
|
On Sat, 2003-04-19 at 11:37, Gerhard H=E4ring wrote: > Craig Main wrote: > > Hi all, > >=20 > > 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. > >=20 > > Any ideas? >=20 > Does "from pyPgSQL import libpq" segfault already, too? >=20 yes > Can you try the following: >=20 > 1) Build pyPgSQL with debugging info: >=20 > $ python setup.py build --debug >=20 > 2) Under bash, enter: "ulimit -c unlimited" >=20 > 3) Run the test suite. You'll get a core file (let's suppose it's called=20 > python.core). >=20 > 4) Fire up gdb and load the core file, then show the backtrace: > gdb> core python.core > gdb> backtrace >=20 > Do you see anything that makes sense there? Could you post the traceback? >=20 This is what I get in the backtrace: (gdb) core core Core was generated by `python PgSQLTestCases.py'. Program terminated with signal 11, Segmentation fault. #0 0x402a6637 in ?? () #0 0x402a6637 in ?? () #1 0x402aa7dc in ?? () #2 0x080dd21d in ?? () #3 0x08078bb2 in ?? () #4 0x08079569 in ?? () #5 0x0807baa7 in ?? () #6 0x08095896 in ?? () #7 0x08097ff0 in ?? () #8 0x0809604b in ?? () #9 0x08096e73 in ?? () #10 0x08096a09 in ?? () #11 0x08098518 in ?? () #12 0x080979ec in ?? () #13 0x080df356 in ?? () #14 0x080dd21d in ?? () #15 0x080bca99 in ?? () #16 0x0807a2e5 in ?? () #17 0x080785f1 in ?? () #18 0x08079569 in ?? () #19 0x0807baa7 in ?? () #20 0x08095896 in ?? () #21 0x08097ff0 in ?? () #22 0x0809604b in ?? () #23 0x0809837c in ?? () #24 0x080961a2 in ?? () #25 0x08096e73 in ?? () #26 0x08096c63 in ?? () #27 0x08098598 in ?? () #28 0x080979ec in ?? () #29 0x080df356 in ?? () #30 0x080dd21d in ?? () #31 0x080bca99 in ?? () #32 0x0807a2e5 in ?? () #33 0x080785f1 in ?? () #34 0x08079569 in ?? () #35 0x0807baa7 in ?? () #36 0x08095896 in ?? () #37 0x08097ff0 in ?? () #38 0x0809604b in ?? () #39 0x08096e73 in ?? () #40 0x08096c63 in ?? () #41 0x08098598 in ?? () #42 0x080979ec in ?? () #43 0x080df356 in ?? () #44 0x080dd21d in ?? () #45 0x080bca99 in ?? () #46 0x0807a2e5 in ?? () #47 0x080785f1 in ?? () #48 0x08079569 in ?? () #49 0x0807baa7 in ?? () #50 0x080a085b in ?? () #51 0x080a006d in ?? () #52 0x08053460 in ?? () #53 0x08052fcb in ?? () #54 0x4018c7a7 in ?? () TIA Craig > -- Gerhard >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Pypgsql-users mailing list > Pyp...@li... > https://lists.sourceforge.net/lists/listinfo/pypgsql-users --=20 Craig Main RHCE ST Solutions Cell: 082-323-4670 Home Tel: 011-760-1900 AIM: SATuxman; ICQ: 75815570 |