← Back to team overview

freeipa team mailing list archive

[Bug 2044242] Re: ipa-client-install seg faults (s390x)

 

$ sudo apport-unpack /var/crash/_usr_sbin_ipa-client-install.0.crash /tmp/crash
$ /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 1520]

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  0x000003ff3880f150 in ?? ()
(gdb) bt
#0  0x000003ff3880f150 in ?? ()
#1  0x000002aa38849cac in ?? ()
PC not saved
(gdb) 

# 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".

Program received signal SIGSEGV, Segmentation fault.
0x000004000020f150 in ?? ()
(gdb) bt
#0  0x000004000020f150 in ?? ()
#1  0x000002aa00249cac in _PyImport_LoadDynamicModuleWithSpec (fp=<optimized out>, 
    spec=<ModuleSpec(name='gssapi.raw._enum_extensions.ext_dce', loader=<ExtensionFileLoader(name='gssapi.raw._enum_extensions.ext_dce', path='/usr/lib/python3/dist-packages/gssapi/raw/_enum_extensions/ext_dce.cpython-310-s390x-linux-gnu.so') at remote 0x3fffd45d930>, origin='/usr/lib/python3/dist-packages/gssapi/raw/_enum_extensions/ext_dce.cpython-310-s390x-linux-gnu.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x3fffd4eaec0>)
    at ../Python/importdl.c:167
#2  _imp_create_dynamic_impl (module=<optimized out>, file=<optimized out>, 
    spec=<ModuleSpec(name='gssapi.raw._enum_extensions.ext_dce', loader=<ExtensionFileLoader(name='gssapi.raw._enum_extensions.ext_dce', path='/usr/lib/python3/dist-packages/gssapi/raw/_enum_extensions/ext_dce.cpython-310-s390x-linux-gnu.so') at remote 0x3fffd45d930>, origin='/usr/lib/python3/dist-packages/gssapi/raw/_enum_extensions/ext_dce.cpython-310-s390x-linux-gnu.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x3fffd4eaec0>)
    at ../Python/import.c:2050
#3  _imp_create_dynamic (module=<optimized out>, args=<optimized out>, nargs=<optimized out>)
    at ../Python/clinic/import.c.h:330
#4  0x000002aa00118800 in cfunction_vectorcall_FASTCALL (
    func=<built-in method create_dynamic of module object at remote 0x3fffd796610>, args=0x3fffd45c8c8, 
    nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/methodobject.c:430
#5  0x000002aa000feee4 in do_call_core (kwdict={}, 
    callargs=(<ModuleSpec(name='gssapi.raw._enum_extensions.ext_dce', loader=<ExtensionFileLoader(name='gssapi.raw._enum_extensions.ext_dce', path='/usr/lib/python3/dist-packages/gssapi/raw/_enum_extensions/ext_dce.cpython-310-s390x-linux-gnu.so') at remote 0x3fffd45d930>, origin='/usr/lib/python3/dist-packages/gssapi/raw/_enum_extensions/ext_dce.cpython-310-s390x-linux-gnu.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x3fffd4eaec0>,), 
    func=<optimized out>, trace_info=<optimized out>, tstate=<optimized out>) at ../Python/ceval.c:5945

-- 
You received this bug notification because you are a member of FreeIPA,
which is subscribed to freeipa in Ubuntu.
https://bugs.launchpad.net/bugs/2044242

Title:
  ipa-client-install seg faults (s390x)

Status in Ubuntu on IBM z Systems:
  New
Status in freeipa package in Ubuntu:
  New

Bug description:
  Executing 'ipa-client-install' (package: freeipa-client) is causing a
  segmentation fault:

  ubuntu@server:~$ sudo apt install freeipa-client
  ubuntu@server:~$ ipa-client-install
  Segmentation fault (core dumped)
  ubuntu@server:~$ ls -l /var/crash/
  total 2012
  -rw-r----- 1 ubuntu ubuntu 2057124 Nov 22 08:22 _usr_sbin_ipa-client-install.1000.crash
  ubuntu@server:~$ vi /var/log/syslog
  ...
  Nov 22 08:22:33 server kernel: [  162.136131] User process fault: interruption code 003b ilc:2 in ext_dce.cpython-310-s390x-linux-gnu.so[3ff8b880000+4000]
  Nov 22 08:22:33 server kernel: [  162.136153] Failing address: 000003ff23f0f000 TEID: 000003ff23f0f800
  Nov 22 08:22:33 server kernel: [  162.136156] Fault in primary space mode while using user ASCE.
  Nov 22 08:22:33 server kernel: [  162.136160] AS:000000009f5581c7 R3:0000000000000024
  Nov 22 08:22:33 server kernel: [  162.136166] CPU: 3 PID: 4294 Comm: ipa-client-inst Not tainted 5.15.0-89-generic #99-Ubuntu
  Nov 22 08:22:33 server kernel: [  162.136169] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
  Nov 22 08:22:33 server kernel: [  162.136170] User PSW : 0705200180000000 000003ff23f0f150
  Nov 22 08:22:33 server kernel: [  162.136173]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 RI:0 EA:3
  Nov 22 08:22:33 server kernel: [  162.136176] User GPRS: 0f00000100000043 000002aa242fb170 000003ff8b885240 0600000000000000
  Nov 22 08:22:33 server kernel: [  162.136178]            0000000000000080 000002aa242fb170 000003ff8b882c00 000003ff8bde6d70
  Nov 22 08:22:33 server kernel: [  162.136180]            000003ff8bd50450 000003ff8bdbc7b0 000003ff8bd599b0 000003ff8bd599e0
  Nov 22 08:22:33 server kernel: [  162.136182]            000003ff8c8b0f90 000003ff8bdbc7b0 000002aa23f49cac 000003ffe5c745c0
  Nov 22 08:22:33 server kernel: [  162.136189] User Code: Bad PSW.
  Nov 22 08:22:33 server kernel: [  162.136190] Last Breaking-Event-Address:
  Nov 22 08:22:33 server kernel: [  162.136190]  [<000003ff8b882c06>] 0x3ff8b882c06
  Nov 22 08:22:33 server systemd[986]: Started D-Bus User Message Bus.
  Nov 22 08:22:33 server dbus-daemon[4303]: [session uid=1000 pid=4303] AppArmor D-Bus mediation is enabled
  ...

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: freeipa-client 4.9.8-1
  ProcVersionSignature: Ubuntu 5.15.0-89.99-generic 5.15.126
  Uname: Linux 5.15.0-89-generic s390x
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: s390x
  CasperMD5CheckResult: pass
  CloudArchitecture: s390x
  CloudID: none
  CloudName: none
  CloudPlatform: none
  CloudSubPlatform: config
  Date: Wed Nov 22 08:52:47 2023
  InstallationDate: Installed on 2023-11-22 (0 days ago)
  InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release s390x (20230220.1)
  SourcePackage: freeipa
  UpgradeStatus: No upgrade log present (probably fresh install)

  $ apt-cache policy freeipa-client
  freeipa-client:
    Installed: 4.9.8-1
    Candidate: 4.9.8-1
    Version table:
   *** 4.9.8-1 500
          500 http://ports.ubuntu.com/ubuntu-ports jammy/universe s390x Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2044242/+subscriptions



References