错误 #193
upf收到PFCP session modification request出现Segmentation fault
0%
描述
INFO[2020-07-25T02:42:48+08:00] /home/epc/go/src/free5gc/src/upf/src/n4/n4_pfcp_handler.c:827 UpfN4HandleSessionModificationRequest() [PFCP] Session Modification Response, ueip:60.60.0.4 UPF=Util
INFO[2020-07-25T02:42:49+08:00] /home/epc/go/src/free5gc/src/upf/src/n4/n4_dispatcher.c:133 UpfDispatcher() [PFCP] Handle PFCP session modification request UPF=Util
INFO[2020-07-25T02:42:49+08:00] /home/epc/go/src/free5gc/src/upf/src/n4/n4_pfcp_handler.c:827 UpfN4HandleSessionModificationRequest() [PFCP] Session Modification Response, ueip:60.60.0.4 UPF=Util
INFO[2020-07-25T02:42:49+08:00] /home/epc/go/src/free5gc/src/upf/src/n4/n4_dispatcher.c:138 UpfDispatcher() [PFCP] Handle PFCP session deletion request UPF=Util
!!! delete entry !!!
!!! delete entry !!!
!!! delete entry !!!
INFO[2020-07-25T02:42:49+08:00] /home/epc/go/src/free5gc/src/upf/src/n4/n4_pfcp_handler.c:862 UpfN4HandleSessionDeletionRequest() [PFCP] Session Deletion Response UPF=Util
INFO[2020-07-25T02:42:50+08:00] /home/epc/go/src/free5gc/src/upf/src/n4/n4_dispatcher.c:133 UpfDispatcher() [PFCP] Handle PFCP session modification request UPF=Util
INFO[2020-07-25T02:42:50+08:00] /home/epc/go/src/free5gc/src/upf/src/n4/n4_pfcp_handler.c:827 UpfN4HandleSessionModificationRequest() [PFCP] Session Modification Response, ueip:60.60.0.4 UPF=Util
INFO[2020-07-25T02:42:50+08:00] /home/epc/go/src/free5gc/src/upf/src/n4/n4_dispatcher.c:133 UpfDispatcher() [PFCP] Handle UPF=Util
WARN[2020-07-25T02:42:50+08:00] /home/epc/go/src/free5gc/src/upf/lib/utlt/src/utlt_buff.c:197 BufblkAlloc() Pool is empty UPF=Util
ERRO[2020-07-25T02:42:50+08:00] /home/epc/go/src/free5gc/src/upf/lib/utlt/src/utlt_buff.c:198 BufblkAlloc() The pool of Buffer is empty UPF=Util
Thread 1 "free5gc-upfd" received signal SIGSEGV, Segmentation fault.
0x0000555555571f20 in _TlvBuildMessage (bufBlkPtr=0x7fffffffcd78, msg=0x7fffffffce1c, ieDescription=0x555555784e0f <ieDescriptionTable+2831>)
at /home/epc/go/src/free5gc/src/upf/lib/pfcp/src/pfcp_message.c:395
395 uint16_t *tagPtr = (uint16_t *) ((*bufBlkPtr)->buf);
(gdb)
(gdb) bt
#0 0x0000555555571f20 in _TlvBuildMessage (bufBlkPtr=0x7fffffffcd78, msg=0x7fffffffce1c,
ieDescription=0x555555784e0f <ieDescriptionTable+2831>) at /home/epc/go/src/free5gc/src/upf/lib/pfcp/src/pfcp_message.c:395
#1 0x000055555557242d in _PfcpBuildBody (bufBlkPtr=0x7fffffffe298, msg=0x7fffffffce14, ieDescription=0x55555578a71c <ieDescriptionTable+25628>)
at /home/epc/go/src/free5gc/src/upf/lib/pfcp/src/pfcp_message.c:452
#2 0x00005555555727f3 in PfcpBuildMessage (bufBlkPtr=0x7fffffffe298, pfcpMessage=0x7fffffffce00)
at /home/epc/go/src/free5gc/src/upf/lib/pfcp/src/pfcp_message.c:522
#3 0x000055555555c720 in UpfN4BuildSessionModificationResponse (bufBlkPtr=0x7fffffffe298, type=53 '5',
session=0x555556a544f8 <upfSessionPool+792504>, modifyRequest=0x555558cd6bd8 <bufPool8192+90328>, cause=1 '\001')
at /home/epc/go/src/free5gc/src/upf/src/n4/n4_pfcp_build.c:84
#4 0x000055555555fb71 in UpfN4HandleSessionModificationRequest (session=0x555556a544f8 <upfSessionPool+792504>,
xact=0x555558e217b8 <pfcpXactPool+1592>, request=0x555558cd6bd8 <bufPool8192+90328>)
at /home/epc/go/src/free5gc/src/upf/src/n4/n4_pfcp_handler.c:814
#5 0x000055555555c26e in UpfDispatcher (event=0x7fffffffe380) at /home/epc/go/src/free5gc/src/upf/src/n4/n4_dispatcher.c:134
#6 0x00005555555583a0 in eventConsumer () at /home/epc/go/src/free5gc/src/upf/src/upf.c:87
#7 0x00005555555581c3 in main (argc=1, argv=0x7fffffffe4f8) at /home/epc/go/src/free5gc/src/upf/src/upf.c:31
(gdb)