GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Segfault on recursive itertools.chain.from_iterable · Issue #67100 · python/cpython

Segfault on recursive itertools.chain.from_iterable #67100

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
Segfault on recursive itertools.chain.from_iterable#67100
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory

Description

ikelly
mannequin
opened on Nov 21, 2014
Issue body actions
BPO 22911
Nosy @serhiy-storchaka
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-21.19:08:29.798>
    created_at = <Date 2014-11-21.18:42:52.569>
    labels = ['library']
    title = 'Segfault on recursive itertools.chain.from_iterable'
    updated_at = <Date 2014-11-21.19:08:29.796>
    user = 'https://bugs.python.org/ikelly'

    bugs.python.org fields:

    activity = <Date 2014-11-21.19:08:29.796>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-11-21.19:08:29.798>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2014-11-21.18:42:52.569>
    creator = 'ikelly'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 22911
    keywords = []
    message_count = 2.0
    messages = ['231489', '231491']
    nosy_count = 2.0
    nosy_names = ['ikelly', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '14010'
    type = None
    url = 'https://bugs.python.org/issue22911'
    versions = ['Python 3.4']

    Activity

    1. ikelly commented on Nov 21, 2014

      @ikelly
      ikellymannequin
      on Nov 21, 2014
      MannequinAuthor
      More actions

      I expect this should result in a recursion depth exceeded error, not a segmentation fault.

      $ cat test.py
      import itertools
      l = []
      it = itertools.chain.from_iterable(l)
      l.append(it)
      next(it)
      $ python3 test.py
      Segmentation fault (core dumped)
    2. ikelly
      added
      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
      on Nov 21, 2014
    3. serhiy-storchaka commented on Nov 21, 2014

      @serhiy-storchaka
      serhiy-storchaka
      on Nov 21, 2014
      Member
      More actions

      This is a duplicate of bpo-14010.

    4. serhiy-storchaka
      closed this as completedon Nov 21, 2014
    5. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    6. picnixz
      closed this as a duplicateof deeply nested itertools objects segfault #58218 on Aug 18, 2025
    7. markshannon commented on Jul 29, 2026

      @markshannon
      markshannon
      on Jul 29, 2026
      Member
      More actions

      This was not a duplicate of bpo-14010 as that related to the trashcan mechanism. This still crashes the VM.

    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

      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402520 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.