项目

一般

简介

错误 #260

smf 收到上下文释放请求时挂死

徐 红超超过 4 年 之前添加. 更新于 超过 4 年 之前.

状态:
已关闭
优先级:
普通
指派给:
类别:
-
目标版本:
-
开始日期:
2020-11-17
计划完成日期:
% 完成:

0%

预期时间:
问题归属:

描述

挂死log如下:
INFO[2020-11-17T11:40:05+08:00]/src/smf/pfcp/handler/handler.go:310 free5gc/src/smf/pfcp/handler.HandlePfcpSessionDeletionResponse() PFCP Session Deletion Success26 SMF=pfcp
[GIN] 2020/11/17 - 11:40:05 | 200 | 957.529µs | 127.0.0.1 | POST /nsmf-pdusession/v1/sm-contexts/imsi-001010000000005-5/modify
INFO[2020-11-17T11:40:10+08:00]/src/smf/pdusession/api_individual_sm_context.go:26 free5gc/src/smf/pdusession.ReleaseSmContext() Recieve Release SM Context Request SMF=pdu_session

Thread 18 "smf" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff8b7fe700 (LWP 4403)]
free5gc/src/smf/context.(*DataPathNode).DeactivateDownLinkTunnel (node=0xc000f4c180, smContext=0xc000595080)
at /home/epc/go/src/free5gc/src/smf/context/datapath.go:189
189 far := node.DownLinkTunnel.PDR.FAR
(gdb) bt
#0 free5gc/src/smf/context.(*DataPathNode).DeactivateDownLinkTunnel (node=0xc000f4c180, smContext=0xc000595080)
at /home/epc/go/src/free5gc/src/smf/context/datapath.go:189
#1 0x0000000000acf055 in free5gc/src/smf/context.(*DataPath).DeactivateTunnelAndPDR (dataPath=0xc000f421e0, smContext=0xc000595080)
at /home/epc/go/src/free5gc/src/smf/context/datapath.go:465
#2 0x0000000000b0a4b5 in free5gc/src/smf/producer.HandlePDUSessionSMContextRelease (rspChan=<optimized out>, smContextRef=..., body=...,
seqNum=<optimized out>) at /home/epc/go/src/free5gc/src/smf/producer/pdu_session.go:515
#3 0x0000000000b10c80 in free5gc/src/smf/handler.Handle () at /home/epc/go/src/free5gc/src/smf/handler/handler.go:35
#4 0x0000000000464d21 in runtime.goexit () at /usr/local/go/src/runtime/asm_amd64.s:1373
#5 0x0000000000000000 in ?? ()

历史记录

#1

徐 红超 更新于 超过 4 年 之前

  • 状态新建 变更为 已解决

DownLinkTunnel.PDR空指针导致smf挂死。

#2

徐 红超 更新于 超过 4 年 之前

  • 状态已解决 变更为 已关闭

导出 Atom PDF