Re: Strange pgsql crash on MacOSX

From: Shane Ambler <pgsql(at)007Marketing(dot)com>
To: Shane Ambler <pgsql(at)007Marketing(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Strange pgsql crash on MacOSX
Date: 2006-12-23 11:07:30
Message-ID: 458D0DF2.3030804@007Marketing.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Shane Ambler wrote:
> Tom Lane wrote:
>> Shane Ambler <pgsql(at)007Marketing(dot)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(at)007Marketing(dot)com

Get Sheeky @ http://Sheeky.Biz

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message dakotali kasap 2006-12-23 14:35:10 cannot add to postgresql project my own source files
Previous Message Dave Page 2006-12-23 08:27:02 Re: Interface for pg_autovacuum