Skip to content

core dump in python -i from emacs #142284

@Oscar65

Description

@Oscar65

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

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