pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David E. Wheeler <david@kineticode.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #5846: Segfault Postgresql Built with --lib-libedit-preferred
Date: Mon, 24 Jan 2011 23:41:01 GMT
Message-ID: <201101242341.p0ONf1pC063543@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      5846
Logged by:          David E. Wheeler
Email address:      david@kineticode.com
PostgreSQL version: 9.0.1
Operating system:   Mac OS X 10.6.6
Description:        Segfault Postgresql Built with --lib-libedit-preferred
Details: 

Been meaning to report this for a while.

* Build PostgreSQL on Mac OS X using --with-libedit-preferred.
* Connect to the server from psql
* type "\d feat<tab>", where "<tab>" is the tab key, an attempt to
autocomplete
 * Output for me:

try=# \d mls_fepsql(69838) malloc: *** error for object 0x6: pointer being
freed was not allocated
*** set a breakpoint in malloc_error_break to debug
zsh: abort      psql corp_schema

YOW! I *assume* it's something funky with libedit, but in case you can't
reproduce it with just the libedit option, I configure my server with:

    ./configure --with-libedit-preferred --with-bonjour --with-perl
PERL=$PERL \
    --with-openssl --with-pam --with-krb5 --with-libxml --with-ldap \
    --with-ossp-uuid --with-includes=/usr/local/include \
    --enable-integer-datetimes --with-zlib \
    --with-libs=/usr/local/lib 

Best,

David



view thread (4+ messages)  latest in thread

Message-ID: <201101242341.p0ONf1pC063543@wwwmaster.postgresql.org>
Permalink:  ../201101242341.p0ONf1pC063543@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201101242341.p0ONf1pC063543@wwwmaster.postgresql.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: david@kineticode.com
  Subject: Re: BUG #5846: Segfault Postgresql Built with --lib-libedit-preferred
  In-Reply-To: <201101242341.p0ONf1pC063543@wwwmaster.postgresql.org>
  References: <201101242341.p0ONf1pC063543@wwwmaster.postgresql.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