srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
527 stars 179 forks source link

GNB Crash After E2 RICSubscriptionResponse When There are No UEs Connected #644

Closed Esawi closed 5 months ago

Esawi commented 5 months ago

Issue Description

gnb  | ==== gNodeB started ===
gnb  | Type <t> to view trace
gnb  | Stack trace (most recent call last) in thread 19:
gnb  | #12   Object "", at 0xffffffffffffffff, in 
gnb  | #11   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fcf4ed1184f, in 
gnb  | #10   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fcf4ec7fac2, in 
gnb  | #9    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fcf4eff7252, in 
gnb  | #8    Object "/usr/local/bin/gnb", at 0x55590e1e931e, in 
gnb  | #7    Object "/usr/local/bin/gnb", at 0x55590e26e452, in 
gnb  | #6    Object "/usr/local/bin/gnb", at 0x55590e20bb4f, in 
gnb  | #5    Object "/usr/local/bin/gnb", at 0x55590e229f19, in 
gnb  | #4    Object "/usr/local/bin/gnb", at 0x55590e12e79d, in 
gnb  | #3    Object "/usr/local/bin/gnb", at 0x55590e12d121, in 
gnb  | #2    Object "/usr/local/bin/gnb", at 0x55590e1054dd, in 
gnb  | #1    Object "/usr/local/bin/gnb", at 0x55590e114cd0, in 
gnb  | #0    Object "/usr/local/bin/gnb", at 0x55590e1131f2, in 
gnb  | Segmentation fault (Address not mapped to object [0x10])
gnb  | watf? exit
gnb exited with code 1

Setup Details

srsran: main branch commit f3ed07a (21052024)

Logs, Configs for the crash (No UE was connected to the cell before the Subscription) run01_with_crash.zip

Logs, Configs for the normal behavior (There was a UE Connected to the cell before the subscription) run02_normal_behavior_with_UEs_connected.zip

Steps to reproduce the problem

yagoda commented 5 months ago

Hi Esawi,

We will reproduce it here and get back to you!

thanks, Justin

pgawlowicz commented 5 months ago

@Esawi thanks for pointing this out. The issue was fixed and the fix will be available in the next release.