jiangyuanlong 发表于 2021-12-16 16:49:00

OAI GNB在切换场景崩溃

手机Mate40从产品基站切换到OAI GNB基站,报错崩溃退出。分支develop
报错时的信息如下:

    NR_RRCReestablishmentRequest cause Handover Failure
    NR_RRCReestablishmentRequest ue_Identity.physCellId(228) is not equal to current physCellId(0), fallback to RRC establishment
   generate RRCSetup for RRCReestablishmentRequest
   Returning new UE context at 0x7f85c0002100
   Configuring common parameters from NR ServingCellConfig
   config_common() dl_BandwidthP:40
   NR band duplex spacing is 0 KHz (nr_bandtable.band = 41)
   Computing frequency (pointA 501174 => 2505870 KHz (freq_min 2496000 KHz, NR band 41 N_OFFs 499200))
   config_common() dl_BandwidthP:40
   NR band duplex spacing is 0 KHz (nr_bandtable.band = 41)
   Computing frequency (pointA 501174 => 2505870 KHz (freq_min 2496000 KHz, NR band 41 N_OFFs 499200))
   NR band duplex spacing is 0 KHz (nr_bandtable.band = 41)
   NR band 41, duplex mode TDD, duplex spacing = 0 KHz
   Set TX/RX antenna number to 1 (num ssb 1: 80000000,0)
   Setting TDD configuration period to 6
   TDD has been properly configurated
DL frequency 2524950000: band 41, UL frequency 2524950000
   DL frequency 2524950000 Hz, UL frequency 2524950000 Hz: band 41, uldl offset 0 Hz
   Configuring MIB for instance 0, : (Nid_cell 1,DL freq 2524950000, UL freq 2524950000)
   Initializing frame parms for mu 1, N_RB 106, Ncp 0
   Already gNB already configured, do nothing
   Getting Total PRACH info from index 98 (col 1 ) absoluteFrequencyPointA 501174 mu 1 frame_type 1 start_symbol 0 N_t_slot 3 N_dur 4 N_RA_sfn = 1
   Total available RO 3, num of active SSB 1: unused RO = 0 association_period 1 N_RA_sfn 1 total_prach_occasions_per_config_period 3
    Logical Channel DL-CCCH, Generating RRCSetup (bytes 51)
   Scheduling RA-Msg4 for TC_RNTI 0000 (state 4, frame 940, slot 1)
   Unexpected ULSCH HARQ PID 0 (have -1) for RNTI 4aba (ignore this warning for RA)
Error: signal 11:
./nr-softmodem.Rel15(signal_handler+0xb8)
/lib/x86_64-linux-gnu/libc.so.6(+0x3efd0)
./nr-softmodem.Rel15(nr_sr_reporting+0x110)
./nr-softmodem.Rel15(gNB_dlsch_ulsch_scheduler+0x3cd)
./nr-softmodem.Rel15(NR_UL_indication+0x3b2)
./nr-softmodem.Rel15(rx_func+0xb73)
./nr-softmodem.Rel15(one_thread+0xa4)
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)
root@Faked-NR-BTS:/opt/oai/nr/20211012-ran-develop-idcatch#

------------
Thread 40 "Tpool5_-1" received signal SIGSEGV, Segmentation fault.

nr_sr_reporting (Mod_idP=Mod_idP@entry=0, SFN=SFN@entry=627, slot=slot@entry=7)
    at /opt/oai/nr/20211012-ran-develop-idcatch/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c:1392
1392      AssertFatal(pucch_Config->schedulingRequestResourceToAddModList->list.count>0,"NO SR configuration available");
(gdb)
(gdb) bt
#0nr_sr_reporting (Mod_idP=Mod_idP@entry=0, SFN=SFN@entry=627, slot=slot@entry=7)
    at /opt/oai/nr/20211012-ran-develop-idcatch/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c:1392
#10x0000555556060fed in gNB_dlsch_ulsch_scheduler (module_idP=module_idP@entry=0, frame=627, slot=7)
    at /opt/oai/nr/20211012-ran-develop-idcatch/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c:449
#20x000055555605aac2 in NR_UL_indication (UL_info=0x7ffff4c58800) at /opt/oai/nr/20211012-ran-develop-idcatch/openair2/NR_PHY_INTERFACE/NR_IF_Module.c:250
#30x0000555555e0f473 in rx_func (param=<optimized out>) at /opt/oai/nr/20211012-ran-develop-idcatch/executables/nr-gnb.c:265
#40x0000555555e12854 in one_thread (arg=0x5555ef43b670) at /opt/oai/nr/20211012-ran-develop-idcatch/common/utils/threadPool/thread-pool.c:77
#50x00007ffff779c6db in start_thread (arg=0x7fff6c166700) at pthread_create.c:463
#60x00007ffff5a1ba3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

jiangyuanlong 发表于 2021-12-16 17:11:21

pucch_Config 指针为空。
页: [1]
查看完整版本: OAI GNB在切换场景崩溃