Author rudolphf
Recipients rudolphf
Date 2018-02-15.09:20:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518686430.4.0.467229070634.issue32849@psf.upfronthosting.co.za>
In-reply-to
Content
Sometimes a new Python 3.6.4 process is aborted by the kernel (FreeBSD 11.1) (before loading my Python files).

Found in syslog:

kernel: pid 22433 (python3.6), uid 2014: exited on signal 6 (core dumped)
Fatal Python error: Py_Initialize: can't initialize sys standard streams
OSError: [Errno 9] Bad file descriptor

I've been able to run ktrace on such a Python process, see attachment. See around line 940: "RET   fstat -1 errno 9 Bad file descriptor"
History
Date User Action Args
2018-02-15 09:20:32rudolphfsetrecipients: + rudolphf
2018-02-15 09:20:30rudolphfsetmessageid: <1518686430.4.0.467229070634.issue32849@psf.upfronthosting.co.za>
2018-02-15 09:20:30rudolphflinkissue32849 messages
2018-02-15 09:20:30rudolphfcreate