srsRAN_4G icon indicating copy to clipboard operation
srsRAN_4G copied to clipboard

make test produces a lot of segfaults

Open Rongjun-Chen opened this issue 3 years ago • 2 comments

Issue Description

I run make test and get 968 segfaults while building srsran 21.10.0. cmake_log.txt make_test_log.txt

Setup Details

I compiled it in USRP E310. CPU: ARM Cortex A9 667 MHz dual-core processor GCC:arm-oe-linux-gnueabi

Expected Behavior

all tests should pass

Actual Behaviour

33% tests passed, 968 tests failed out of 1452

Label Time Summary: chest = 555.31 secproc (22 tests) fec = 10.59 secproc (11 tests) ldpc = 0.10 secproc (1 test) lib = 4244.66 secproc (987 tests) lte = 4004.25 secproc (924 tests) nr = 689.15 secproc (280 tests) pdcp = 5.11 secproc (3 tests) phch = 1353.86 secproc (467 tests) phy = 4350.22 secproc (986 tests) polar = 0.02 secproc (1 test) rlc = 32.50 secproc (11 tests) srsenb = 136.96 secproc (10 tests) srsue = 6.21 secproc (3 tests) turbo = 10.47 secproc (9 tests)

Total Test time (real) = 4903.56 sec

The following tests FAILED: 4 - chest_test_dl_cellid0 (SEGFAULT) 5 - chest_test_dl_cellid1 (SEGFAULT) 6 - chest_test_dl_cellid2 (SEGFAULT) 7 - chest_test_dl_cellid0_50prb (SEGFAULT) 8 - chest_test_dl_cellid1_50prb (SEGFAULT) 9 - chest_test_dl_cellid2_50prb (SEGFAULT)

Steps to reproduce the problem

Install everything using the guide and run the make test command

Additional Information

Rongjun-Chen avatar May 12 '22 09:05 Rongjun-Chen

These segfaults seem to occur at the physical layer, you can test if the required libraries are compiled correctly, or use GDB to debug these segfaults.

KaiQia avatar Jun 02 '22 02:06 KaiQia

Thank you!

I use GDB to debug the code , it is indeed a library causes errors. It works after I recompile the library.

Rongjun-Chen avatar Jun 11 '22 01:06 Rongjun-Chen

I understand that you solved the issue by recompiling the library. I close the issue.

xavierarteaga avatar Apr 27 '23 14:04 xavierarteaga