"Sebastian" <[email protected]> writes:
> Operating system:   Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST
> 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386

> When using the auto-complete function (TAB) to complete the name of a
> particular set of tables when writing a SELECT statement, psql crashes with
> following error:

> "malloc: *** error for object 0x2: pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> Abort trap"

Yeah, this is a known bug in Apple's version of libedit.  See our
archives, eg here:
http://archives.postgresql.org/pgsql-bugs/2010-04/msg00127.php

Aside from pestering Apple to fix it, there's not much you can do except
install GNU libreadline and link against that instead.

                        regards, tom lane

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

Reply via email to