Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser.st2list(..., col_info=True) triggers a SystemError #77489

Closed
brettcannon opened this issue Apr 18, 2018 · 5 comments
Closed

parser.st2list(..., col_info=True) triggers a SystemError #77489

brettcannon opened this issue Apr 18, 2018 · 5 comments
Assignees
Labels
3.7 (EOL) end of life 3.8 only security fixes extension-modules C modules in the Modules dir type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@brettcannon
Copy link
Member

BPO 33308
Nosy @brettcannon, @serhiy-storchaka, @miss-islington
PRs
  • bpo-33308: Fix a crash in the parser module when convert an ST object. #6519
  • [3.7] bpo-33308: Fix a crash in the parser module when convert an ST object. (GH-6519) #6526
  • [3.6] bpo-33308: Fix a crash in the parser module when convert an ST object. (GH-6519) #6527
  • [2.7] bpo-33308: Fix a crash in the parser module when convert an ST object. (GH-6519) #6532
  • 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/serhiy-storchaka'
    closed_at = <Date 2018-04-19.06:17:16.943>
    created_at = <Date 2018-04-18.15:32:25.993>
    labels = ['extension-modules', '3.7', '3.8', 'type-crash']
    title = 'parser.st2list(..., col_info=True) triggers a SystemError'
    updated_at = <Date 2018-04-19.06:17:16.942>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2018-04-19.06:17:16.942>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2018-04-19.06:17:16.943>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2018-04-18.15:32:25.993>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33308
    keywords = ['patch']
    message_count = 5.0
    messages = ['315455', '315468', '315475', '315476', '315480']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'serhiy.storchaka', 'miss-islington']
    pr_nums = ['6519', '6526', '6527', '6532']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue33308'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    @brettcannon
    Copy link
    Member Author

    parser.st2list(parser.suite(""), col_info=True) causes:

    Fatal Python error: a function returned a result with an error set
    IndexError: list assignment index out of range

    The above exception was the direct cause of the following exception:
    
    SystemError: <built-in function st2list> returned a result with an error set
    
    Current thread 0x00007fff9ca99380 (most recent call first):
      File "/private/tmp/tester/lazy/sub.py", line 3 in <module>
    fish: '/Users/brettcannon/Repositories…' terminated by signal SIGABRT (Abort)
    

    @brettcannon brettcannon added type-bug An unexpected behavior, bug, or error stdlib Python modules in the Lib dir 3.7 (EOL) end of life 3.8 only security fixes labels Apr 18, 2018
    @serhiy-storchaka serhiy-storchaka added extension-modules C modules in the Modules dir and removed stdlib Python modules in the Lib dir labels Apr 18, 2018
    @serhiy-storchaka serhiy-storchaka self-assigned this Apr 18, 2018
    @serhiy-storchaka serhiy-storchaka added type-crash A hard crash of the interpreter, possibly with a core dump and removed type-bug An unexpected behavior, bug, or error labels Apr 18, 2018
    @serhiy-storchaka
    Copy link
    Member

    New changeset e5362ea by Serhiy Storchaka in branch 'master':
    bpo-33308: Fix a crash in the parser module when convert an ST object. (bpo-6519)
    e5362ea

    @miss-islington
    Copy link
    Contributor

    New changeset b27c71c by Miss Islington (bot) in branch '3.7':
    bpo-33308: Fix a crash in the parser module when convert an ST object. (GH-6519)
    b27c71c

    @miss-islington
    Copy link
    Contributor

    New changeset fc8693d by Miss Islington (bot) in branch '3.6':
    bpo-33308: Fix a crash in the parser module when convert an ST object. (GH-6519)
    fc8693d

    @serhiy-storchaka
    Copy link
    Member

    New changeset d988c0b by Serhiy Storchaka in branch '2.7':
    [2.7] bpo-33308: Fix a crash in the parser module when convert an ST object. (GH-6519) (GH-6532)
    d988c0b

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes extension-modules C modules in the Modules dir type-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants