Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 702BA1337B92 for ; Fri, 25 Feb 2011 12:03:30 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 22650-08 for ; Fri, 25 Feb 2011 16:03:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id DD6931337B8D for ; Fri, 25 Feb 2011 12:03:22 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id B3B06348028; Fri, 25 Feb 2011 08:03:21 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aobm6j5SS-U2; Fri, 25 Feb 2011 08:03:16 -0800 (PST) Received: from perhan.alvh.no-ip.org (unknown [200.85.212.94]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 9D69B348027; Fri, 25 Feb 2011 08:03:16 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 882806E457; Fri, 25 Feb 2011 13:03:13 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: pgsql-bugs Subject: Re: BUG #5899: Memory corruption when running psql From: Alvaro Herrera To: Ross Barrett In-reply-to: <201102241636.p1OGaY0a042154@wwwmaster.postgresql.org> References: <201102241636.p1OGaY0a042154@wwwmaster.postgresql.org> Date: Fri, 25 Feb 2011 13:03:13 -0300 Message-Id: <1298649754-sup-4903@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201102/224 X-Sequence-Number: 29496 Excerpts from Ross Barrett's message of jue feb 24 13:36:34 -0300 2011: > > The following bug has been logged online: > > Bug reference: 5899 > Logged by: Ross Barrett > Email address: ross_barrett@rapid7.com > PostgreSQL version: 9.0.3 > Operating system: Ubuntu 9.10 > Description: Memory corruption when running psql > Details: > > Attempting to run psql complains that termcap db is not present (bug 5807). > Applying the work around of placing an /etc/termcap file from a Red Hat > system allowed psql to run 1x. Subsequent runs always yield a memory > error: Try LD_PRELOAD'ing libreadline -- or recompile psql linked to that instead of libedit. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support