Skip to content

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

Closed

Description

@pitrou
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']

Activity

  1. pitrou commented on Aug 16, 2008

    @pitrou
    MemberAuthor

    Reproducing this bug is simple:

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

  2. added
    interpreter-core
    type-crash
    on Aug 16, 2008
  3. benjaminp commented on Aug 16, 2008

    @benjaminp
    Contributor

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

  4. pitrou commented on Aug 16, 2008

    @pitrou
    MemberAuthor

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

  5. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-coretype-crash

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions