Re: [GENERAL] PSQL segmentation fault after setting host

2010-04-23 Thread Morgan Taschuk
Hooray, uninstalling psqlODBC worked! Thank you so much for all of your help! Cheers, Morgan Taschuk Craig Ringer wrote: On 23/04/2010 2:06 AM, Tom Lane wrote: On Red Hat systems the thing to do is install the postgresql-debuginfo RPM that matches your postgresql RPMs, but I'm not sure exact

Re: [GENERAL] PSQL segmentation fault after setting host

2010-04-22 Thread Craig Ringer
On 23/04/2010 2:06 AM, Tom Lane wrote: On Red Hat systems the thing to do is install the postgresql-debuginfo RPM that matches your postgresql RPMs, but I'm not sure exactly how Ubuntu packages that information. Though it turns out to be unnecessary for this person's question, for future refe

Re: [GENERAL] PSQL segmentation fault after setting host

2010-04-22 Thread Tom Lane
Richard Huxton writes: > I'd guess the root cause is here though. You seem to be picking up some > libraries from psqlODBC rather than your main package. I'm betting it's > got some incompatible changes. Uninstall psqlodbc for a minute and see > if that solves your problem. Yeah, the fact that

Re: [GENERAL] PSQL segmentation fault after setting host

2010-04-22 Thread Richard Huxton
On 22/04/10 20:06, Morgan Taschuk wrote: Program received signal SIGSEGV, Segmentation fault. 0xb7bbb4eb in X509_VERIFY_PARAM_inherit () from /lib/i686/cmov/libcrypto.so.0.9.8 (gdb) bt #0 0xb7bbb4eb in X509_VERIFY_PARAM_inherit () from /lib/i686/cmov/libcrypto.so.0.9.8 #1 0xb7f9b61a in ssl_verify

Re: [GENERAL] PSQL segmentation fault after setting host

2010-04-22 Thread Morgan Taschuk
Hi, stack traces and other paraphernalia below: $ psql -U morgan -d cid -h localhost Segmentation fault Huh. Can you get a stack trace from that? $ gdb psql ... Reading symbols from /usr/lib/postgresql/8.4/bin/psql...(no debugging symbols found)...done. (gdb) run -U morgan -d cid -h local

[GENERAL] PSQL segmentation fault after setting host

2010-04-22 Thread Morgan Taschuk
Hi, I hope someone can help me. When running psql from the command line with the PGHOST environment variable or the -h command line host set, it throws a segmentation fault. $ psql -U morgan -d cid -h localhost Segmentation fault $ export PGHOST=rhyme.ncl.ac.uk $ psql -U morgan -d cid Segment

Re: [GENERAL] PSQL segmentation fault after setting host

2010-04-22 Thread Tom Lane
Morgan Taschuk writes: > I hope someone can help me. When running psql from the command line with > the PGHOST environment variable or the -h command line host set, it > throws a segmentation fault. > $ psql -U morgan -d cid -h localhost > Segmentation fault Huh. Can you get a stack trace from

[GENERAL] PSQL segmentation fault after setting host

2010-04-22 Thread Morgan Taschuk
Hi, I hope someone can help me. When running psql from the command line with the PGHOST environment variable or the -h command line host set, it throws a segmentation fault. $ psql -U morgan -d cid -h localhost Segmentation fault $ export PGHOST=rhyme.ncl.ac.uk $ psql -U morgan -d cid Segmentati