From: | Michał Kalański <kalanskim(at)zetokatowice(dot)pl> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Fw: psql 7.2.1 on S/390 |
Date: | 2002-08-29 08:11:45 |
Message-ID: | 003c01c24f33$b768a490$1400a8c0@mikala |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(at)candle(dot)pha(dot)pa(dot)us>
To: "Michał Kalański" <kalanskim(at)zetokatowice(dot)pl>
Cc: <pgsql-general(at)postgresql(dot)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(at)zetokat(dot)com(dot)pl
> >
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square, Pennsylvania
19073
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew | 2002-08-29 08:23:05 | to_char(0,'FM999.99') outputs 0. |
Previous Message | Markus Wollny | 2002-08-29 07:55:25 | Re: Naming-scheme for db-files |