Skip to content

obmalloc's 8-byte alignment causes undefined behavior #72174

@benjaminp

Description

@benjaminp
BPO 27987
Nosy @Yhg1s, @nascheme, @gpshead, @pitrou, @vstinner, @benjaminp, @methane, @skrah, @miss-islington
PRs
  • bpo-27987: pymalloc: align by 16bytes on 64bit platform #12850
  • [3.7] bpo-27987: pymalloc: align by 16bytes on 64bit platform (GH-12850) #13318
  • [2.7] bpo-27987: pymalloc: align by 16bytes on 64bit platform (GH-12850) #13319
  • [3.7] bpo-27987: align PyGC_Head to alignof(long double) #13335
  • bpo-27987: align PyGC_Head to alignof(long double) explicitly #13336
  • [3.7] bpo-27987: Revert "align PyGC_Head to alignof(long double)" (GH-13335) #13569
  • [3.7] bpo-27987: align PyGC_Head to alignof(long double) (GH-13335) #13581
  • Files
  • alignment.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 2019-05-25.18:25:09.602>
    created_at = <Date 2016-09-07.00:17:09.669>
    labels = ['interpreter-core', '3.8', 'type-bug', '3.7']
    title = "obmalloc's 8-byte alignment causes undefined behavior"
    updated_at = <Date 2019-06-03.02:02:46.814>
    user = 'https://github.com/benjaminp'

    bugs.python.org fields:

    activity = <Date 2019-06-03.02:02:46.814>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-25.18:25:09.602>
    closer = 'gregory.p.smith'
    components = ['Interpreter Core']
    creation = <Date 2016-09-07.00:17:09.669>
    creator = 'benjamin.peterson'
    dependencies = []
    files = ['44413']
    hgrepos = []
    issue_num = 27987
    keywords = ['patch']
    message_count = 41.0
    messages = ['274688', '304873', '304874', '304912', '304917', '304918', '304919', '304922', '304925', '304959', '305847', '305939', '305985', '311323', '340120', '340179', '340254', '340264', '340265', '340266', '340330', '340331', '342440', '342441', '342443', '342445', '342447', '342575', '343133', '343134', '343218', '343219', '343471', '343489', '343492', '343493', '343495', '343498', '343499', '343500', '344364']
    nosy_count = 11.0
    nosy_names = ['twouters', 'nascheme', 'gregory.p.smith', 'pitrou', 'vstinner', 'benjamin.peterson', 'methane', 'skrah', 'fweimer', 'miss-islington', 'tgrigg']
    pr_nums = ['12850', '13318', '13319', '13335', '13336', '13569', '13581']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue27987'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions