Symptom
lspv_server crash when mpls pseudowire echo-request
Using host libthread_db library "/auto/iox-ucs-047-san2/prod/7.5.4.14I.DT_IMAGE/ncs5500/ws/thirdparty/opensource/sdk/x86_64/lib64/libthread_db.so.1".
Core was generated by `lspv_server'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 lspv_echo_request_tx_handler (reqp=0x7f63d578dd28) at mpls/lspv/src/lspv_fsm.c:322
322 u.lsp_l2vpn_info.fec_type == LSP_L2VPN_CTXT_FEC128) {
(gdb) bt
#0 lspv_echo_request_tx_handler (reqp=0x7f63d578dd28) at mpls/lspv/src/lspv_fsm.c:322
#1 0x000055c0cf5aab29 in lspv_echo_action_send_next (reqp=0x7f63d578dd28) at mpls/lspv/src/lspv_fsm.c:3030
#2 0x000055c0cf5aa5ec in lspv_echo_action_start (reqp=0x7f63d578dd28) at mpls/lspv/src/lspv_fsm.c:2401
#3 0x000055c0cf5a6b7f in lspv_handle_event (reqp=0x7f63d578dd28, event=) at mpls/lspv/src/lspv_fsm.c:463
#4 0x000055c0cf595ab4 in lspv_api_server_mh_echo_submit_req (evc=, ap=) at mpls/lspv/src/lspv_api_server.c:2930
#5 0x00007f6406a525cf in _event_handle_message (evc=0x7fff396eab50, ap=, ahp=0x7fff396eaaa8) at infra/infra/event_manager/src/evm_socket_message.c:1262
#6 0x00007f6406a52383 in _event_message_handler (evc=0x7fff396eab50, ap=0x55c0cf5a6937 ) at infra/infra/event_manager/src/evm_socket_message.c:1248
#7 0x00007f6406a5c128 in xr_event_dispatch (evc=0x7fff396eab50, ap=0x55c0cf5a6937 ) at infra/infra/event_manager/src/evm_api.c:1149
#8 0x000055c0cf590e26 in lspv_event_loop () at mpls/lspv/src/lspv_main.c:290
#9 0x000055c0cf590cf9 in main (argc=, argv=) at mpls/lspv/src/lspv_main.c:892
(gdb)
Conditions
With MPLS pwe echo-request - lspv_server database updates NULL for the l2vpn property on longer time of operation.
Further Problem Description
it is not easily reproducible.