Skip to content

Crash with itertools.chain.from_iterable #67109

Closed

Description

@terryjreedy
BPO 22920
Nosy @rhettinger, @terryjreedy, @ethanfurman
Superseder
  • bpo-14010: deeply nested itertools objects segfault
  • 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 2014-11-22.22:03:50.109>
    created_at = <Date 2014-11-22.21:56:28.921>
    labels = ['type-crash']
    title = 'Crash with itertools.chain.from_iterable'
    updated_at = <Date 2014-11-22.22:03:50.107>
    user = 'https://github.com/terryjreedy'

    bugs.python.org fields:

    activity = <Date 2014-11-22.22:03:50.107>
    actor = 'ethan.furman'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-11-22.22:03:50.109>
    closer = 'ethan.furman'
    components = []
    creation = <Date 2014-11-22.21:56:28.921>
    creator = 'terry.reedy'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 22920
    keywords = []
    message_count = 1.0
    messages = ['231534']
    nosy_count = 3.0
    nosy_names = ['rhettinger', 'terry.reedy', 'ethan.furman']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'test needed'
    status = 'closed'
    superseder = '14010'
    type = 'crash'
    url = 'https://bugs.python.org/issue22920'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Activity

    1. terryjreedy commented on Nov 22, 2014

      @terryjreedy
      MemberAuthor
      import itertools
      
      l = []
      it = itertools.chain.from_iterable(l)
      l.append(it)
      next(it)

      Ian Kelly (python-list, version unspecified) got "Segmentation fault (core dumped)". With 2.7, 3.4.2, 3.5, I get same in interactive interpreter, the Windows "python has stopped working" box from console, or subprocess hang with Idle.

    2. added
      type-crashA hard crash of the interpreter, possibly with a core dump
      on Nov 22, 2014
    3. changed the title [-]Crash with itertools[/-] [+]Crash with itertools.chain.from_iterable[/+] on Nov 22, 2014
    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      type-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