Re: Strange pgsql crash on MacOSX

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange pgsql crash on MacOSX
Дата
Msg-id 6585.1166847619@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Strange pgsql crash on MacOSX  (Shane Ambler <pgsql@007Marketing.com>)
Список pgsql-hackers
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?

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Operator class group proposal
Следующее
От: Tom Lane
Дата:
Сообщение: Re: recent --with-libxml support