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 — core dump in python -i from emacs · Issue #142284 · python/cpython

core dump in python -i from emacs #142284

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
core dump in python -i from emacs#142284
Copy link
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump

Description

@Oscar65
Oscar65
opened on Dec 5, 2025
Issue body actions

Crash report

What happened?

I was running this line on python -i from emacs:

>>> numbers = {random.tandint(1,100) for i in range(10)}
Traceback (most recent call last):

Process Python violación de segmento (core dumped)

I had previously 9 "SintaxError: invalid syntax".

I repeated all steps from beginning in python -i from emacs and I cannot reproduce error.

I attached gdb (bt full, info threads and thread apply all bt) with symbols.

I use Archlinux with kernel 6.17.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 24 Nov 2025 15:21:09 +0000 x86_64 GNU/Linux

gdb_Python3.13.txt

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Output from running 'python -VV' on the command line:

Python 3.13.7 (main, Aug 15 2025, 12:34:02) [GCC 15.2.1 20250813]

Activity

  1. Oscar65
    added
    type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
    on Dec 5, 2025
  2. devdanzin
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on Dec 5, 2025
  3. devdanzin commented on Dec 5, 2025

    @devdanzin
    devdanzin
    on Dec 5, 2025
    Member
    More actions

    I can't reproduce either with just that line (which raises an AttributeError), nor with a fixed version of that line.

    If you can better describe what exactly "running python -i from emacs" means (steps to match what you did) plus what code was causing the SyntaxError, it might be possible to reproduce. Also, any information about your emacs environment (e.g. were you using a LSP?) could help.

    I hope the backtrace is enough for someone to diagnose this issue.

    Thanks for the report!

  4. StanFromIreland commented on Dec 5, 2025

    @StanFromIreland
    StanFromIreland
    on Dec 5, 2025
    Member
    More actions

    I also cannot reproduce, in emacs:

    Image
  5. StanFromIreland
    added
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    on Dec 5, 2025
  6. Oscar65 commented on Dec 6, 2025

    @Oscar65
    Oscar65
    on Dec 6, 2025
    Author
    More actions

    I can't reproduce either with just that line (which raises an AttributeError), nor with a fixed version of that line.

    If you can better describe what exactly "running python -i from emacs" means (steps to match what you did) plus what code was causing the SyntaxError, it might be possible to reproduce. Also, any information about your emacs environment (e.g. were you using a LSP?) could help.

    I hope the backtrace is enough for someone to diagnose this issue.

    Thanks for the report!

    I tell you that I can't reproduce. I attached bt with debug symbols. Maybe with this information you can realize why it happens.

    In emacs text mode I opened a python file and press CTRL+C+P that opens a new buffer with Python interpreter. Then in this new buffer I typed some commands causing Python's core dump.

  7. StanFromIreland commented on Feb 8, 2026

    @StanFromIreland
    StanFromIreland
    on Feb 8, 2026
    Member
    More actions

    I was unable to reproduce this in emacs, without a reproducer this it will be difficult for us to fix this issue, as such I will close this.

  8. StanFromIreland
    closed this as not plannedon Feb 8, 2026
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

    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtype-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.