Re: seg fault crashed the postmaster

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: seg fault crashed the postmaster
Дата
Msg-id 5834.1293828279@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: seg fault crashed the postmaster  (Gordon Shannon <gordo169@gmail.com>)
Ответы Re: seg fault crashed the postmaster  (Gordon Shannon <gordo169@gmail.com>)
Re: seg fault crashed the postmaster  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Gordon Shannon <gordo169@gmail.com> writes:
> Sorry, I left that out.  Yeah, I wondered that too, since these tables do
> not use toast.

Hm.  Well, given that the stack trace suggests we're trying to access a
tuple value that's not there (bogus pointer, or data overwritten since
the pointer was created), the "invalid memory alloc request size"
message is believable as another manifestation of the same problem.
The odds seem pretty good that the "corrupt compressed data" message
has the same origin at bottom, although the lack of any obvious data
to be compressed in this table is confusing.  Maybe you could get that
from trying to copy over a garbage value of that one varchar column,
though.

I tried to replicate the problem here without success, which suggests to
me that maybe it's plan-dependent.  Can you show what EXPLAIN gives you
for the troublesome query?

Another point here is that your logs suggest that the query blocked
behind the previous updater of the row for a very long time --- 90 sec
in one case, 30 sec in another.  Is that the typical runtime for one of
these updates?  If not, can you identify what the blocking query was?
If it's something different from another instance of the identical
update, it'd be useful to know what.

            regards, tom lane

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

Предыдущее
От: Gordon Shannon
Дата:
Сообщение: Re: seg fault crashed the postmaster
Следующее
От: Gordon Shannon
Дата:
Сообщение: Re: seg fault crashed the postmaster