Skip to content

Python 3.4.3 regression in ctypes.frombuffer() #69684

@JakeMont

Description

@JakeMont
mannequin
BPO 25498
Nosy @vstinner, @bitdancer, @skrah, @vadmium, @zware, @serhiy-storchaka, @eryksun
Files
  • pythoncrash.py: This is python code that will trigger the crash
  • ctypes_crash.py: Trigger a crash, isolated to ctypes from_buffer.
  • ctypes_from_buffer_2.patch: Use PyMemoryView_FromObject instead of PyMemoryView_FromBuffer.
  • ctypes_from_buffer_3.patch
  • ctypes_from_buffer_4.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 = None
    closed_at = <Date 2015-11-13.23:07:40.457>
    created_at = <Date 2015-10-28.18:06:12.369>
    labels = ['ctypes', 'type-crash']
    title = 'Python 3.4.3 regression in ctypes.frombuffer()'
    updated_at = <Date 2015-11-16.16:46:34.614>
    user = 'https://bugs.python.org/JakeMont'

    bugs.python.org fields:

    activity = <Date 2015-11-16.16:46:34.614>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-11-13.23:07:40.457>
    closer = 'martin.panter'
    components = ['ctypes']
    creation = <Date 2015-10-28.18:06:12.369>
    creator = 'JakeMont'
    dependencies = []
    files = ['40876', '40883', '40890', '41009', '41025']
    hgrepos = []
    issue_num = 25498
    keywords = ['patch', '3.4regression']
    message_count = 22.0
    messages = ['253613', '253616', '253617', '253639', '253646', '253682', '253702', '253749', '253756', '253758', '253776', '253789', '253801', '253950', '254472', '254473', '254577', '254593', '254596', '254628', '254633', '254740']
    nosy_count = 11.0
    nosy_names = ['vstinner', 'jnoller', 'r.david.murray', 'skrah', 'python-dev', 'sbt', 'martin.panter', 'zach.ware', 'serhiy.storchaka', 'eryksun', 'JakeMont']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue25498'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      topic-ctypestype-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