Thom Brown <thom@linux.com> writes:
> postgres=# \d pg_opsql(29265) malloc: *** error for object 0x5:
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> Abort trap
> System info:
> OS: Mac OSX 10.6.5
Known bug in OSX's libedit. Use readline instead.
http://archives.postgresql.org/pgsql-bugs/2010-04/msg00127.php
regards, tom lane