Re: How to handle waitingForLock in LockWaitCancel()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to handle waitingForLock in LockWaitCancel()
Дата
Msg-id 3607.983845517@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to handle waitingForLock in LockWaitCancel()  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Список pgsql-hackers
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
>> I suspect you will find that these crashes occur during the window just
>> after

> Sorry what does 'just after' mean ?
> Isn't it during the semop() ?

>> the semop() call in IpcSemaphoreLock() --- see the comment

If an interrupt during the semop led to a crash, it would be easy to
reproduce.  I suspect that the crash condition arises only when the
interrupt occurs in a narrow time window ... such as the few
instructions just before or just after the semop call.  It's just a
hunch though.
        regards, tom lane


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

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Re: How to shoot yourself in the foot: kill -9 postmaster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to shoot yourself in the foot: kill -9 postmaster