Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 31A73B5DBC0 for ; Thu, 16 Jun 2011 02:37:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 70187-02 for ; Thu, 16 Jun 2011 05:37:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id CA6BAB5DBC8 for ; Thu, 16 Jun 2011 02:37:27 -0300 (ADT) Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id p5G5bHE29521; Wed, 15 Jun 2011 22:37:17 -0700 Message-ID: <4DF9968D.2040408@hogranch.com> Date: Wed, 15 Jun 2011 22:37:17 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Sebastian CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6062: psql terminates on auto-complete References: <201106151922.p5FJMGue044731@wwwmaster.postgresql.org> In-Reply-To: <201106151922.p5FJMGue044731@wwwmaster.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201106/119 X-Sequence-Number: 30498 On 06/15/11 12:22 PM, Sebastian wrote: > The following bug has been logged online: > > Bug reference: 6062 > Logged by: Sebastian > Email address: skurscheid@gmail.com > PostgreSQL version: 9.0.1 > 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 > Description: psql terminates on auto-complete > Details: > > I have encountered a peculiar psql behavior which I can consistently > replicate: > > 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" does by any chance the Mac port use BSD editline instead of Gnu readline ? editline has been very unstable for me on other Unix platforms such as Solaris. I have zero OS X specific knowlege -- john r pierce N 37, W 122 santa cruz ca mid-left coast