Re: shm_mq_set_sender() crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: shm_mq_set_sender() crash
Дата
Msg-id 15344.1473974558@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: shm_mq_set_sender() crash  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: shm_mq_set_sender() crash  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Of course, it's also possible that the ParallelWorkerNumber code is
> entirely correct and something overwrote the null bytes that were
> supposed to be found at that location.  It would be very useful to see
> (a) the value of ParallelWorkerNumber and (b) the contents of
> vmq->mq_sender, and in particular whether that's actually a valid
> pointer to a PGPROC in the ProcArray.  But unless we can reproduce
> this I don't see how to manage that.

Is it worth replacing that Assert with a test-and-elog that would
print those values?

Given that we've seen only one such instance in the buildfarm, this
might've been just a cosmic ray bit-flip.  So one part of me says
not to worry too much until we see it again.  OTOH, if it is real
but rare, missing an opportunity to diagnose would be bad.
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Set log_line_prefix and application name in test drivers
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Tuplesort merge pre-reading