Re: BUG #16827: macOS interrupted syscall leads to a crash
От | Tom Lane |
---|---|
Тема | Re: BUG #16827: macOS interrupted syscall leads to a crash |
Дата | |
Msg-id | 1168201.1611337651@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: BUG #16827: macOS interrupted syscall leads to a crash (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: BUG #16827: macOS interrupted syscall leads to a crash
|
Список | pgsql-bugs |
Andres Freund <andres@anarazel.de> writes: > Tom, all, this seems like a serious problem likely to become more > widespread. I don't really know how we can reasonably address this > short-term, adding EINTR handling to all the places that don't yet have > it (and ensuring that it stays that way) seems like it's a lot to backport. The only idea that comes to mind is to invent a wrapper for open (and other affected syscalls) that adds a loop-on-EINTR. Ugly, and it would not fix third-party extensions until they're recompiled. My inclination is to regard this as something that's Apple's problem, at least for now. Perhaps they'll realize what a disaster it is. (OTOH, they've proven pretty mulish on making SIP usable...) regards, tom lane
В списке pgsql-bugs по дате отправления: