Guest

Preview Tool

Cisco Bug: CSCvs54685 - macsec_ea crash seen with stack trace of "pl_macsec_tx_sc_shmem_free (tx_sc=0x0)" on THK MOD400

Last Modified

Jan 21, 2020

Products (1)

  • Cisco ASR 9000 Series Aggregation Services Routers

Known Affected Releases

7.0.2.BASE

Description (partial)

Symptom:
DECODE
********
 
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word".
warning: core file may not match specified executable file.
warning: .dynamic section for "/auto/iox-ucs-018-san2/prod/7.0.2.21I.SIT_IMAGE/asr9k-x64/ws/calvados/shared_pkg/common/cai/fit/lib/obj-x86_64-linux-spirit/libfit_utils_api.so.sym" is not at the expected address (wrong library or version mismatch?)
warning: Could not load shared library symbols for 3 libraries, e.g. linux-vdso.so.1.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/auto/iox-ucs-018-san2/prod/7.0.2.21I.SIT_IMAGE/asr9k-x64/ws/thirdparty/opensource/sdk/x86_64/lib64/libthread_db.so.1".
Core was generated by 'macsec_ea'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  pl_macsec_tx_sc_shmem_free (tx_sc=0x0)
    at platforms/viking/lc/feature/crypto/macsec/lib/src/platform_macsec_shmem.c:186
186      tx_sc->node_state = NODE_STATE_FREE;
~~~~~~~~~~~~~~~~~~~~~~~~~stack traces~~~~~~~~~~~~~~~~~~~~~~~~~
#0  pl_macsec_tx_sc_shmem_free (tx_sc=0x0) at platforms/viking/lc/feature/crypto/macsec/lib/src/platform_macsec_shmem.c:186
(Last committed at Sat Nov 10 14:30:06 2018 +0530, by maniksin,  DDTS(s): ['uCSCvm97443'])
#1  0x00007f3c5d1da0a1 in macsec_ea_platform_cleanup_tx_sc (idb=idb@entry=0x55ff7a2cfc88, tx_sc=0x55ff7a2d0418) at platforms/viking/lc/feature/crypto/macsec/lib/src/platform_macsec_init.c:1382
(Last committed at Wed Nov 13 15:52:56 2019 +0530, by pseetha2,  DDTS(s): ['uCSCvq41959'] <-----the latest commit)
#2  0x00007f3c5cd32c38 in macsec_ea_idb_delete_tx_sc (idb=idb@entry=0x55ff7a2cfc88) at crypto/macsec_mka/iox/ea/macsec_ea_idb.c:559
(Last committed at Wed Oct 10 07:36:06 2018 +0530, by chgaddam,  DDTS(s): ['uCSCvm75027'])
#3  0x00007f3c5cd33362 in macsec_ea_sweep_stale_rxsc_and_txsc () at crypto/macsec_mka/iox/ea/macsec_ea_idb.c:814
(Last committed at Wed Oct 10 07:36:06 2018 +0530, by chgaddam,  DDTS(s): ['uCSCvm75027'])
#4  0x00007f3c5cd35d78 in macsec_ea_chkpt_recover () at crypto/macsec_mka/iox/ea/macsec_ea_chkpt.c:111
(Last committed at Thu Jun 8 02:34:04 2017 -0800, by annusin,  DDTS(s): ['uCSCve46995'])
#5  0x00007f3c5cd35e80 in macsec_ea_chkpt_init (evm=) at crypto/macsec_mka/iox/ea/macsec_ea_chkpt.c:158 (Last committed at Thu Jun 8 02:34:04 2017 -0800, by annusin, DDTS(s): ['uCSCve46995']) #6 0x000055ff79a42a5d in macsec_ea_post_platform_init () at crypto/macsec_mka/iox/ea/macsec_ea_main.c:345 (Last committed at Fri Apr 5 17:57:19 2019 +0530, by annusin, DDTS(s): ['uCSCvp19015']) #7 ea_init_platform () at crypto/macsec_mka/iox/ea/macsec_ea_main.c:135 (Last committed at Fri Apr 5 17:57:19 2019 +0530, by annusin, DDTS(s): ['uCSCvp19015']) #8 0x000055ff79a42fcf in macsec_ea_init () at crypto/macsec_mka/iox/ea/macsec_ea_main.c:414 (Last committed at Fri Apr 5 17:57:19 2019 +0530, by annusin, DDTS(s): ['uCSCvp19015']) #9 0x000055ff79a430a2 in main (argc=, argv=) at crypto/macsec_mka/iox/ea/macsec_ea_main.c:473 (Last committed at Fri Apr 5 17:57:19 2019 +0530, by annusin, DDTS(s): ['uCSCvp19015'])

Conditions:
Trigger 
******
 
This issue is seen when removing the bundle id from the member interface in UUT
 
VEGA-R1-9K-5 ( UUT ) 
******************
 
RP/0/RSP0/CPU0:VEGA-R1-9K-5#                show macsec mka  session 
Fri Dec 20 08:08:59.309 UTC
 
 
NODE: node0_1_CPU0
===============================================================================================
   Interface-Name        Local-TxSCI       #Peers   Status   Key-Server   PSK/EAP      CKN     
===============================================================================================
     Te0/1/0/0       78ba.f958.e120/0001     1      Secured      NO       PRIMARY  012345 ...  
     Te0/1/0/1       78ba.f958.e121/0001     1      Secured      NO       PRIMARY  012345 ...  
    Te0/1/0/13.1     78ba.f958.e12d/0001     1      Secured      NO       PRIMARY  012345 ...  
    Te0/1/0/13.2     78ba.f958.e12d/0002     1      Secured      NO       PRIMARY  012345 ...  
    Te0/1/0/13.3     78ba.f958.e12d/0003     1      Secured      NO       PRIMARY  012345 ...  
    Te0/1/0/13.4     78ba.f958.e12d/0004     1      Secured      NO       PRIMARY  012345 ...  
    Te0/1/0/13.5     78ba.f958.e12d/0005     1      Secured      NO       PRIMARY  012345 ...  
    Te0/1/0/13.6     78ba.f958.e12d/0006     1      Secured      NO       PRIMARY  012345 ...  
    Te0/1/0/13.7     78ba.f958.e12d/0007     1      Secured      NO       PRIMARY  012345 ...  
    Te0/1/0/13.8     78ba.f958.e12d/0008     1      Secured      NO       PRIMARY  012345 ...  
    Te0/1/0/13.9     78ba.f958.e12d/0009     1      Secured      NO       PRIMARY  012345 ...  
   Te0/1/0/13.10     78ba.f958.e12d/000a     1      Secured      NO       PRIMARY  012345 ...  
     Te0/1/0/14      78ba.f958.e12e/0001     1      Secured      NO       PRIMARY  012345 ...  
 
 
VEGA-R2-9K-6 ( NON UUT )
************************
 
RP/0/RP0/CPU0:VEGA-R2-9K-6#show macsec mka session 
 
NODE: node0_5_CPU0
===============================================================================================
   Interface-Name        Local-TxSCI       #Peers   Status   Key-Server   PSK/EAP      CKN     
===============================================================================================
   Te0/5/0/4/0.1     70e4.223e.6f58/0001     1      Secured      YES      PRIMARY  012345 ...  
   Te0/5/0/4/0.2     70e4.223e.6f58/0002     1      Secured      YES      PRIMARY  012345 ...  
   Te0/5/0/4/0.3     70e4.223e.6f58/0003     1      Secured      YES      PRIMARY  012345 ...  
   Te0/5/0/4/0.4     70e4.223e.6f58/0004     1      Secured      YES      PRIMARY  012345 ...  
   Te0/5/0/4/0.5     70e4.223e.6f58/0005     1      Secured      YES      PRIMARY  012345 ...  
   Te0/5/0/4/0.6     70e4.223e.6f58/0006     1      Secured      YES      PRIMARY  012345 ...  
   Te0/5/0/4/0.7     70e4.223e.6f58/0007     1      Secured      YES      PRIMARY  012345 ...  
   Te0/5/0/4/0.8     70e4.223e.6f58/0008     1      Secured      YES      PRIMARY  012345 ...  
   Te0/5/0/4/0.9     70e4.223e.6f58/0009     1      Secured      YES      PRIMARY  012345 ...  
   Te0/5/0/4/0.10    70e4.223e.6f58/000a     1      Secured      YES      PRIMARY  012345 ...  
 
NODE: node0_9_CPU0
===============================================================================================
   Interface-Name        Local-TxSCI       #Peers   Status   Key-Server   PSK/EAP      CKN     
===============================================================================================
    Te0/9/0/2/4      70e4.223e.6db8/0001     0       Init        YES      PRIMARY  012345 ...  
    Te0/9/0/6/7      70e4.223e.6de3/0001     1      Secured      YES      PRIMARY  012345 ...  
    Te0/9/0/6/8      70e4.223e.6de4/0001     1      Secured      YES      PRIMARY  012345 ...  
    Te0/9/0/6/9      70e4.223e.6de5/0001     1      Secured      YES      PRIMARY  012345 ...  
 
 
 
RP/0/RSP0/CPU0:VEGA-R1-9K-5#   show platform
Fri Dec 20 08:12:00.940 UTC
Node              Type                       State             Config state
--------------------------------------------------------------------------------
0/RSP0/CPU0       A9K-RSP5-TR(Active)        IOS XR RUN        NSHUT
0/RSP1/CPU0       A9K-RSP5-TR(Standby)       IOS XR RUN        NSHUT
0/FT0             ASR-9010-FAN-V2            OPERATIONAL       NSHUT
0/FT1             ASR-9010-FAN-V2            OPERATIONAL       NSHUT
0/0/CPU0          A9K-16X100GE-TR            IOS XR RUN        NSHUT
0/1/CPU0          A9K-MOD400-SE              IOS XR RUN        NSHUT  ============= > THK MOD 400
0/1/0             A9K-MPA-20X10GE            OK                
0/1/1             A9K-MPA-20X1GE             OK                
0/5               A9K-MOD160-SE              SW_INACTIVE       
0/PT0             A9K-AC-PEM-V1              OPERATIONAL       NSHUT
0/PT1             A9K-AC-PEM-V1              OPERATIONAL       NSHUT
RP/0/RSP0/CPU0:VEGA-R1-9K-5#
 
 
RP/0/RSP0/CPU0:VEGA-R1-9K-5#show install active summary 
Fri Dec 20 08:12:22.593 UTC
    Active Packages: 16
        asr9k-xr-7.0.2.21I version=7.0.2.21I [Boot image]
        asr9k-ospf-x64-1.0.0.0-r70221I
        asr9k-k9sec-x64-2.1.0.0-r70221I
        asr9k-optic-x64-1.0.0.0-r70221I
        asr9k-mpls-x64-2.0.0.0-r70221I
        asr9k-eigrp-x64-1.0.0.0-r70221I
        asr9k-isis-x64-1.2.0.0-r70221I
        asr9k-mpls-te-rsvp-x64-2.1.0.0-r70221I
        asr9k-mgbl-x64-2.0.0.0-r70221I
        asr9k-services-x64-1.0.0.0-r70221I
        asr9k-mcast-x64-2.0.0.0-r70221I
        asr9k-m2m-x64-2.0.0.0-r70221I
        asr9k-li-x64-1.1.0.0-r70221I
        asr9k-bng-x64-1.0.0.0-r70221I
        asr9k-9000v-nV-x64-1.0.0.0-r70221I
        asr9k-fwding-64-4.0.0.2-r70221I.CSCvs10186
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.