You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using UPG-VPP 1.6 as UPF with free5gc core.
All features are running well until I try to ping an UE from another UE: UPF crashes showing this error message:
The crash disappears when I comment/remove this bloc (file upf.h lines from 81 to 101 + line 112):
#if CLIB_DEBUG > 0
/*
* For debug builds, we add a flag to each buffer when we initialize
* GTPU metadata when the buffer is processed by one of the UPF
* entry nodes (upf-gtpu[46]-input, upf-ip[46]-session-dpo,
* upf-ip[46]-proxy-server-output)
*/
#define UPF_BUFFER_F_GTPU_INITIALIZED VNET_BUFFER_F_AVAIL1
#define UPF_ENTER_SUBGRAPH(b) \
do { \
ASSERT (!(b->flags & UPF_BUFFER_F_GTPU_INITIALIZED)); \
b->flags |= UPF_BUFFER_F_GTPU_INITIALIZED; \
upf_buffer_opaque (b)->gtpu.hdr_flags = 0; \
} while (0)
#define UPF_CHECK_INNER_NODE(b) ASSERT (b->flags & UPF_BUFFER_F_GTPU_INITIALIZED)
#else
It seems that initializing gtpu metadata in the debug place is causing the problem.
Could you tell me please if disabling this part could be a good fix for this crash ?
Best regards.
Salhi K.
The text was updated successfully, but these errors were encountered:
Salhi-K
changed the title
UPG crashes when an UE pings another UE in the same UPF.
UPG crash when an UE pings another UE in the same UPF.
Feb 3, 2023
Hello @Salhi-K
It seems you are running debug version of UPG build with assertion included. To avoid the crash you can use release UPG build. If there is a need to use debug build we would recommend either to remove this assertion or change #if CLIB_DEBUG > 0 to #if CLIB_DEBUG > 2 this prevent code for being executed.
Just a note here - 3GPP specs are not strict to UE-UE accessibility. If same UPG is serving both UE sessions, traffic will be routed from one UE to another within SGi FIB table and counted correctly. But it won't leave SGi interface.
Hello,
I'm using UPG-VPP 1.6 as UPF with free5gc core.
All features are running well until I try to ping an UE from another UE: UPF crashes showing this error message:
A .pcap file of the session establishment call flow and gtpu packets is attached.
upg-vpp-crash-ping-2-ue.tar.gz
The crash disappears when I comment/remove this bloc (file upf.h lines from 81 to 101 + line 112):
It seems that initializing gtpu metadata in the debug place is causing the problem.
Could you tell me please if disabling this part could be a good fix for this crash ?
Best regards.
Salhi K.
The text was updated successfully, but these errors were encountered: