From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Sebastian" <skurscheid(at)gmail(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #6062: psql terminates on auto-complete |
Date: | 2011-06-16 05:39:40 |
Message-ID: | 18987.1308202780@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
"Sebastian" <skurscheid(at)gmail(dot)com> 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
From | Date | Subject | |
---|---|---|---|
Next Message | Delorme, Yann | 2011-06-16 07:37:11 | Re: BUG #6061: Progresql.exe memory usage using HOLD cursor. |
Previous Message | John R Pierce | 2011-06-16 05:37:17 | Re: BUG #6062: psql terminates on auto-complete |