Skip site navigation (1) Skip section navigation (2)

Re: Strange pgsql crash on MacOSX

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shane Ambler <pgsql(at)007Marketing(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Strange pgsql crash on MacOSX
Date: 2006-12-23 04:20:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
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?

FWIW, I do not see this on a fully up-to-date 10.4.8 G4 laptop.
I see

$ ls -l /usr/lib/libedit*
-rwxr-xr-x   1 root  wheel  112404 Sep 29 20:59 /usr/lib/libedit.2.dylib
lrwxr-xr-x   1 root  wheel      15 Apr 26  2006 /usr/lib/libedit.dylib -> libedit.2.dylib

so it seems that Apple did update libedit not too long ago ...

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2006-12-23 04:58:49
Subject: Re: recent --with-libxml support
Previous:From: Robert TreatDate: 2006-12-23 03:57:31
Subject: Re: Interface for pg_autovacuum

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group