Skip to content

broken ctypes calling convention on MSVC / 64-bit Windows (large structs) #64359

@mdickinson

Description

@mdickinson
BPO 20160
Nosy @birkenfeld, @doko42, @vsajip, @mdickinson, @vstinner, @larryhastings, @tiran, @meadori, @mattip, @zooba, @rkuska
PRs
  • Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. #168
  • [2.7] bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168) #8625
  • Files
  • issue_20160_python2_7.patch: patch against 2.7
  • issue_20160_tip.patch: patch against tip
  • libffi.patch
  • large_struct_callback.patch
  • ffi_msvc.patch
  • patch-vms-1.diff: Patch for callback on amd64 and test for the same.
  • 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/vsajip'
    closed_at = <Date 2016-08-05.20:45:14.356>
    created_at = <Date 2014-01-07.09:37:54.034>
    labels = ['ctypes', 'type-crash']
    title = 'broken ctypes calling convention on MSVC / 64-bit Windows (large structs)'
    updated_at = <Date 2018-08-02.14:47:30.534>
    user = 'https://github.com/mdickinson'

    bugs.python.org fields:

    activity = <Date 2018-08-02.14:47:30.534>
    actor = 'vstinner'
    assignee = 'vinay.sajip'
    closed = True
    closed_date = <Date 2016-08-05.20:45:14.356>
    closer = 'python-dev'
    components = ['ctypes']
    creation = <Date 2014-01-07.09:37:54.034>
    creator = 'mark.dickinson'
    dependencies = []
    files = ['35248', '35249', '37716', '38687', '43807', '43993']
    hgrepos = []
    issue_num = 20160
    keywords = ['patch']
    message_count = 44.0
    messages = ['207520', '207523', '218507', '218508', '230573', '230659', '230722', '230723', '230724', '230753', '230763', '233746', '233754', '234079', '234081', '234093', '234120', '239117', '239146', '239164', '239174', '239180', '239186', '239249', '240643', '270916', '271908', '271919', '272007', '272008', '272024', '272025', '272028', '272029', '272056', '272059', '276554', '276556', '276558', '276561', '276565', '276569', '288169', '322962']
    nosy_count = 17.0
    nosy_names = ['georg.brandl', 'jpe', 'doko', 'vinay.sajip', 'mark.dickinson', 'vstinner', 'larry', 'christian.heimes', 'meador.inge', 'python-dev', 'mattip', 'steve.dower', 'rkuska', 'Bob', 'Christoph Sarnowski', 'Patrick Stewart', 'Rafa\xc5\x82 Ch\xc5\x82odnicki']
    pr_nums = ['168', '8625']
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue20160'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    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