This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author socketpair
Recipients lars.gustaebel, socketpair
Date 2016-05-20.21:57:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463781421.77.0.86425034743.issue16858@psf.upfronthosting.co.za>
In-reply-to
Content
Can not reproduce in Linux. Will reopen if reproduced on MacOS X or BSD.

#!/usr/bin/python3.5

import os
import signal


p = os.getpid()

if os.fork() == 0:
    while True:
        try:
            os.kill(p, signal.SIGCHLD)
        except (ProcessLookupError, KeyboardInterrupt):
            break
    os._exit(0)

qwe = open('qwe.dat', 'w+b')
qwe.seek(2*1024*1024*1024*1024)
qwe.write(b'0')
qwe.flush()
qwe.seek(0)
while True:
    d = qwe.read(65536 * 32)
    if len(d) != 65536 * 32:
        raise Exception('!')
History
Date User Action Args
2016-07-12 04:05:32martin.panterunlinkissue16858 messages
2016-05-20 21:57:01socketpairsetrecipients: + socketpair, lars.gustaebel
2016-05-20 21:57:01socketpairsetmessageid: <1463781421.77.0.86425034743.issue16858@psf.upfronthosting.co.za>
2016-05-20 21:57:01socketpairlinkissue16858 messages
2016-05-20 21:57:01socketpaircreate