[srsran-users] srsRAN crashes when gui is enabled

Mats Ekholm progtra at gmail.com
Fri May 20 09:17:42 UTC 2022


Hi,

I've got an issue with starting an srsGUI with srsenb or srsue.
srsenb/srsue is running ok when gui is disabled and crashes when I enable
it in the enb.conf file.

*Enabling GUI:*
[gui]
enable = true

*gNB log:*
(base) usrpuser1 at usrpuser1-desktop:~/srsRAN/srsgnb$ sudo srsenb enb.conf
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_soapy.so
libsrsran_rf_blade.so libsrsran_rf_zmq.so
Inactive RF plugins:
---  Software Radio Systems LTE eNodeB  ---

Reading configuration file enb.conf...

Built in Release mode using commit f2dff0b7a on branch master.

Opening 1 channels in RF device=zmq with
args=fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=11.52e6
Supported RF device list: UHD soapy bladeRF zmq file
CHx base_srate=11.52e6
CHx id=enb
Current sample rate is 1.92 MHz with a base rate of 11.52 MHz (x6
decimation)
CH0 rx_port=tcp://localhost:2001
CH0 tx_port=tcp://*:2000
CH0 fail_on_disconnect=true
NG connection successful

==== eNodeB started ===
Type <t> to view trace
Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1
decimation)
Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1
decimation)
Setting frequency: DL=1842.5 Mhz, UL=1747.5 MHz for cc_idx=0 nof_prb=52
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 0) >= this->size() (which
is 0)
--- command='srsenb enb.conf' version=22.04.0 signal=6 date='20/05/2022
09:01:17' ---
srsenb(+0x346c6e) [0x55673a79bc6e]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef10) [0x7f6651a80f10]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f6651a80e87]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f6651a827f1]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8c957) [0x7f6652475957]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92ae6) [0x7f665247bae6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92b21) [0x7f665247bb21]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92d54) [0x7f665247bd54]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8e85d) [0x7f665247785d]
srsenb(+0xa39ce) [0x55673a4f89ce]
srsenb(+0x72a83) [0x55673a4c7a83]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f6651a63c87]
srsenb(+0x75cca) [0x55673a4cacca]
srsRAN crashed. Please send this backtrace to the developers ...
---  exiting  ---
/home/usrpuser1/srsRAN/lib/include/srsran/adt/pool/obj_pool.h:76: Assertion
Failure: Not all objects have been deallocated (107 < 128)
--- command='srsenb enb.conf' version=22.04.0 signal=6 date='20/05/2022
09:01:17' ---
srsenb(+0x346c6e) [0x55673a79bc6e]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef10) [0x7f6651a80f10]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f6651a80e87]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f6651a827f1]
srsenb(+0x93a7e) [0x55673a4e8a7e]
srsenb(+0x2e1ba2) [0x55673a736ba2]
srsenb(+0x2bac12) [0x55673a70fc12]
/lib/x86_64-linux-gnu/libc.so.6(+0x43031) [0x7f6651a85031]
/lib/x86_64-linux-gnu/libc.so.6(+0x4312a) [0x7f6651a8512a]
srsenb(+0x346ca4) [0x55673a79bca4]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef10) [0x7f6651a80f10]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f6651a80e87]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f6651a827f1]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8c957) [0x7f6652475957]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92ae6) [0x7f665247bae6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92b21) [0x7f665247bb21]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92d54) [0x7f665247bd54]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8e85d) [0x7f665247785d]
srsenb(+0xa39ce) [0x55673a4f89ce]
srsenb(+0x72a83) [0x55673a4c7a83]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f6651a63c87]
srsenb(+0x75cca) [0x55673a4cacca]
srsRAN crashed. Please send this backtrace to the developers ...
---  exiting  ---

*srsGUI passes all tests successfully:*
(base) usrpuser1 at usrpuser1-desktop:~/srsGUI/build$ make test
Running tests...
/usr/bin/ctest --force-new-ctest-process
Test project /home/usrpuser1/srsGUI/build
    Start 1: waterfallplot_test_c
1/8 Test #1: waterfallplot_test_c .............   Passed    1.82 sec
    Start 2: complexplot_test_c
2/8 Test #2: complexplot_test_c ...............   Passed    1.45 sec
    Start 3: realplot_test_c
3/8 Test #3: realplot_test_c ..................   Passed    1.46 sec
    Start 4: scatterplot_test_c
4/8 Test #4: scatterplot_test_c ...............   Passed    1.52 sec
    Start 5: waterfallplot_test
5/8 Test #5: waterfallplot_test ...............   Passed    2.61 sec
    Start 6: complexplot_test
6/8 Test #6: complexplot_test .................   Passed    1.59 sec
    Start 7: realplot_test
7/8 Test #7: realplot_test ....................   Passed    1.31 sec
    Start 8: scatterplot_test
8/8 Test #8: scatterplot_test .................   Passed    1.29 sec

100% tests passed, 0 tests failed out of 8

Total Test time (real) =  13.07 sec

Please advise what could be the reason for these crashes.
Thanks.

Kind regards,
Mats
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220520/0515c59c/attachment.htm>


More information about the srsran-users mailing list