[issue27287] SIGSEGV when calling os.forkpty()

Alexander Haensch report at bugs.python.org
Fri Jun 10 08:27:10 EDT 2016


New submission from Alexander Haensch:

I recieve a segmentation fault if i call os.forkpty(). It does not happen with os.openpty(). Moreover os.fork() works fine.

The basesystem is gentoo-hardened. It does only happens if threading is enabled, which is the standard.

Tested python versions: 2.7.10, 3.4.3 
Some backtraces and py-bt are found here:

https://bugs.gentoo.org/show_bug.cgi?id=584916

Is this a known issue? At the moment i am thinking that gcc is "optimizing" something here.

----------
messages: 268118
nosy: Alexander Haensch
priority: normal
severity: normal
status: open
title: SIGSEGV when calling os.forkpty()
type: crash
versions: Python 2.7, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27287>
_______________________________________


More information about the Python-bugs-list mailing list