From: | pgsql-bugs(at)postgresql(dot)org |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | segmentation fault in psql |
Date: | 2001-03-31 23:11:16 |
Message-ID: | 200103312311.f2VNBGV38159@hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
David George (david(at)onyxsoft(dot)com) reports a bug with a severity of 1
The lower the number the more severe it is.
Short Description
segmentation fault in psql
Long Description
System info: Sparc Solaris 2.7 with GCC 2.95.2
I have compiled Postgresql 7.1RC1 without any problems.
initdb, createuser, createdb work fine. psql works, I can create a table, and insert data into that table, but if I try to select anything I get a core dump. I even tried just a 'select CURRENT_USER;'. Here is the output from gdb with a backtrace:
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...
Core was generated by `psql test'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/local/lib/libpq.so.2...done.
Loaded symbols for /usr/local/lib/libpq.so.2
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,UltraSPARC-IIi-Engine/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,UltraSPARC-IIi-Engine/lib/libc_psr.so.1
#0 0x274a8 in putc ()
(gdb) bt
#0 0x274a8 in putc ()
#1 0x21044 in print_aligned_text ()
#2 0x23360 in printTable ()
#3 0x23a44 in printQuery ()
#4 0x18820 in SendQuery ()
#5 0x1b044 in MainLoop ()
#6 0x1d5a8 in main ()
(gdb)
Sample Code
No file was uploaded with this report
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-03-31 23:57:50 | Re: [SQL] Re: pg_dump potential bug -UNIQUE INDEX on PG_SHADOW Dont!! HELP |
Previous Message | Peter Eisentraut | 2001-03-31 08:38:29 | Re: unix_socket_directory isn't used by all bin tools |