Skip to content

Reference counting bug in PyArg_ParseTuple and PyArg_ParseTupleAndKeywords#50333

@billm

Description

@billm
mannequin
BPO6083
Nosy@loewis, @birkenfeld, @gpshead, @abalkin, @taleinat, @serhiy-storchaka, @imz, @ananthan-123
Dependencies
  • bpo-20191: resource.prlimit(int, int, str) crashs
  • Files
  • python-bug-01.patch: Patch to fix the problem
  • test-resource.py: Test for Modules/resource.c
  • test-ctypes.py: Test for Modules/_ctypes/_ctypes.c
  • test-functools.py: Test for Modules/_functoolsmodule.c (py3k only)
  • issue6083.diff
  • PyArg_ParseTuple_refcount.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=Noneclosed_at=Nonecreated_at=<Date2009-05-22.08:18:54.577>labels= ['interpreter-core', 'type-crash'] title='Reference counting bug in PyArg_ParseTuple and PyArg_ParseTupleAndKeywords'updated_at=<Date2020-02-20.07:51:55.428>user='https://bugs.python.org/billm'

    bugs.python.org fields:

    activity=<Date2020-02-20.07:51:55.428>actor='taleinat'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Interpreter Core'] creation=<Date2009-05-22.08:18:54.577>creator='billm'dependencies= ['20191'] files= ['14040', '19616', '19617', '19618', '20400', '27567'] hgrepos= [] issue_num=6083keywords= ['patch'] message_count=25.0messages= ['88181', '88204', '88215', '121285', '126226', '126234', '172912', '181297', '181316', '181327', '181592', '181600', '182108', '182110', '201454', '314264', '314268', '314273', '314285', '314286', '314287', '314289', '322381', '362299', '362302'] nosy_count=11.0nosy_names= ['loewis', 'georg.brandl', 'gregory.p.smith', 'belopolsky', 'taleinat', 'billm', 'abacabadabacaba', 'python-dev', 'serhiy.storchaka', 'imz', 'Ananthakrishnan'] pr_nums= [] priority='high'resolution=Nonestage='needs patch'status='open'superseder=Nonetype='crash'url='https://bugs.python.org/issue6083'versions= ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

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