项目

一般

简介

错误 #541

amf处理PDUSessionResourceSetupResponse消息时 挂死

徐 红超大约 4 年 之前添加. 更新于 2 个月 之前.

状态:
已关闭
优先级:
普通
指派给:
类别:
amf
开始日期:
2021-05-12
计划完成日期:
% 完成:

0%

预期时间:
问题归属:
5GC

描述

2021-05-12T17:59:15+08:00 [INFO][AMF][NGAP][192.168.2.247:38412] Handle PDU Session Resource Setup Response (/home/ngc/go/src/free5gc/NFs/amf/ngap/handler.go:1034 github.com/free5gc/amf/ngap.HandlePDUSessionResourceSetupResponse)
2021-05-12T17:59:15+08:00 [ERRO][AMF][NGAP][192.168.2.247:38412][AMF_UE_NGAP_ID:37] SmContext[PDU Session ID:5] not found (/home/ngc/go/src/free5gc/NFs/amf/ngap/handler.go:1087 github.com/free5gc/amf/ngap.HandlePDUSessionResourceSetupResponse)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xd3554b]

goroutine 1282 [running]:
github.com/free5gc/amf/context.(*SmContext).SmfUri(0x0, 0x0, 0x0)
/home/ngc/go/src/free5gc/NFs/amf/context/sm_context.go:148 +0x3b
github.com/free5gc/amf/consumer.SendUpdateSmContextRequest(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/ngc/go/src/free5gc/NFs/amf/consumer/sm_context.go:402 +0x108
github.com/free5gc/amf/consumer.SendUpdateSmContextN2Info(0xc0000d0100, 0x0, 0x1198528, 0x11, 0xc0007e16c0, 0xe, 0x10, 0xc00016c150, 0x5555555555555555, 0x0, ...)
/home/ngc/go/src/free5gc/NFs/amf/consumer/sm_context.go:256 +0x140
github.com/free5gc/amf/ngap.HandlePDUSessionResourceSetupResponse(0xc0002d2000, 0xc0000ad540)
/home/ngc/go/src/free5gc/NFs/amf/ngap/handler.go:1089 +0x8a1
github.com/free5gc/amf/ngap.Dispatch(0x1553980, 0xc0001489a0, 0xc0000ec000, 0x29, 0x2000)
/home/ngc/go/src/free5gc/NFs/amf/ngap/dispatcher.go:115 +0x7f3
github.com/free5gc/amf/ngap/service.handleConnection(0xc0001489a0, 0x2000, 0x11d6c48, 0x11d6c50)
/home/ngc/go/src/free5gc/NFs/amf/ngap/service/service.go:204 +0x700
created by github.com/free5gc/amf/ngap/service.listenAndServe
/home/ngc/go/src/free5gc/NFs/amf/ngap/service/service.go:136 +0xc43


文件

2.png (64.1 KB) 2.png 徐 红超, 2021-05-12 18:10
signal (7).pcap (135 KB) signal (7).pcap 徐 红超, 2021-05-12 18:11

历史记录

#1

徐 红超 更新于 将近 4 年 之前

  • 状态新建 变更为 已解决

由于终端信令紊乱,导致amf处理出错挂死。

#2

徐 红超 更新于 2 个月 之前

  • 状态已解决 变更为 已关闭
  • 问题归属 5GC 已添加

导出 Atom PDF