Re: [BUGS] BUG #5846: Segfault Postgresql Built with --lib-libedit-preferred

2011-01-24 Thread Tom Lane
David E. Wheeler da...@kineticode.com writes:
 try=# \d mls_fepsql(69838) malloc: *** error for object 0x6: pointer being
 freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 zsh: abort  psql corp_schema

This has been reported before, most recently last week.  It's a libedit
bug (and yes it's been reported to Apple, but another complaint directed
there wouldn't hurt).

regards, tom lane

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


Re: [BUGS] BUG #5846: Segfault Postgresql Built with --lib-libedit-preferred

2011-01-24 Thread David E. Wheeler
On Jan 24, 2011, at 3:49 PM, Tom Lane wrote:

 This has been reported before, most recently last week.  It's a libedit
 bug (and yes it's been reported to Apple, but another complaint directed
 there wouldn't hurt).

Oh. I've probably complained to them myself. First noticed it quite some time 
ago. Anyone got a test case that doesn't involve building PostgreSQL?

Thanks,

David



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


Re: [BUGS] BUG #5846: Segfault Postgresql Built with --lib-libedit-preferred

2011-01-24 Thread Tom Lane
David E. Wheeler da...@kineticode.com writes:
 Oh. I've probably complained to them myself. First noticed it quite some time 
 ago. Anyone got a test case that doesn't involve building PostgreSQL?

Per the prior discussion, all you need is an example where there are
exactly 9 + 10*N (N=0) possible completions.  I haven't tried, but if
their shell uses libedit you could probably provoke a coredump with a
command-line TAB in a suitably-set-up directory, no test case code at all.

regards, tom lane

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs