Comment 3 for bug 2044242

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

$ 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