Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  dnf update Segmentation fault(coredump).

    Posted Mon July 17, 2023 02:34 PM

    Hello,

     

    When I was doing a "dnf update" the process Segmentation fault(coredump).

     

    How do I get the core file and do you want it?

     

    I reran the "dnf update" and the second run completed without errors.

    Below is a cut and paste from my putty session.

     

     

      Verifying        : python3.9-dnf-plugin-migrate-4.0.16-32_2.noarch                                                                           169/175

      Verifying        : python3.9-dnf-plugins-core-4.0.16-32_52.ppc                                                                               170/175

      Verifying        : python3.9-dnf-plugins-core-4.0.16-32_2.noarch                                                                             171/175

      Verifying        : python3.9-hawkey-0.39.1-32_52.ppc                                                                                         172/175

      Verifying        : python3.9-hawkey-0.39.1-32_3.ppc                                                                                          173/175

      Verifying        : python3.9-libdnf-0.39.1-32_52.ppc                                                                                         174/175

      Verifying        : python3.9-libdnf-0.39.1-32_3.ppc                                                                                          175/175

    Segmentation fault(coredump)

    PRD:/nfs/datashare/dnf_script # # well coredump sucks.

    PRD:/nfs/datashare/dnf_script # df -g

    Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on

    /dev/hd4           7.00      6.58    7%    26020     2% /

    /dev/hd2          10.00      2.87   72%    99684    13% /usr

    /dev/hd9var        6.75      4.26   37%     8905     1% /var

    /dev/hd3           6.00      2.46   59%   102218    16% /tmp

    /dev/hd1          13.81     13.19    5%     1657     1% /home

    /dev/hd11admin      1.00      1.00    1%        7     1% /admin

    /proc                 -         -    -        -      - /proc

    /dev/hd10opt       2.00      0.32   84%    23989    22% /opt

    /dev/livedump      1.00      0.99    1%       31     1% /var/adm/ras/livedump

    /dev/sysloglv      5.00      4.69    7%     2545     1% /var/log

    /dev/corelv        5.00      4.89    3%        5     1% /epic_core

    /dev/siriusbkplv      3.00      3.00    1%      262     1% /opt/sirius/backup

    /aha                  -         -    -       55     1% /aha

    odcpure4fs.adnmhc.nmmc.com:/datashare  1048576.00 1047611.21    1%   874275     1% /nfs/datashare

    PRD:/nfs/datashare/dnf_script # # run dnf update again.

    PRD:/nfs/datashare/dnf_script # date

    Mon Jul 17 12:15:28 CDT 2023

    PRD:/nfs/datashare/dnf_script # dnf update

    warning: rpmdb: Freeing read locks for locker 0x424: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x426: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x427: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x428: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x429: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x42a: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x42b: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x42c: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x42d: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x42e: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x42f: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x430: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x431: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x432: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x433: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x434: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x435: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x436: 11797430/1

    warning: rpmdb: Freeing read locks for locker 0x437: 11797430/1

    Last metadata expiration check: 0:09:07 ago on Mon Jul 17 12:06:27 CDT 2023.

    Dependencies resolved.

    Nothing to do.

    Complete!

    PRD:/nfs/datashare/dnf_script # dnf check

    PRD:/nfs/datashare/dnf_script # dnf update

    Last metadata expiration check: 0:09:48 ago on Mon Jul 17 12:06:27 CDT 2023.

    Dependencies resolved.

    Nothing to do.

    Complete!

     

     

    Tim Koopman
    Sr. Storage and Unix Admin, Information Technology

    tim.koopman@northmemorial.com

    Phone: 763.581.2556 | Pager: 612-527-1473 | cell 612-850-2686

    Service Desk: 763.581.2580

     

    North Color_Large

    3300 Oakdale Avenue North

    Robbinsdale, Minnesota 55422

    www.northmemorial.com

     


    #AIXOpenSource


  • 2.  RE: dnf update Segmentation fault(coredump).

    Posted Fri July 21, 2023 05:12 AM

    Hi Tim,

    Yes. Please attach the core file.



    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: dnf update Segmentation fault(coredump).

    Posted Wed July 26, 2023 08:18 AM

    Hi Sangamesh,

    I am sorry, when I got your request, I looked at the errpt for location of the core. Then when I looked in that directory it did not contain the core file.

    see errpt below, and below that is an ls output of where the core should be located, but it is missing.  So the below is all I have for you. 

    PRD:/nfs/datashare/rpm_rte # errpt -a -j A924A5FC
    ---------------------------------------------------------------------------
    LABEL:          CORE_DUMP
    IDENTIFIER:     A924A5FC

    Date/Time:       Mon Jul 17 12:12:48 CDT 2023
    Sequence Number: 47780
    Machine Id:      00FBF6A74C00
    Node Id:         PRD
    Class:           S
    Type:            PERM
    WPAR:            Global
    Resource Name:   SYSPROC

    Description
    SOFTWARE PROGRAM ABNORMALLY TERMINATED

    Probable Causes
    SOFTWARE PROGRAM

    User Causes
    USER GENERATED SIGNAL

            Recommended Actions
            CORRECT THEN RETRY

    Failure Causes
    SOFTWARE PROGRAM

            Recommended Actions
            RERUN THE APPLICATION PROGRAM
            IF PROBLEM PERSISTS THEN DO THE FOLLOWING
            CONTACT APPROPRIATE SERVICE REPRESENTATIVE

    Detail Data
    SIGNAL NUMBER
              11
    USER'S PROCESS ID:
                  11797430
    FILE SYSTEM SERIAL NUMBER
              18
    INODE NUMBER
                   4512112
    CORE FILE NAME
    /epic_core/core.11797430.17171248
    PROGRAM NAME
    python3.9_32
    STACK EXECUTION DISABLED
               0
    COME FROM ADDRESS REGISTER
    slab_allo 160

    PROCESSOR ID
      hw_fru_id: 2
      hw_cpu_id: 26

    ADDITIONAL INFORMATION
    magazine_ FC
    magazine_ DC
    thread_me 78
    g_slice_a A8
    g_slice_a 20
    g_type_cr 10C
    g_object_ 70
    g_object_ 2CC
    g_object_ 54
    dnf_packa 34
    _ZL12pack BC
    wrap_init 2C
    wrapper_c B0
    _PyObject C0
    _PyEval_E 9C74
    _PyEval_E B0C
    _PyFuncti C0
    _PyObject 8C
    _PyObject 120
    slot_tp_i 108
    type_call D8
    _PyObject 94
    PyObject_ 48
    _Z11new_p 18C
    _Z20packa C8
    _ZL10quer 4C
    PyObject_ 38
    _PyEval_E 3A10
    function_ C0
    method_ve 1FC
    _PyEval_E 1ECC
    function_ C0
    _PyEval_E 6A18
    function_ C0
    _PyEval_E 6A18
    _PyEval_E B0C
    _PyFuncti C0
    method_ve 1FC
    _PyEval_E 6ADC
    _PyEval_E B0C
    _PyFuncti C0
    method_ve 1FC
    _PyEval_E 4E58
    function_ C0
    _PyEval_E 1ECC
    function_ C0
    _PyEval_E 1ECC
    function_ C0
    _PyEval_E 1ECC
    _PyEval_E B0C
    _PyFuncti C0
    _PyEval_E 1ECC
    _PyEval_E B0C
    _PyFuncti C0
    _PyEval_E 4E58
    _PyEval_E B0C
    _PyEval_E 78
    PyEval_Ev 58
    PyEval_Ev 30
    run_mod B4
    PyRun_Sim 1BC
    PyRun_Any A4
    Py_RunMai 8CC
    Py_BytesM 48
    main 10
    __start 6C

    Symptom Data
    REPORTABLE
    1
    INTERNAL ERROR
    0
    SYMPTOM CODE
    PCSS/SPI2 FLDS/python3.9 SIG/11 FLDS/magazine_ VALU/fc FLDS/main
    PRD:/nfs/datashare/rpm_rte #

    PRD:/nfs/datashare/rpm_rte # ls -l /epic_core/core.11797430.17171248
    ls: 0653-341 The file /epic_core/core.11797430.17171248 does not exist.
    PRD:/nfs/datashare/rpm_rte #



    ------------------------------
    Tim Koopman
    ------------------------------



  • 4.  RE: dnf update Segmentation fault(coredump).

    Posted Thu August 03, 2023 12:08 PM

    Hi Tim,

    This core seems to be coming from glib2 related functions.

    We will see if we can get some idea from this.



    ------------------------------
    SANGAMESH
    ------------------------------