BUG #1959: readline error exiting psql

From: "David Wheeler" <david(at)kineticode(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1959: readline error exiting psql
Date: 2005-10-13 05:38:59
Message-ID: 20051013053859.2D23EF0C44@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1959
Logged by: David Wheeler
Email address: david(at)kineticode(dot)com
PostgreSQL version: 8.1b3
Operating system: Mac OS X 10.4 "Tiger"
Description: readline error exiting psql
Details:

At least it doesn't segfault anymore, but when exiting psql with 8.1b3 on
Mac OS X 10.4 "Tiger" with Apple's wacko readline library, I get the
following error:

could not save history to file "/Users/david/.psql_history": Invalid
argument

Hrm. No, I just went in and ran a query, then quit, and then it said:

psql(14102) malloc: *** error for object 0x1807000: incorrect checksum for
freed object - object was probably modified after being freed, break at
szone_error to debug
psql(14102) malloc: *** set a breakpoint in szone_error to debug
zsh: segmentation fault /usr/local/pgsql/bin/psql -U postgres -d sharky

Bummer. The weird thing is that the query I ran does show up in the history
if I go into psql again. Very odd.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message tadayoshi sato 2005-10-13 06:36:52 BUG #1960: Respons(Binary) is not correctly by PQexecParams
Previous Message Karl O. Pinc 2005-10-13 04:51:39 Re: BUG #1956: Plpgsql top-level DECLARE does not share