Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when attempting to run chirp #131503

Closed
clin1234 opened this issue Mar 20, 2025 · 2 comments
Closed

Segfault when attempting to run chirp #131503

clin1234 opened this issue Mar 20, 2025 · 2 comments

Comments

@clin1234
Copy link

clin1234 commented Mar 20, 2025

Crash report

What happened?

Running python -m pdb chirp.wxui also reliably generates a coredump.

CHIRP py3dev on Linux - \SKernel \r on \m (\l) (Python 3.14.0a6)

If it helps, here's the output of coredumpctl gdb:

(venv) cc@pretty:~/pyo3$ coredumpctl gdb
           PID: 383669 (python)
           UID: 1000 (cc)
           GID: 1000 (cc)
        Signal: 11 (SEGV)
     Timestamp: Thu 2025-03-20 08:59:25 EDT (3min 20s ago)
  Command Line: python -m pdb -m chirp.wxui -c continue
    Executable: /usr/bin/python3.14t
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (cc)
       Boot ID: ed610f320f3f4846b0fc14d7f90ce160
    Machine ID: 58dfa2bab68640acb8828fbc7970aa05
      Hostname: pretty
       Storage: /var/lib/systemd/coredump/core.python.1000.ed610f320f3f4846b0fc14d7f90ce160.383669.1742475565000000.zst (present)
  Size on Disk: 3.9M
       Message: Process 383669 (python) of user 1000 dumped core.
                
                Stack trace of thread 383669:
                #0  0x00007fd9d5d57633 n/a (n/a + 0x0)
                #1  0x00007fd9c6e7b37d n/a (n/a + 0x0)
                #2  0x00007fd9d5ffdf20 n/a (n/a + 0x0)
                #3  0x00007fd9d603250b n/a (n/a + 0x0)
                #4  0x00007fd9d5f26ef6 n/a (n/a + 0x0)
                #5  0x00007fd9d5f57491 n/a (n/a + 0x0)
                #6  0x00007fd9d5f06e00 n/a (n/a + 0x0)
                #7  0x00007fd9d5ff94c7 n/a (n/a + 0x0)
                #8  0x00007fd9d5f7eb91 n/a (n/a + 0x0)
                #9  0x00007fd9d5f7e645 n/a (n/a + 0x0)
                #10 0x00007fd9d5f2ac91 n/a (n/a + 0x0)
                #11 0x00007fd9d5f1c398 n/a (n/a + 0x0)
                #12 0x00007fd9d5fef68f n/a (n/a + 0x0)
                #13 0x00007fd9d6013af6 n/a (n/a + 0x0)
                #14 0x00007fd9d5f26ef6 n/a (n/a + 0x0)
                #15 0x00007fd9d5f57491 n/a (n/a + 0x0)
                #16 0x00007fd9d5f06e00 n/a (n/a + 0x0)
                #17 0x00007fd9d5ff94c7 n/a (n/a + 0x0)
                #18 0x00007fd9d5f7eb91 n/a (n/a + 0x0)
                #19 0x00007fd9d5f7e645 n/a (n/a + 0x0)
                #20 0x00007fd9d5f2ac91 n/a (n/a + 0x0)
                #21 0x00007fd9d5f1c398 n/a (n/a + 0x0)
                #22 0x00007fd9d5fef68f n/a (n/a + 0x0)
                #23 0x00007fd9d6013af6 n/a (n/a + 0x0)
                #24 0x00007fd9d5f26ef6 n/a (n/a + 0x0)
                #25 0x00007fd9d5f57491 n/a (n/a + 0x0)
                #26 0x00007fd9d5f06e00 n/a (n/a + 0x0)
                #27 0x00007fd9d5ff94c7 n/a (n/a + 0x0)
                #28 0x00007fd9d5f7eb91 n/a (n/a + 0x0)
                #29 0x00007fd9d5f7e645 n/a (n/a + 0x0)
                #30 0x00007fd9d5f2ac91 n/a (n/a + 0x0)
                #31 0x00007fd9d5f1c398 n/a (n/a + 0x0)
                #32 0x00007fd9d5fef68f n/a (n/a + 0x0)
                #33 0x00007fd9d6013af6 n/a (n/a + 0x0)
                #34 0x00007fd9d5f0d32e n/a (n/a + 0x0)
                #35 0x00007fd9d5f2cc4d n/a (n/a + 0x0)
                #36 0x00007fd9d5f1c398 n/a (n/a + 0x0)
                #37 0x00007fd9d5fef68f n/a (n/a + 0x0)
                #38 0x00007fd9d6013af6 n/a (n/a + 0x0)
                #39 0x00007fd9d5f0d32e n/a (n/a + 0x0)
                #40 0x00007fd9d5f2cc4d n/a (n/a + 0x0)
                #41 0x00007fd9d5f57491 n/a (n/a + 0x0)
                #42 0x00007fd9d6031268 n/a (n/a + 0x0)
                #43 0x00007fd9d60300eb n/a (n/a + 0x0)
                #44 0x00007fd9d5fd6f5b n/a (n/a + 0x0)
                #45 0x00007fd9d5c11575 n/a (n/a + 0x0)
                #46 0x00007fd9d5c11628 n/a (n/a + 0x0)
                #47 0x0000563b52b5b3d5 n/a (n/a + 0x0)
                ELF object binary architecture: AMD x86-64

GNU gdb (Fedora Linux) 16.2-1.fc43
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/python3.14t...
Reading symbols from /home/cc/.cache/debuginfod_client/b7b6f13945d0a219a23f0334f08a3b2c5665a54d/debuginfo...

warning: core file may not match specified executable file.
[New LWP 383669]
Downloading 86.53 K separate debug info for /usr/lib64/python3.14t/lib-dynload/readline.cpython-314t-x86_64-linux-gnu.so
Downloading 746.70 K separate debug info for /usr/lib64/libreadline.so.8                                                     
Downloading separate debug info for /home/cc/.cache/debuginfod_client/7b7b0ac5b20071d418abefe4f48412680047ca6e/debuginfo     
Downloading 332.51 K separate debug info for /usr/lib64/libtinfo.so.6                                                        
Downloading 229.79 K separate debug info for /home/cc/.cache/debuginfod_client/94b11d21b19bea460ea4ce3a9bda629372e43832/debuginfo                                                                                                                         
--Type <RET> for more, q to quit, c to continue without paging--c
[Thread debugging using libthread_db enabled]                                                                                
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Core was generated by `/home/cc/venv/bin/python -m pdb -m chirp.wxui -c continue'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:1287
1287            movzbl  (%rdi), %eax
Function(s) ^std::(move|forward|as_const|(__)?addressof) will be skipped when stepping.
Function(s) ^std::(shared|unique)_ptr<.*>::(get|operator) will be skipped when stepping.
Function(s) ^std::(basic_string|vector|array|deque|(forward_)?list|(unordered_|flat_)?(multi)?(map|set)|span)<.*>::(c?r?(begin|end)|front|back|data|size|empty) will be skipped when stepping.
Function(s) ^std::(basic_string|vector|array|deque|span)<.*>::operator.] will be skipped when stepping.
(gdb) bt
#0  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:1287
#1  0x00007fd9d5e0ab98 in _PyImport_ResolveNameWithPackageContext (name=0xffffffffffffffff "")
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/import.c:757
#2  _PyModule_CreateInitialized (module=0x7fd9c79f3a20 <PyInit__core::sip_module_def>, module_api_version=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/moduleobject.c:231
#3  0x00007fd9c6e7b37d in PyInit__core () at ../../../../sip/cpp/sip_corecmodule.cpp:21750
#4  0x00007fd9d5ffe2a0 in _PyImport_RunModInitFunc
    (p0=p0@entry=0x7fd9c6e7b360 <PyInit__core()>, info=info@entry=0x7ffd6898a970, p_res=p_res@entry=0x7ffd6898a8c0)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/importdl.c:429
#5  0x00007fd9d5ffdf20 in import_run_extension
    (tstate=tstate@entry=0x7fd9d63414e0 <_PyRuntime+344544>, p0=p0@entry=0x7fd9c6e7b360 <PyInit__core()>, info=info@entry=0x7ffd6898a970, spec=spec@entry=0x435827b5d30, modules=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/import.c:2001
#6  0x00007fd9d603250b in _imp_create_dynamic_impl (module=<optimized out>, spec=<optimized out>, file=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/import.c:4702
#7  _imp_create_dynamic (module=<optimized out>, args=<optimized out>, nargs=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/clinic/import.c.h:486
#8  0x00007fd9d5f26ef6 in PyObject_Call (callable=0x435823d1e50, args=0x43582e9e550, kwargs=0x43582c34840)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:373
#9  PyCFunction_Call (callable=0x435823d1e50, args=0x43582e9e550, kwargs=0x43582c34840)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:381
#10 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=0x7fd9d6593118, throwflag=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/generated_cases.c.h:2424
#11 0x00007fd9d5f57491 in _PyEval_EvalFrame (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, frame=<optimized out>, throwflag=0)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_ceval.h:116
#12 _PyEval_Vector
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, func=<optimized out>, locals=0x0, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:1903
--Type <RET> for more, q to quit, c to continue without paging--c
#13 _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:413
#14 0x00007fd9d5f06e00 in _PyObject_VectorcallTstate
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, callable=0x435823b4800, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_call.h:167
#15 0x00007fd9d5ff94c7 in object_vacall
    (tstate=tstate@entry=0x7fd9d63414e0 <_PyRuntime+344544>, base=0x0, callable=callable@entry=0x435823b4800, vargs=vargs@entry=0x7ffd6898b150) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:819
#16 0x00007fd9d5f7eb91 in PyObject_CallMethodObjArgs (obj=<optimized out>, name=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:880
#17 0x00007fd9d5f7e645 in import_find_and_load (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, abs_name=0x43583102530)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/import.c:3690
#18 PyImport_ImportModuleLevelObject
    (name=0x43582c91000, globals=<optimized out>, locals=<optimized out>, fromlist=0x435820b4740, level=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/import.c:3772
#19 0x00007fd9d5f2ac91 in _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=0x7fd9d6592cf8, throwflag=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_stackref.h:234
#20 0x00007fd9d5f1c398 in _PyEval_EvalFrame (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, frame=<optimized out>, throwflag=0)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_ceval.h:116
#21 _PyEval_Vector
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, func=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:1903
#22 0x00007fd9d5fef68f in PyEval_EvalCode (co=0x43583730000, globals=<optimized out>, locals=0x43582c31a00)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:831
#23 0x00007fd9d6013af6 in builtin_exec_impl
    (module=<optimized out>, source=0x43583730000, globals=0x43582c31a00, locals=0x43582c31a00, closure=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/bltinmodule.c:1165
#24 builtin_exec (module=<optimized out>, args=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/clinic/bltinmodule.c.h:560
#25 0x00007fd9d5f26ef6 in PyObject_Call (callable=0x435823d01e0, args=0x43582c34640, kwargs=0x43582c31a80)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:373
#26 PyCFunction_Call (callable=0x435823d01e0, args=0x43582c34640, kwargs=0x43582c31a80)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:381
#27 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=0x7fd9d6592c68, throwflag=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/generated_cases.c.h:2424
#28 0x00007fd9d5f57491 in _PyEval_EvalFrame (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, frame=<optimized out>, throwflag=0)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_ceval.h:116
#29 _PyEval_Vector
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, func=<optimized out>, locals=0x0, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:1903
#30 _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:413
#31 0x00007fd9d5f06e00 in _PyObject_VectorcallTstate
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, callable=0x435823b4800, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_call.h:167
#32 0x00007fd9d5ff94c7 in object_vacall
    (tstate=tstate@entry=0x7fd9d63414e0 <_PyRuntime+344544>, base=0x0, callable=callable@entry=0x435823b4800, vargs=vargs@entry=0x7ffd6898bc40) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:819
#33 0x00007fd9d5f7eb91 in PyObject_CallMethodObjArgs (obj=<optimized out>, name=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:880
#34 0x00007fd9d5f7e645 in import_find_and_load (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, abs_name=0x43583567d00)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/import.c:3690
#35 PyImport_ImportModuleLevelObject
    (name=0x43583567d00, globals=<optimized out>, locals=<optimized out>, fromlist=0x435820b4740, level=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/import.c:3772
#36 0x00007fd9d5f2ac91 in _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=0x7fd9d6592960, throwflag=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_stackref.h:234
#37 0x00007fd9d5f1c398 in _PyEval_EvalFrame (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, frame=<optimized out>, throwflag=0)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_ceval.h:116
#38 _PyEval_Vector
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, func=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:1903
#39 0x00007fd9d5fef68f in PyEval_EvalCode (co=0x435833b2a80, globals=<optimized out>, locals=0x435833edc80)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:831
#40 0x00007fd9d6013af6 in builtin_exec_impl
    (module=<optimized out>, source=0x435833b2a80, globals=0x435833edc80, locals=0x435833edc80, closure=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/bltinmodule.c:1165
#41 builtin_exec (module=<optimized out>, args=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/clinic/bltinmodule.c.h:560
#42 0x00007fd9d5f26ef6 in PyObject_Call (callable=0x435823d01e0, args=0x43582c308c0, kwargs=0x43582c31c80)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:373
#43 PyCFunction_Call (callable=0x435823d01e0, args=0x43582c308c0, kwargs=0x43582c31c80)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:381
#44 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=0x7fd9d65928d0, throwflag=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/generated_cases.c.h:2424
#45 0x00007fd9d5f57491 in _PyEval_EvalFrame (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, frame=<optimized out>, throwflag=0)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_ceval.h:116
#46 _PyEval_Vector
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, func=<optimized out>, locals=0x0, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:1903
#47 _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:413
#48 0x00007fd9d5f06e00 in _PyObject_VectorcallTstate
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, callable=0x435823b4800, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_call.h:167
#49 0x00007fd9d5ff94c7 in object_vacall
    (tstate=tstate@entry=0x7fd9d63414e0 <_PyRuntime+344544>, base=0x0, callable=callable@entry=0x435823b4800, vargs=vargs@entry=0x7ffd6898c730) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:819
#50 0x00007fd9d5f7eb91 in PyObject_CallMethodObjArgs (obj=<optimized out>, name=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:880
#51 0x00007fd9d5f7e645 in import_find_and_load (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, abs_name=0x43582fa9800)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/import.c:3690
#52 PyImport_ImportModuleLevelObject
    (name=0x43582fa9800, globals=<optimized out>, locals=<optimized out>, fromlist=0x7fd9d62e3940 <_Py_NoneStruct>, level=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/import.c:3772
#53 0x00007fd9d5f2ac91 in _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=0x7fd9d65924f0, throwflag=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_stackref.h:234
#54 0x00007fd9d5f1c398 in _PyEval_EvalFrame (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, frame=<optimized out>, throwflag=0)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_ceval.h:116
#55 _PyEval_Vector
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, func=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:1903
#56 0x00007fd9d5fef68f in PyEval_EvalCode (co=0x43582df8700, globals=<optimized out>, locals=0x4358269d700)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:831
#57 0x00007fd9d6013af6 in builtin_exec_impl
    (module=<optimized out>, source=0x43582df8700, globals=0x4358269d700, locals=0x4358269d700, closure=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/bltinmodule.c:1165
#58 builtin_exec (module=<optimized out>, args=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/clinic/bltinmodule.c.h:560
#59 0x00007fd9d5f0d32e in _PyObject_VectorcallTstate
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, callable=0x435823d01e0, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_call.h:167
#60 PyObject_Vectorcall (callable=0x435823d01e0, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:327
#61 0x00007fd9d5f2cc4d in _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=0x7fd9d65923e0, throwflag=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/generated_cases.c.h:1375
#62 0x00007fd9d5f1c398 in _PyEval_EvalFrame (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, frame=<optimized out>, throwflag=0)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_ceval.h:116
#63 _PyEval_Vector
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, func=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:1903
#64 0x00007fd9d5fef68f in PyEval_EvalCode (co=0x435826d0000, globals=<optimized out>, locals=0x4358269d700)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:831
#65 0x00007fd9d6013af6 in builtin_exec_impl
    (module=<optimized out>, source=0x435826d0000, globals=0x4358269d700, locals=0x4358269d700, closure=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/bltinmodule.c:1165
#66 builtin_exec (module=<optimized out>, args=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/clinic/bltinmodule.c.h:560
#67 0x00007fd9d5f0d32e in _PyObject_VectorcallTstate
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, callable=0x435823d01e0, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_call.h:167
#68 PyObject_Vectorcall (callable=0x435823d01e0, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:327
#69 0x00007fd9d5f2cc4d in _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=0x7fd9d65920e0, throwflag=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/generated_cases.c.h:1375
#70 0x00007fd9d5f57491 in _PyEval_EvalFrame (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, frame=<optimized out>, throwflag=0)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Include/internal/pycore_ceval.h:116
#71 _PyEval_Vector
    (tstate=0x7fd9d63414e0 <_PyRuntime+344544>, func=<optimized out>, locals=0x0, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Python/ceval.c:1903
#72 _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Objects/call.c:413
#73 0x00007fd9d6031268 in pymain_run_module (modname=<optimized out>, set_argv0=set_argv0@entry=1)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Modules/main.c:337
#74 0x00007fd9d60300eb in pymain_run_python (exitcode=0x7ffd6898d6b8)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Modules/main.c:673
#75 Py_RunMain () at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Modules/main.c:760
#76 0x00007fd9d5fd6f5b in Py_BytesMain (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/python3.14-3.14.0~a6-1.fc43.x86_64/Modules/main.c:814
#77 0x00007fd9d5c11575 in __libc_start_call_main
    (main=main@entry=0x563b52b5b4a0 <main>, argc=argc@entry=7, argv=argv@entry=0x7ffd6898d928)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#78 0x00007fd9d5c11628 in __libc_start_main_impl
    (main=0x563b52b5b4a0 <main>, argc=7, argv=0x7ffd6898d928, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd6898d918) at ../csu/libc-start.c:360
#79 0x0000563b52b5b3d5 in _start ()

CPython versions tested on:

3.14

Operating systems tested on:

Linux

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

Python 3.14.0a6 experimental free-threading build (main, Mar 17 2025, 00:00:00) [GCC 15.0.1 20250313 (Red Hat 15.0.1-0)]

@clin1234 clin1234 added the type-crash A hard crash of the interpreter, possibly with a core dump label Mar 20, 2025
@brianschubert
Copy link
Contributor

brianschubert commented Mar 20, 2025

Hi! This looks like something you should report to chirp. From glancing at that stack trace, the crash is happening inside the initialization of a SIP generated module, which suggests that this is more likely a bug with chirp / SIP / how that package was built rather than a bug in CPython.

(p.s. I see you’re using 3.14a6t. Make sure that you’re running everything with supported versions of Python and other dependencies. chirp / SIP may not support 3.14 alphas or free-threaded builds).

@ZeroIntensity ZeroIntensity added the pending The issue will be closed if no feedback is provided label Mar 20, 2025
@ZeroIntensity
Copy link
Member

Agreed, let's get a pure-CPython reproducer.

@hauntsaninja hauntsaninja closed this as not planned Won't fix, can't repro, duplicate, stale Mar 20, 2025
@ZeroIntensity ZeroIntensity removed type-crash A hard crash of the interpreter, possibly with a core dump pending The issue will be closed if no feedback is provided labels Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants