Skip to content

"std::bad_alloc" when stopping gNB in docker container

** Caught SIGTERM, shutting down
Returned from ITTI signal handler
oai_exit=1
[PHY]   Killing gNB 0 processing threads
Exiting ru_thread 
UUOO[PHY]   Destroying UL_INFO mutex
[PHY]   Stopping RU 0 processing threads
[HW]   releasing USRP
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

Issue observed when stopping a gNB in the docker container, running on Fedora Linux 39.

  • OAI gNB tag: 2024.w14 (1244c9a2)
  • kernel version: 6.7.11-200.fc39.x86_64
  • docker version: Docker version 26.0.0, build 2ae903e
  • UHD version: UHD_4.4.0.HEAD-0-g5fac246b

Coredump and gNB log attached.

gnb_779.log

coredump_779.tar.gz