Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with closed file descriptor #2 (stderr), py3k hangs when trying to print an exception #47822

Closed
pitrou opened this issue Aug 16, 2008 · 3 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@pitrou
Copy link
Member

pitrou commented Aug 16, 2008

BPO 3572
Nosy @gvanrossum, @pitrou, @benjaminp

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2008-08-16.23:52:22.003>
created_at = <Date 2008-08-16.22:20:57.068>
labels = ['interpreter-core', 'invalid', 'type-crash']
title = 'with closed file descriptor #2 (stderr), py3k hangs when trying to print an exception'
updated_at = <Date 2008-08-16.23:52:22.002>
user = 'https://github.com/pitrou'

bugs.python.org fields:

activity = <Date 2008-08-16.23:52:22.002>
actor = 'pitrou'
assignee = 'none'
closed = True
closed_date = <Date 2008-08-16.23:52:22.003>
closer = 'pitrou'
components = ['Interpreter Core']
creation = <Date 2008-08-16.22:20:57.068>
creator = 'pitrou'
dependencies = []
files = []
hgrepos = []
issue_num = 3572
keywords = []
message_count = 3.0
messages = ['71244', '71247', '71250']
nosy_count = 3.0
nosy_names = ['gvanrossum', 'pitrou', 'benjamin.peterson']
pr_nums = []
priority = 'high'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue3572'
versions = ['Python 3.0']

@pitrou
Copy link
Member Author

pitrou commented Aug 16, 2008

Reproducing this bug is simple:

./python -c "import os; os.close(2); 1/0"

@pitrou pitrou added interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump labels Aug 16, 2008
@benjaminp
Copy link
Contributor

Curious. I wonder if this is platform specific because this does not
hang for me on MacOS.

@pitrou
Copy link
Member Author

pitrou commented Aug 16, 2008

Hmm, sorry, false alarm. This was due to some debugging code I had added
in my working copy.

@pitrou pitrou closed this as completed Aug 16, 2008
@pitrou pitrou added the invalid label Aug 16, 2008
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

2 participants