Re: segfaults
Craig Main <[email protected]>
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Organization | ST Solutions |
| Message-ID | <1050991293.21351.11.camel@localhost> |
On Sat, 2003-04-19 at 11:37, Gerhard Häring wrote: > 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? > yes > 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? > 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 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Pypgsql-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pypgsql-users -- Craig Main RHCE ST Solutions Cell: 082-323-4670 Home Tel: 011-760-1900 AIM: SATuxman; ICQ: 75815570
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+pNq9JroSkVVrhL4RAnORAJ0T043vkOQKnjfa1meHwp0p0AHXlgCeMu55 RpxFq6lcERZfvNxUr13Bbmg= =ebBq -----END PGP SIGNATURE-----