[srslte-users] srsRAN crashed
J Giovatto
jgiovatto at adjacentlink.com
Fri Jul 16 13:32:22 UTC 2021
Hi Tony,
Looks like a segfault "signal=11".
You could use some more debug info.
Did you build with the default build type ?
In your build dir look for CMakeCache.txt
//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=
you can change it to Debug if it is not
CMAKE_BUILD_TYPE:STRING=Debug
and rebuild (make)
Then run the enb using gdb.
#gdb --args srsenb enb.conf
GNU gdb (GDB) Fedora 9.1-7.fc32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./srsenb
run the program ...
#(gdb) run
now wait for it to bomb and get the backtrace ...
#(gdb) bt
you should get some line numbers now sample below ...
#(gdb) bt
#0 0x0000000000d81876 in srsenb::phy_adapter::enb_start() () at
/home/Devel/LTE/srs/srsRAN-emane/srsenb/src/phy/phy_adapter.cc:693
#1 0x0000000000d7d43f in srsenb::txrx::run_thread() (this=0x10f21cc8)
at /home/Devel/LTE/srs/srsRAN-emane/srsenb/src/phy/txrx.cc:133
#2 0x0000000000d1c2d2 in srsran::thread::thread_function_entry(void*)
(_this=0x10f21cc8) at
/home/Devel/LTE/srs/srsRAN-emane/lib/include/srsran/common/threads.h:111
#3 0x00007ffff7f6c432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#4 0x00007ffff6f856d3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Joe
On 7/15/21 10:00 PM, tony yang wrote:
> Dear all:
>
> I tried to run srsRAN on Ubuntu 16.04 with LimeSDR and I got the
> following message:
>
> -- Make connection: 'LimeSDR-USB [USB 3.0] 9060B00463623'
> -- Reference clock 30.72 MHz
> -- Device name: LimeSDR-USB
> -- Reference: 30.72 MHz
> -- LMS7002M register cache: Disabled
> srsRAN crashed... backtrace saved in './srsRAN.backtrace.crash'...
> --- exiting ---
> libusb: warning [libusb_exit] application left some devices open
> srsenb: /usr/include/boost/thread/pthread/mutex.hpp:111:
> boost::mutex::~mutex(): Assertion `!res' failed.
> srsRAN crashed... backtrace saved in './srsRAN.backtrace.crash'...
> --- exiting ---
>
> and there is also the /srsRAN.backtrace.crash:
>
> --- command='srsenb enb.conf' version=21.04.0 signal=11
> date='16/07/2021 01:10:27' ---
> srsenb() [0x633f6e]
> /lib/x86_64-linux-gnu/libc.so.6(+0x354c0) [0x7f132e3634c0]
> /lib/x86_64-linux-gnu/libc.so.6(+0x14e268) [0x7f132e47c268]
> /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm+0xbf)
> [0x7f132ed364ef]
> /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm+0x63)
> [0x7f132ed37833]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(_ZN3uhddvERKNS_7fs_pathES2_+0x9e)
> [0x7f132ddbb54e]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(+0x943035) [0x7f132ddc0035]
> /usr/lib/uhd/modules/x86_64-linux-gnu/libsoapySupport.so(_ZN3uhd13property_tree6createINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_8propertyIT_EERKNS_7fs_pathENS0_13coerce_mode_tE+0xe4)
> [0x7f13294900b4]
> /usr/lib/uhd/modules/x86_64-linux-gnu/libsoapySupport.so(_ZN14UHDSoapyDeviceC1ERKN3uhd13device_addr_tE+0x3af)
> [0x7f132947be5f]
> /usr/lib/uhd/modules/x86_64-linux-gnu/libsoapySupport.so(+0x4eec9)
> [0x7f1329480ec9]
> /usr/lib/uhd/modules/x86_64-linux-gnu/libsoapySupport.so(_ZN5boost6detail8function17function_invoker1IPFNS_10shared_ptrIN3uhd6deviceEEERKNS4_13device_addr_tEES6_S9_E6invokeERNS1_15function_bufferES9_+0x20)
> [0x7f1329481490]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(_ZN3uhd6device4makeERKNS_13device_addr_tENS0_15device_filter_tEm+0xb7e)
> [0x7f132ddb33de]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(_ZN3uhd4usrp10multi_usrp4makeERKNS_13device_addr_tE+0x15e)
> [0x7f132d73b61e]
> /usr/local/lib/libsrsran_rf.so.0(+0x28964) [0x7f132f3cc964]
> /usr/local/lib/libsrsran_rf.so.0(+0x4330c) [0x7f132f3e730c]
> /usr/local/lib/libsrsran_rf.so.0(+0x1a8e3) [0x7f132f3be8e3]
> /usr/local/lib/libsrsran_rf.so.0(rf_uhd_open_multi+0x2e6) [0x7f132f3c0416]
> /usr/local/lib/libsrsran_rf.so.0(srsran_rf_open_devname+0xa9)
> [0x7f132f3b8ed9]
> srsenb() [0x7fdc4f]
> srsenb() [0x804ee5]
> srsenb() [0x47338c]
> srsenb() [0x457912]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f132e34e840]
> srsenb(_start+0x29) [0x459069]
>
> --- command='srsenb enb.conf' version=21.04.0 signal=6
> date='16/07/2021 01:10:28' ---
> srsenb() [0x633f6e]
> /lib/x86_64-linux-gnu/libc.so.6(+0x354c0) [0x7f132e3634c0]
> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f132e363438]
> /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f132e36503a]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2dbe7) [0x7f132e35bbe7]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2dc92) [0x7f132e35bc92]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(+0x1f6c1a) [0x7f132d673c1a]
> /lib/x86_64-linux-gnu/libc.so.6(__cxa_finalize+0x9a) [0x7f132e36837a]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(+0x163393) [0x7f132d5e0393]
>
> --- command='srsenb enb.conf' version=21.04.0 signal=11
> date='16/07/2021 01:31:50' ---
> srsenb() [0x633f6e]
> /lib/x86_64-linux-gnu/libc.so.6(+0x354c0) [0x7f4bd17644c0]
> /lib/x86_64-linux-gnu/libc.so.6(+0x14e268) [0x7f4bd187d268]
> /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm+0xbf)
> [0x7f4bd21374ef]
> /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm+0x63)
> [0x7f4bd2138833]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(_ZN3uhddvERKNS_7fs_pathES2_+0x9e)
> [0x7f4bd11bc54e]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(+0x943035) [0x7f4bd11c1035]
> /usr/lib/uhd/modules/x86_64-linux-gnu/libsoapySupport.so(_ZN3uhd13property_tree6createINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_8propertyIT_EERKNS_7fs_pathENS0_13coerce_mode_tE+0xe4)
> [0x7f4bcc8910b4]
> /usr/lib/uhd/modules/x86_64-linux-gnu/libsoapySupport.so(_ZN14UHDSoapyDeviceC1ERKN3uhd13device_addr_tE+0x3af)
> [0x7f4bcc87ce5f]
> /usr/lib/uhd/modules/x86_64-linux-gnu/libsoapySupport.so(+0x4eec9)
> [0x7f4bcc881ec9]
> /usr/lib/uhd/modules/x86_64-linux-gnu/libsoapySupport.so(_ZN5boost6detail8function17function_invoker1IPFNS_10shared_ptrIN3uhd6deviceEEERKNS4_13device_addr_tEES6_S9_E6invokeERNS1_15function_bufferES9_+0x20)
> [0x7f4bcc882490]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(_ZN3uhd6device4makeERKNS_13device_addr_tENS0_15device_filter_tEm+0xb7e)
> [0x7f4bd11b43de]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(_ZN3uhd4usrp10multi_usrp4makeERKNS_13device_addr_tE+0x15e)
> [0x7f4bd0b3c61e]
> /usr/local/lib/libsrsran_rf.so.0(+0x28964) [0x7f4bd27cd964]
> /usr/local/lib/libsrsran_rf.so.0(+0x4330c) [0x7f4bd27e830c]
> /usr/local/lib/libsrsran_rf.so.0(+0x1a8e3) [0x7f4bd27bf8e3]
> /usr/local/lib/libsrsran_rf.so.0(rf_uhd_open_multi+0x2e6) [0x7f4bd27c1416]
> /usr/local/lib/libsrsran_rf.so.0(srsran_rf_open_devname+0xa9)
> [0x7f4bd27b9ed9]
> srsenb() [0x7fdc4f]
> srsenb() [0x804ee5]
> srsenb() [0x47338c]
> srsenb() [0x457912]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f4bd174f840]
> srsenb(_start+0x29) [0x459069]
>
> --- command='srsenb enb.conf' version=21.04.0 signal=6
> date='16/07/2021 01:31:51' ---
> srsenb() [0x633f6e]
> /lib/x86_64-linux-gnu/libc.so.6(+0x354c0) [0x7f4bd17644c0]
> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f4bd1764438]
> /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f4bd176603a]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2dbe7) [0x7f4bd175cbe7]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2dc92) [0x7f4bd175cc92]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(+0x1f6c1a) [0x7f4bd0a74c1a]
> /lib/x86_64-linux-gnu/libc.so.6(__cxa_finalize+0x9a) [0x7f4bd176937a]
> /usr/lib/x86_64-linux-gnu/libuhd.so.3.15.0(+0x163393) [0x7f4bd09e1393]
>
>
> Any thoughts?
> Please give me some suggestion!
> Thank you
> Tony
>
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> https://lists.softwareradiosystems.com/mailman/listinfo/srslte-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20210716/649c7a36/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20210716/649c7a36/attachment.sig>
More information about the srsran-users
mailing list