Skip to content

Instantly share code, notes, and snippets.

@dimaqq
Created June 4, 2025 04:56
Show Gist options
  • Select an option

  • Save dimaqq/cd87dfdad4e0cc1d5832fa226e516ff0 to your computer and use it in GitHub Desktop.

Select an option

Save dimaqq/cd87dfdad4e0cc1d5832fa226e516ff0 to your computer and use it in GitHub Desktop.
⋊> dima@bb ⋊> ~ coredumpctl debug 3836963 13:51:34
PID: 3836963 (python3)
UID: 1000 (dima)
GID: 1000 (dima)
Signal: 11 (SEGV)
Timestamp: Wed 2025-06-04 07:03:35 JST (6h ago)
Command Line: /code/operator-xdist-3.7/.venv/bin/python3 -u -c $'import sys;exec(eval(sys.stdin.readline()))'
Executable: /home/dima/3.13-dev/python/install/bin/python3.13d
Control Group: /user.slice/user-1000.slice/[email protected]/tmux-spawn-f92e4ddc-4a2d-4bf7-a7e2-58abbd1ec088.scope
Unit: [email protected]
User Unit: tmux-spawn-f92e4ddc-4a2d-4bf7-a7e2-58abbd1ec088.scope
Slice: user-1000.slice
Owner UID: 1000 (dima)
Boot ID: b85c1c88136d4f119393cf603e4f97c1
Machine ID: 4da07f4a71834d0cb0719ae6921e13f7
Hostname: bb
Storage: /var/lib/systemd/coredump/core.python3.1000.b85c1c88136d4f119393cf603e4f97c1.3836963.1748988215000000.zst (present)
Size on Disk: 9.8M
Message: Process 3836963 (python3) of user 1000 dumped core.
Module /home/dima/3.13-dev/python/install/bin/python3.13d without build-id.
Module /home/dima/3.13-dev/python/install/bin/python3.13d
Module libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
Stack trace of thread 3836963:
#0 0x00005e558c221635 n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x3ef635)
#1 0x00005e558c21f0ef n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x3ed0ef)
#2 0x00005e558c257dee n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x425dee)
#3 0x00005e558c256829 n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x424829)
#4 0x00005e558c2a7e74 n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x475e74)
#5 0x00005e558c2a86f1 n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x4766f1)
#6 0x00005e558c2a874c n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x47674c)
#7 0x00007c515762a1ca __libc_start_call_main (libc.so.6 + 0x2a1ca)
#8 0x00007c515762a28b __libc_start_main_impl (libc.so.6 + 0x2a28b)
#9 0x00005e558bfd39d2 n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x1a19d2)
ELF object binary architecture: AMD x86-64
GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
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-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 /home/dima/3.13-dev/python/install/bin/python3.13d...
warning: core file may not match specified executable file.
[New LWP 3836963]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/code/operator-xdist-3.7/.venv/bin/python3 -u -c import sys;exec(eval(sys.stdin'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 gc_get_refs (g=0x99dd7d052835e0c0) at Python/gc.c:71
warning: 71 Python/gc.c: No such file or directory
(gdb) directory ~/cpython
Source directories searched: /home/dima/cpython:$cdir:$cwd
@dimaqq
Copy link
Author

dimaqq commented Jun 4, 2025

Journal entries:

Jun 04 07:03:35 bb kernel: traps: python3[3836963] general protection fault ip:5e558c221635 sp:7ffc77bd0620 error:0 in python3.13d[3ef635,5e558bfd0000+d8b000]

...


Jun 04 07:03:36 bb (sd-parse-elf)[3844445]: Could not parse number of program headers from core file: invalid `Elf' handle
Jun 04 07:03:36 bb systemd-coredump[3844354]: Process 3836963 (python3) of user 1000 dumped core.

                                              Module /home/dima/3.13-dev/python/install/bin/python3.13d without build-id.
                                              Module /home/dima/3.13-dev/python/install/bin/python3.13d
                                              Module libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                                              Stack trace of thread 3836963:
                                              #0  0x00005e558c221635 n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x3ef635)
                                              #1  0x00005e558c21f0ef n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x3ed0ef)
                                              #2  0x00005e558c257dee n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x425dee)
                                              #3  0x00005e558c256829 n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x424829)
                                              #4  0x00005e558c2a7e74 n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x475e74)
                                              #5  0x00005e558c2a86f1 n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x4766f1)
                                              #6  0x00005e558c2a874c n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x47674c)
                                              #7  0x00007c515762a1ca __libc_start_call_main (libc.so.6 + 0x2a1ca)
                                              #8  0x00007c515762a28b __libc_start_main_impl (libc.so.6 + 0x2a28b)
                                              #9  0x00005e558bfd39d2 n/a (/home/dima/3.13-dev/python/install/bin/python3.13d + 0x1a19d2)
                                              ELF object binary architecture: AMD x86-64
Jun 04 07:03:36 bb systemd[1]: [email protected]: Deactivated successfully.
Jun 04 07:03:36 bb systemd[1]: [email protected]: Triggering OnSuccess= dependencies.
Jun 04 07:03:36 bb systemd[1]: Starting [email protected]...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment