Fork of SRS repository `srsRAN_4G`. Branch fix_cqi to fix srsUE issues.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Andre Puschmann b20fefbe45 mac_nr_test: flush srslog at the end of test
fixes stack use after free detected by ASAN

2021-08-31T17:21:44.885938 [MAC-NR ] [D] [    0] Building new MAC PDU (9 B)
==10908==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7ffc481b5340 at pc 0x563c0486d489 bp 0x7ffc481b4470 sp 0x7ffc481b4460
READ of size 1 at 0x7ffc481b5340 thread T0
    #0 0x563c0486d488 in srsran::mac_sch_subpdu_nr::to_string(fmt::v7::basic_memory_buffer<char, 500ul, std::allocator<char> >&) (/home/ubuntu/workspace/srslte_ubuntu_20.04_pull_request/srslte/build/srsue/src/stack/mac_nr/test/mac_nr_test+0x139488)
    #1 0x563c0486db87 in srsran::mac_sch_pdu_nr::to_string(fmt::v7::basic_memory_buffer<char, 500ul, std::allocator<char> >&) (/home/ubuntu/workspace/srslte_ubuntu_20.04_pull_request/srslte/build/srsue/src/stack/mac_nr/test/mac_nr_test+0x139b87)
    #2 0x563c0481c127 in srsue::mux_nr::get_pdu(unsigned int) (/home/ubuntu/workspace/srslte_ubuntu_20.04_pull_request/srslte/build/srsue/src/stack/mac_nr/test/mac_nr_test+0xe8127)
    #3 0x563c0484e62b in srsue::ul_harq_entity_nr::ul_harq_process_nr::new_grant_ul(srsue::mac_interface_phy_nr::mac_nr_grant_ul_t const&, bool const&, srsue::mac_interface_phy_nr::tb_action_ul_t*) (/home/ubuntu/workspace/srslte_ubuntu_20.04_pull_request/srslte/build/srsue/src/stack/mac_nr/test/mac_nr_test+0x11a62b)
    #4 0x563c04850de4 in srsue::ul_harq_entity_nr::new_grant_ul(srsue::mac_interface_phy_nr::mac_nr_grant_ul_t const&, srsue::mac_interface_phy_nr::tb_action_ul_t*) (/home/ubuntu/workspace/srslte_ubuntu_20.04_pull_request/srslte/build/srsue/src/stack/mac_nr/test/mac_nr_test+0x11cde4)
    #5 0x563c047bb004 in srsue::mac_nr::new_grant_ul(unsigned int, srsue::mac_interface_phy_nr::mac_nr_grant_ul_t const&, srsue::mac_interface_phy_nr::tb_action_ul_t*) (/home/ubuntu/workspace/srslte_ubuntu_20.04_pull_request/srslte/build/srsue/src/stack/mac_nr/test/mac_nr_test+0x87004)
    #6 0x563c04760cdc in msg3_test() (/home/ubuntu/workspace/srslte_ubuntu_20.04_pull_request/srslte/build/srsue/src/stack/mac_nr/test/mac_nr_test+0x2ccdc)
    #7 0x563c0475f762 in main (/home/ubuntu/workspace/srslte_ubuntu_20.04_pull_request/srslte/build/srsue/src/stack/mac_nr/test/mac_nr_test+0x2b762)
    #8 0x7fae1cf400b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
    #9 0x563c047601bd in _start (/home/ubuntu/workspace/srslte_ubuntu_20.04_pull_request/srslte/build/srsue/src/stack/mac_nr/test/mac_nr_test+0x2c1bd)

Address 0x7ffc481b5340 is located in stack of thread T0 at offset 320 in frame
    #0 0x563c0486d78f in srsran::mac_sch_pdu_nr::to_string(fmt::v7::basic_memory_buffer<char, 500ul, std::allocator<char> >&) (/home/ubuntu/workspace/srslte_ubuntu_20.04_pull_request/srslte/build/srsue/src/stack/mac_nr/test/mac_nr_test+0x13978f)
3 years ago
.github rename srsLTE to srsRAN 4 years ago
cmake/modules Added new line to split the header from the actual code. 3 years ago
debian build: fix linking failure on RPi 32bit 4 years ago
lib mac_sch_pdu_nr: add to_string() helper to format MAC PDUs in logs 3 years ago
srsenb mac_nr: pretty-print received/transmitted MAC PDUs in logs 3 years ago
srsepc Moved lib GTPU to its own folder 3 years ago
srsue mac_nr_test: flush srslog at the end of test 3 years ago
test Set nr_phy_test scheduler logger to the level defined in the arguments 3 years ago
.clang-format Changed clang-format to remove newline at beggening of block. 4 years ago
.clang-tidy refactor - update of clang-tidy project file. automatic clang-tidy refactors 4 years ago
.gdbinit rename srsLTE to srsRAN 4 years ago
.lgtm.yml add basic lgtm config 5 years ago
.travis.yml Deleted all HAVE_5GNR in CC and h files 4 years ago
CHANGELOG update changelog and version for 21.04 4 years ago
CMakeLists.txt SIDEKIQ: Initial implementation 3 years ago
COPYRIGHT build: fix linking failure on RPi 32bit 4 years ago
CTestConfig.cmake ctestconfig: update valgrind parameters to track origins 3 years ago
CTestCustom.cmake.in SRSUE: avoid testing ue_phy_test 5 years ago
LICENSE change license header to agnostic version with hint to root LICENSE file 4 years ago
README.md readme: update list url 4 years ago
build_trial.sh rename srsLTE to srsRAN 4 years ago
cmake_uninstall.cmake.in Reorganized the directory structure. Added Graphics support. Added precoding/layer mapper. MIB detection now working with 1 or 2 tx antennas. Initial eNodeB implementation with PSS/SSS and PBCH generation 11 years ago
run-clang-format-diff.sh rename srsLTE to srsRAN 4 years ago

README.md

srsRAN

Build Status Language grade: C/C++ Coverity

srsRAN is a 4G/5G software radio suite developed by SRS.

See the srsRAN project pages for information, guides and project news.

The srsRAN suite includes:

  • srsUE - a full-stack SDR 4G/5G-NSA UE application (5G-SA coming soon)
  • srsENB - a full-stack SDR 4G eNodeB application (5G-NSA and 5G-SA coming soon)
  • srsEPC - a light-weight 4G core network implementation with MME, HSS and S/P-GW

For application features, build instructions and user guides see the srsRAN documentation.

For license details, see LICENSE file.

Support

Mailing list: http://www.srs.io/mailman/listinfo/srslte-users