Skip site navigation (1) Skip section navigation (2)

Re: Bus Error in psql command history

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Isaac Morland <ijmorlan(at)uwaterloo(dot)ca>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bus Error in psql command history
Date: 2009-09-30 21:01:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> I think Mac OS X ships a broken libreadline.  What happens if you
> compile with a stock one?

FWIW, it's still broken in Snow Leopard :-(.  Stack trace is

(gdb) bt
#0  0x0000000100097ccc in re_putc ()
#1  0x00000001000981f6 in re_refresh ()
#2  0x0000000100097b67 in el_gets ()
#3  0x00000001000a49b6 in readline ()
#4  0x000000010000856f in gets_interactive (prompt=<value temporarily unavailable, due to optimizations>) at input.c:76
#5  0x0000000100008b8b in MainLoop (source=0x7fff701140c0) at mainloop.c:132
#6  0x000000010000b14f in main (argc=<value temporarily unavailable, due to optimizations>, argv=0x7fff5fbff5f0) at startup.c:285

which pretty conclusively puts the blame on libedit.  This isn't the
first libedit bug report we've seen, either.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Robert HaasDate: 2009-10-01 01:33:05
Subject: Re: Reg: 25P02, current transaction is aborted, commands ignored until end of transaction block
Previous:From: Robert HaasDate: 2009-09-30 20:29:24
Subject: Re: BUG #5088: community account not working

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group