[New-bugs-announce] [issue5773] Crash on shutdown after os.fdopen(2) in debug builds

Amaury Forgeot d'Arc report at bugs.python.org
Thu Apr 16 14:39:09 CEST 2009


New submission from Amaury Forgeot d'Arc <amauryfa at gmail.com>:

With a 2.6 or 2.7 debug build:
    python_d -c "import os; os.fdopen(2)"

Displays the famous Debug Assertion Failure:
    ...
    Expression: (_osfile(fh) & FOPEN)
    ...

The error occurs when closing pyhon, in call_ll_exitfuncs() there is a
call to fflush(stderr)

----------
assignee: krisvale
components: Windows
messages: 86026
nosy: amaury.forgeotdarc, krisvale
severity: normal
status: open
title: Crash on shutdown after os.fdopen(2) in debug builds
versions: Python 2.6, Python 2.7

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


More information about the New-bugs-announce mailing list