Skip to content

BufferedReader.peek() crashes if closed #67984

@vadmium

Description

@vadmium
BPO 23796
Nosy @vstinner, @berkerpeksag, @vadmium, @serhiy-storchaka
Files
  • bug.py
  • buffered_reader_closed_peek.patch
  • 23796_fix_with_tests.patch
  • 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 = 'https://github.com/berkerpeksag'
    closed_at = <Date 2015-05-12.14:16:35.573>
    created_at = <Date 2015-03-28.00:29:49.990>
    labels = ['easy', 'expert-IO', 'type-crash']
    title = 'BufferedReader.peek() crashes if closed'
    updated_at = <Date 2015-05-12.14:43:54.990>
    user = 'https://github.com/vadmium'

    bugs.python.org fields:

    activity = <Date 2015-05-12.14:43:54.990>
    actor = 'jdherg'
    assignee = 'berker.peksag'
    closed = True
    closed_date = <Date 2015-05-12.14:16:35.573>
    closer = 'berker.peksag'
    components = ['IO']
    creation = <Date 2015-03-28.00:29:49.990>
    creator = 'martin.panter'
    dependencies = []
    files = ['38735', '38746', '38787']
    hgrepos = []
    issue_num = 23796
    keywords = ['patch', 'easy']
    message_count = 17.0
    messages = ['239445', '239450', '239456', '239482', '239592', '239645', '239647', '239831', '239840', '239855', '240306', '242076', '242742', '242970', '242971', '242972', '242975']
    nosy_count = 6.0
    nosy_names = ['vstinner', 'python-dev', 'berker.peksag', 'martin.panter', 'serhiy.storchaka', 'jdherg']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue23796'
    versions = ['Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    easytopic-IOtype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions