pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Ross Barrett <ross_barrett@rapid7.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #5899: Memory corruption when running psql
Date: Fri, 25 Feb 2011 13:03:13 -0300
Message-ID: <1298649754-sup-4903@alvh.no-ip.org> (raw)
In-Reply-To: <201102241636.p1OGaY0a042154@wwwmaster.postgresql.org>
References: <201102241636.p1OGaY0a042154@wwwmaster.postgresql.org>

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 <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (7+ messages)  latest in thread

Message-ID: <1298649754-sup-4903@alvh.no-ip.org>
Permalink:  ../1298649754-sup-4903@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1298649754-sup-4903@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@commandprompt.com, ross_barrett@rapid7.com
  Subject: Re: BUG #5899: Memory corruption when running psql
  In-Reply-To: <1298649754-sup-4903@alvh.no-ip.org>
  References: <201102241636.p1OGaY0a042154@wwwmaster.postgresql.org> <1298649754-sup-4903@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox