Unix Technical Forum

BUG #1959: readline error exiting psql

This is a discussion on BUG #1959: readline error exiting psql within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 1959 Logged by: David Wheeler Email address: david@kineticode.com PostgreSQL version: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 10:18 AM
David Wheeler
 
Posts: n/a
Default BUG #1959: readline error exiting psql


The following bug has been logged online:

Bug reference: 1959
Logged by: David Wheeler
Email address: david@kineticode.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.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 10:19 AM
Tom Lane
 
Posts: n/a
Default Re: BUG #1959: readline error exiting psql

"David Wheeler" <david@kineticode.com> writes:
> 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


Are you sure this bug report shouldn't be directed to Apple?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 10:19 AM
David Wheeler
 
Posts: n/a
Default Re: BUG #1959: readline error exiting psql

On Oct 13, 2005, at 9:54 AM, Tom Lane wrote:

> Are you sure this bug report shouldn't be directed to Apple?


Of course it should. I only directed it to you because I had thought
you figured out a workaround for it. If there isn't a workaround, I
won't report it again. :-)

Thanks,

David


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com