$ sudo apport-unpack /var/crash/_usr_sbin_ipa-client-install.0.crash /tmp/crash
$ cd /tmp/crash
$ DEBUGINFOD_URLS=https://debuginfod.ubuntu.com gdb `cat ExecutablePath` CoreDump
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 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 "s390x-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"...
"/usr/sbin/ipa-client-install": not in executable format: file format not recognized
[New LWP 7206]
This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.ubuntu.com
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Core was generated by `/usr/bin/python3 -I /usr/sbin/ipa-client-install'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000003ffa4b02804 in ?? ()
(gdb) bt
Python Exception <class 'gdb.error'>: PC not saved
#0 0x000003ffa4b02804 in ?? ()
(gdb) exit
$ DEBUGINFOD_URLS=https://debuginfod.ubuntu.com gdb python3
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 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 "s390x-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 python3...
Reading symbols from /usr/lib/debug/.build-id/61/7ec16f82f98e94969fd0f36d71da0a7de8b5fb.debug...
(gdb) run /usr/sbin/ipa-client-install
Starting program: /usr/bin/python3 /usr/sbin/ipa-client-install
This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.ubuntu.com
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/s390x-linux-gnu/libthread_db.so.1".
Downloading 0.07 MB separate debug info for /lib/s390x-linux-gnu/libbz2.so.1.0
Downloading 0.33 MB separate debug info for /lib/s390x-linux-gnu/liblzma.so.5
Program received signal SIGSEGV, Segmentation fault.
0x000003fffce82804 in ?? () from /usr/lib/python3/dist-packages/gssapi/raw/_enum_extensions/ext_dce.cpython-310-s390x-linux-gnu.so
(gdb) bt
#0 0x000003fffce82804 in ?? ()
from /usr/lib/python3/dist-packages/gssapi/raw/_enum_extensions/ext_dce.cpython-310-s390x-linux-gnu.so
#1 0x000002aa00214248 in PyModule_ExecDef (
module=<module at remote 0x3fffd4a2340>, def=<optimized out>)
at ../Objects/moduleobject.c:407
#2 0x000002aa002150c6 in _imp_exec_builtin_impl (mod=<optimized out>,
module=<optimized out>) at ../Python/import.c:2091
#3 _imp_exec_builtin (module=<optimized out>, mod=<optimized out>)
at ../Python/clinic/import.c.h:388
#4 0x000002aa001171d4 in cfunction_vectorcall_O (
func=<built-in method exec_dynamic of module object at remote 0x3fffd796610>, args=0x3fffd459408, nargsf=<optimized out>, kwnames=<optimized out>)
at ../Objects/methodobject.c:516
#5 0x000002aa000feee4 in do_call_core (kwdict={},
callargs=(<module at remote 0x3fffd4a2340>,), func=<optimized out>,
trace_info=<optimized out>, tstate=<optimized out>)
at ../Python/ceval.c:5945
#6 _PyEval_EvalFrameDefault (tstate=<optimized out>,
f=Frame 0x3fffd44e050, for file <frozen importlib._bootstrap>, line 241, in _call_with_frames_removed (f=<built-in method exec_dynamic of module object at remote 0x3fffd796610>, args=(<module at remote 0x3fffd4a2340>,), kwds={}),
throwflag=<optimized out>) at ../Python/ceval.c:4277
So obviously not fixed with the latest python3-gssapi upstream release, still an issues upstream (I believe) :-(
Awesome ! Thanks Timo!
I'll just retried it on a jammy system, but it unfortunately still seg. faults:
$ lsb_release -a dpkg/status ports.ubuntu. com/ubuntu- ports jammy/universe s390x Packages
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
$ apt-cache policy python3-gssapi
python3-gssapi:
Installed: 1.8.3-0~ppa1
Candidate: 1.8.3-0~ppa1
Version table:
*** 1.8.3-0~ppa1 100
100 /var/lib/
1.6.12-1build2 500
500 http://
$ sudo ipa-client-install
[sudo] password for ubuntu:
Segmentation fault
And it seems to be still the same issue:
$ sudo apport-unpack /var/crash/ _usr_sbin_ ipa-client- install. 0.crash /tmp/crash /debuginfod. ubuntu. com gdb `cat ExecutablePath` CoreDump 22.04) 12.1 gnu.org/ licenses/ gpl.html> /www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>.
$ cd /tmp/crash
$ DEBUGINFOD_URLS=https:/
GNU gdb (Ubuntu 12.1-0ubuntu1~
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "s390x-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https:/
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help". ipa-client- install" : not in executable format: file format not recognized
Type "apropos word" to search for commands related to "word"...
"/usr/sbin/
[New LWP 7206]
This GDB supports auto-downloading debuginfo from the following URLs: /debuginfod. ubuntu. com ipa-client- install' . /debuginfod. ubuntu. com gdb python3 22.04) 12.1 gnu.org/ licenses/ gpl.html> /www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>.
https:/
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Core was generated by `/usr/bin/python3 -I /usr/sbin/
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000003ffa4b02804 in ?? ()
(gdb) bt
Python Exception <class 'gdb.error'>: PC not saved
#0 0x000003ffa4b02804 in ?? ()
(gdb) exit
$ DEBUGINFOD_URLS=https:/
GNU gdb (Ubuntu 12.1-0ubuntu1~
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "s390x-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https:/
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help". debug/. build-id/ 61/7ec16f82f98e 94969fd0f36d71d a0a7de8b5fb. debug.. . ipa-client- install ipa-client- install
Type "apropos word" to search for commands related to "word"...
Reading symbols from python3...
Reading symbols from /usr/lib/
(gdb) run /usr/sbin/
Starting program: /usr/bin/python3 /usr/sbin/
This GDB supports auto-downloading debuginfo from the following URLs: /debuginfod. ubuntu. com linux-gnu/ libthread_ db.so.1" . linux-gnu/ libbz2. so.1.0 linux-gnu/ liblzma. so.5
https:/
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/s390x-
Downloading 0.07 MB separate debug info for /lib/s390x-
Downloading 0.33 MB separate debug info for /lib/s390x-
Program received signal SIGSEGV, Segmentation fault. python3/ dist-packages/ gssapi/ raw/_enum_ extensions/ ext_dce. cpython- 310-s390x- linux-gnu. so python3/ dist-packages/ gssapi/ raw/_enum_ extensions/ ext_dce. cpython- 310-s390x- linux-gnu. so moduleobject. c:407 builtin_ impl (mod=<optimized out>, <optimized out>) at ../Python/ import. c:2091 clinic/ import. c.h:388 vectorcall_ O ( methodobject. c:516 (<module at remote 0x3fffd4a2340>,), func=<optimized out>, info=<optimized out>, tstate=<optimized out>) ceval.c: 5945 EvalFrameDefaul t (tstate=<optimized out>, _bootstrap> , line 241, in _call_with_ frames_ removed (f=<built-in method exec_dynamic of module object at remote 0x3fffd796610>, args=(<module at remote 0x3fffd4a2340>,), kwds={}), <optimized out>) at ../Python/ ceval.c: 4277
0x000003fffce82804 in ?? () from /usr/lib/
(gdb) bt
#0 0x000003fffce82804 in ?? ()
from /usr/lib/
#1 0x000002aa00214248 in PyModule_ExecDef (
module=<module at remote 0x3fffd4a2340>, def=<optimized out>)
at ../Objects/
#2 0x000002aa002150c6 in _imp_exec_
module=
#3 _imp_exec_builtin (module=<optimized out>, mod=<optimized out>)
at ../Python/
#4 0x000002aa001171d4 in cfunction_
func=<built-in method exec_dynamic of module object at remote 0x3fffd796610>, args=0x3fffd459408, nargsf=<optimized out>, kwnames=<optimized out>)
at ../Objects/
#5 0x000002aa000feee4 in do_call_core (kwdict={},
callargs=
trace_
at ../Python/
#6 _PyEval_
f=Frame 0x3fffd44e050, for file <frozen importlib.
throwflag=
So obviously not fixed with the latest python3-gssapi upstream release, still an issues upstream (I believe) :-(