Re: Strange pgsql crash on MacOSX - Mailing list pgsql-hackers

From Shane Ambler
Subject Re: Strange pgsql crash on MacOSX
Date
Msg-id 458D0DF2.3030804@007Marketing.com
Whole thread Raw
In response to Strange pgsql crash on MacOSX  (Shane Ambler <pgsql@007Marketing.com>)
Responses Re: Strange pgsql crash on MacOSX
List pgsql-hackers
Shane Ambler wrote:
> Tom Lane wrote:
>> Shane Ambler <pgsql@007Marketing.com> writes:
>>> postgres=# \q
>>> psql(24931) malloc: *** error for object 0x180a800: incorrect checksum
>>> for freed object - object was probably modified after being freed, break
>>> at szone_error to debug
>>> psql(24931) malloc: *** set a breakpoint in szone_error to debug
>>> Segmentation fault
>>
>> I think we've seen something like this before in connection with
>> readline/libedit follies.  Does the crash go away if you invoke
>> psql with "-n" option?  If so, exactly which version of readline or
>> libedit are you using?


> 
> psql -n stops the error.
> 

I just found out the problem.

psql_history - I had tried to copy from a text file earlier that was 
utf8 and came up with some errors, I guess these got into the history 
file and stuffed it up.

Renamed it so it created a new one and all is fine now.

-- 

Shane Ambler
pgSQL@007Marketing.com

Get Sheeky @ http://Sheeky.Biz


pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Interface for pg_autovacuum
Next
From: dakotali kasap
Date:
Subject: cannot add to postgresql project my own source files