Fw: psql 7.2.1 on S/390
Hi,
I compile with -g
gdb output:
Starting program: /usr/local/pgsql/bin/psql
Program received signal SIGSEGV, Segmentation fault.
0x4024036e in strlen () at ../sysdeps/generic/strlen.c:150
150 ../sysdeps/generic/strlen.c: No such file or directory.
(gdb) bt
#0 0x4024036e in strlen () at ../sysdeps/generic/strlen.c:150
#1 0x4024009c in strdup () at strdup.c:49
#2 0x412ec8 in SetVariable (space=0x426a68, name=0x410a06 "ENCODING",
value=0xa050a718 <Address 0xa050a718 out of bounds>) at variables.c:107
#3 0x41116a in main (argc=1, argv=0x7ffffc14) at startup.c:233
#4 0x401f6d36 in __libc_start_main () at
../sysdeps/generic/libc-start.c:122
Any idea ?
PS. My compilation options:
./configure --prefix=/usr/local/pgsql \
--enable-locale \
--enable-multibyte=LATIN2 \
--enable-unicode-conversion \
--with-tcl \
--enable-odbc \
--with-openssl \
--with-maxbackends=100 \
--enable-nls="pl de cs" \
--enable-debug
----- Original Message -----
From: "Bruce Momjian" <pgman@candle.pha.pa.us>
To: "Micha� Kala�ski" <kalanskim@zetokatowice.pl>
Cc: <pgsql-general@postgresql.org>
Sent: Wednesday, August 28, 2002 5:17 PM
Subject: Re: [GENERAL] psql 7.2.1 on S/390
I recommend compiling with symbols (-g) and getting another backtrace.
That will show the argument and line numbers in SetVariable().--------------------------------------------------------------------------
-
Micha� Kala�ski wrote:
Hello
I try to install Postgresql on TurboLinux S/390.
I have glibc - 2.1.3, kernel version 2.2.19 , gcc version 2.95.2.1
Postmaster working OK.
When I try to run psql it break with segfault.
gdb->bt output:#0 0x4024036e in strlen () at ../sysdeps/generic/strlen.c:150
#1 0x4024009c in strdup () at strdup.c:49
#2 0x412ec8 in SetVariable ()
#3 0x41116a in main ()
#4 0x401f6d36 in __libc_start_main () at
../sysdeps/generic/libc-start.c:122
PLEASE HELP ME !!!
Michal Kalanski
kalanskim@zetokat.com.pl-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania
19073
Show quoted text
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster