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 — Сrash when deleting deeply recursive iterator wrappers · Issue #61502 · python/cpython

Сrash when deleting deeply recursive iterator wrappers #61502

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
Сrash when deleting deeply recursive iterator wrappers#61502
Copy link
Assignees
serhiy-storchaka
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump

Description

@serhiy-storchaka
serhiy-storchaka
opened on Feb 26, 2013
Issue body actions
BPO 17300
Nosy @rhettinger, @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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2013-02-26.10:40:16.473>
    created_at = <Date 2013-02-26.10:28:15.064>
    labels = ['extension-modules', 'type-crash']
    title = '\xd0\xa1rash when deleting deeply recursive iterator wrappers'
    updated_at = <Date 2013-02-26.10:40:16.472>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2013-02-26.10:40:16.472>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2013-02-26.10:40:16.473>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2013-02-26.10:28:15.064>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 17300
    keywords = []
    message_count = 3.0
    messages = ['183041', '183042', '183043']
    nosy_count = 2.0
    nosy_names = ['rhettinger', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '14010'
    type = 'crash'
    url = 'https://bugs.python.org/issue17300'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']

    Activity

    1. serhiy-storchaka commented on Feb 26, 2013

      @serhiy-storchaka
      serhiy-storchaka
      on Feb 26, 2013
      MemberAuthor
      More actions

      http://permalink.gmane.org/gmane.comp.python.ideas/19669

      >>> from itertools import islice, count
      >>> it = count()
      >>> for i in range(1000000):
      ...     it = islice(it, 0)
      ... 
      >>> del it
      Segmentation fault

      This looks very similar to the crash in tee() (bpo-13454).

    2. serhiy-storchaka
      self-assigned this
      on Feb 26, 2013
    3. serhiy-storchaka
      added
      extension-modulesC modules in the Modules dirC modules in the Modules dir
      type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
      on Feb 26, 2013
    4. serhiy-storchaka commented on Feb 26, 2013

      @serhiy-storchaka
      serhiy-storchaka
      on Feb 26, 2013
      MemberAuthor
      More actions

      And same issue with filter:

      >>> it = iter([])
      >>> for i in range(1000000):
      ...     it = filter(None, it)
      ... 
      >>> del it
      Segmentation fault
    5. serhiy-storchaka
      changed the title [-]Сrash when deleting deeply recursive islice()[/-] [+]Сrash when deleting deeply recursive iterator wrappers[/+] on Feb 26, 2013
    6. serhiy-storchaka commented on Feb 26, 2013

      @serhiy-storchaka
      serhiy-storchaka
      on Feb 26, 2013
      MemberAuthor
      More actions

      Aha, this is a duplicate of bpo-14010.

    7. serhiy-storchaka
      closed this as completedon Feb 26, 2013
    8. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    9. picnixz
      closed this as a duplicateof deeply nested itertools objects segfault #58218 on Aug 18, 2025
    10. picnixz
      marked Segmentation fault in Python 3.13 when chaining deep filter() iterators #137894 as a duplicate of this issue on Aug 18, 2025
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    • @serhiy-storchaka
      serhiy-storchaka

    Labels

    extension-modulesC modules in the Modules dirC modules in the Modules dirtype-crashA hard crash of the interpreter, possibly with a core dumpA 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

      You are visitor 01402503 — 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.