Comment 11 for bug 2044242

Revision history for this message
Frank Heimes (fheimes) wrote :

Awesome ! Thanks Timo!

I'll just retried it on a jammy system, but it unfortunately still seg. faults:

$ lsb_release -a
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/dpkg/status
     1.6.12-1build2 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/universe s390x Packages
$ 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
$ 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) :-(