Skip to content

Creating a ctypes array of an element with size zero causes "Fatal Python error: Floating point exception" #81369

@EricWieser

Description

@EricWieser
mannequin
BPO 37188
Nosy @skrah, @animalize, @ZackerySpytz
PRs
  • bpo-37188: Fix a divide-by-zero in arrays of size-0 objects #13881
  • [3.7] bpo-37188: Fix a divide-by-zero in arrays of size-0 objects (GH-13881) #13882
  • [2.7] bpo-37188: Fix a divide-by-zero in arrays of size-0 objects (GH-13881) #13906
  • [3.8] bpo-37188: Fix a divide-by-zero in arrays of size-0 objects (GH-13881) #13911
  • 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-06-08.09:56:26.533>
    created_at = <Date 2019-06-07.06:41:34.035>
    labels = ['ctypes', 'type-crash']
    title = 'Creating a ctypes array of an element with size zero causes "Fatal Python error: Floating point exception"'
    updated_at = <Date 2019-06-08.09:56:26.532>
    user = 'https://bugs.python.org/EricWieser'

    bugs.python.org fields:

    activity = <Date 2019-06-08.09:56:26.532>
    actor = 'skrah'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-08.09:56:26.533>
    closer = 'skrah'
    components = ['ctypes']
    creation = <Date 2019-06-07.06:41:34.035>
    creator = 'Eric Wieser'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37188
    keywords = ['patch']
    message_count = 7.0
    messages = ['344901', '344907', '344908', '344917', '345024', '345025', '345026']
    nosy_count = 4.0
    nosy_names = ['skrah', 'malin', 'ZackerySpytz', 'Eric Wieser']
    pr_nums = ['13881', '13882', '13906', '13911']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue37188'
    versions = ['Python 2.7']

    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