postgresql 8.0.0 beta1

Lists: pgsql-bugs
From: Hans-Ulrich Schaefer <Hans-Ulrich(dot)Schaefer(at)lrz-muenchen(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: postgresql 8.0.0 beta1
Date: 2004-08-13 12:41:26
Message-ID: 411CB6F6.1040907@lrz.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

I compiled on Linux with no extra options.

using the psql monitor comman line editing works but psql will abort
with signal 11 (SIGSEV) when trying to do a "real" edit by using \e

--
mfG

* Hans-Ulrich Schaefer Phone: +(0)89-289-27819 *
* LRZ Abt. Hochleistungsrechnen Email: schaefer(at)lrz(dot)de *
* Barer Strasse 21 80333 Muenchen *


From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Hans-Ulrich Schaefer <Hans-Ulrich(dot)Schaefer(at)lrz-muenchen(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: postgresql 8.0.0 beta1
Date: 2004-08-13 13:33:09
Message-ID: 20040813133309.GA15169@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

On Fri, Aug 13, 2004 at 02:41:26PM +0200, Hans-Ulrich Schaefer wrote:
> I compiled on Linux with no extra options.
>
> using the psql monitor comman line editing works but psql will abort
> with signal 11 (SIGSEV) when trying to do a "real" edit by using \e

Confirmed on Solaris 9.

test=> \e
Segmentation fault (core dumped)

(gdb) bt
#0 0xfee344d8 in strlen () from /usr/lib/libc.so.1
#1 0x00027ea0 in trim_trailing_separator ()
#2 0x00027fb0 in canonicalize_path ()
#3 0x000145a8 in exec_command ()

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Hans-Ulrich Schaefer <Hans-Ulrich(dot)Schaefer(at)lrz-muenchen(dot)de>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: postgresql 8.0.0 beta1
Date: 2004-08-13 13:42:03
Message-ID: 200408131342.i7DDg3a13879@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


Confirmed on BSD/OS. Looks like we found us a bug.

---------------------------------------------------------------------------

Michael Fuhr wrote:
> On Fri, Aug 13, 2004 at 02:41:26PM +0200, Hans-Ulrich Schaefer wrote:
> > I compiled on Linux with no extra options.
> >
> > using the psql monitor comman line editing works but psql will abort
> > with signal 11 (SIGSEV) when trying to do a "real" edit by using \e
>
> Confirmed on Solaris 9.
>
> test=> \e
> Segmentation fault (core dumped)
>
> (gdb) bt
> #0 0xfee344d8 in strlen () from /usr/lib/libc.so.1
> #1 0x00027ea0 in trim_trailing_separator ()
> #2 0x00027fb0 in canonicalize_path ()
> #3 0x000145a8 in exec_command ()
>
> --
> Michael Fuhr
> http://www.fuhr.org/~mfuhr/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

--
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


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hans-Ulrich Schaefer <Hans-Ulrich(dot)Schaefer(at)lrz-muenchen(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: postgresql 8.0.0 beta1
Date: 2004-08-13 14:48:06
Message-ID: 23500.1092408486@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Hans-Ulrich Schaefer <Hans-Ulrich(dot)Schaefer(at)lrz-muenchen(dot)de> writes:
> using the psql monitor comman line editing works but psql will abort
> with signal 11 (SIGSEV) when trying to do a "real" edit by using \e

Fixed --- thanks for the report!

regards, tom lane