We got a crash with following backtrace:
-
Frame 0: 0x0000000004bb27b1 in malloc_heap_free ()
-
Frame 1: 0x0000000004bb3426 in rte_free ()
-
Frame 2: 0x0000000001481c31 in phydi_nr5g_destroy_buffers() (phyInstance=, nIsFree=) at auxlib/phydi/phydi.c:4998
In phydi_nr5g_destroy_buffers function, we are freeing a memory (post doing a null check on it) by calling rte_free function.
We have allocated this memory using rte_malloc() function. As per our debugging it is confirmed that the pointer address is not getting corrupted while being passed to rte_free function and thus, crash should be internal to rte_free function.
NOTE: We allocate memory for many other buffers using same (rte_malloc) in our project code base
Kindly help us with other probable conditions for the above crash and a probable solution to overcome the same.
Abhishek Bajpai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1