Skip to content

Crash when deleting slices from duplicated bytearray #68173

@johan

Description

@johan
mannequin
BPO 23985
Nosy @terryjreedy, @pitrou, @tjguk, @ned-deily, @vadmium, @zware, @serhiy-storchaka, @wm75
Files
  • bytearray_bug.py: Program demonstrating the problem
  • linux-x86-64.py
  • bytearray-fix.patch: Fixes the bug
  • bytearray-resize.patch: Stop del expanding buffer
  • bytearray-fixes.v2.patch: Both fixes + tests
  • 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 2015-05-19.19:06:47.560>
    created_at = <Date 2015-04-17.06:37:48.883>
    labels = ['interpreter-core', 'type-crash']
    title = 'Crash when deleting slices from duplicated bytearray'
    updated_at = <Date 2015-05-21.18:01:32.997>
    user = 'https://bugs.python.org/johan'

    bugs.python.org fields:

    activity = <Date 2015-05-21.18:01:32.997>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-05-19.19:06:47.560>
    closer = 'pitrou'
    components = ['Interpreter Core']
    creation = <Date 2015-04-17.06:37:48.883>
    creator = 'johan'
    dependencies = []
    files = ['39086', '39094', '39098', '39099', '39432']
    hgrepos = []
    issue_num = 23985
    keywords = ['patch']
    message_count = 20.0
    messages = ['241316', '241321', '241323', '241325', '241327', '241330', '241376', '241382', '241399', '241400', '241402', '241594', '241611', '243161', '243162', '243596', '243618', '243619', '243768', '243772']
    nosy_count = 11.0
    nosy_names = ['terry.reedy', 'pitrou', 'tim.golden', 'ned.deily', 'python-dev', 'martin.panter', 'zach.ware', 'serhiy.storchaka', 'wolma', 'alexei.romanov', 'johan']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue23985'
    versions = ['Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-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