Log messages can be lost due to signals causing EINTR

[email protected]
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from itamar <[email protected]>:

Our various logfile implementations don't handle EINTR. As a result, signals that interrupt the writes will cause exceptions to be thrown by the log observer, leading to lost log messages. This is very bad.

I saw this happen due to a SIGCHLD. #733 should fix SIGCHLD-caused issues, but not the general problem, since this can happen with other signals as well.

----------
Type     : defect
Component: core
Keywords : 
Priority : highest
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/3816
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.