[srslte-users] seg fault when running pdsch_enodeb with -p > 15 (X300 box)

Jasuja, Ishwar Ishwar.Jasuja at spirent.com
Tue Jun 21 17:58:08 UTC 2016


I am getting segmentation fault when I try to run at channel bandwidth >= 5MHz. Stack trace show below.

I increased the size for following allocation and segmentation fault stopped occurring  but pdsch_ue fails to find pss.
Things seem to work fine for nof_prb = 6 & 15.

  output_buffer = srslte_vec_malloc(4 * sizeof(cf_t) * sf_n_samples);
  if (!output_buffer) {

Let me know if you need me to provide any more information.

Can you point me to an area of code where I can dig in and put more debug messages to figure out what is going on?


Note: I am using two X300 Ettus boxes connected b2b with SMA cable (20db attenuator)

./pdsch_enodeb -a "type=x300,master_clock_rate=184.32e6" -f 2000000000 -p 25  (one of the debug message: Setting sampling rate 5.76 MHz)

./pdsch_ue -f 2000000000 -g 30 -a "type=x300,master_clock_rate=184.32e6" -p 25 ([INFO]:  Setting sampling frequency 1.92 MHz for PSS search)

Program received signal SIGSEGV, Segmentation fault.
0x00007f8aca2c2e43 in uhd_tx_streamer_send () from /usr/local/lib/libuhd.so.003
(gdb) bt
#0  0x00007f8aca2c2e43 in uhd_tx_streamer_send () from /usr/local/lib/libuhd.so.003
#1  0x00007f8acb783959 in rf_uhd_send_timed (h=0x233aa90, data=0x234b540, nsamples=11520, secs=<optimized out>, frac_secs=<optimized out>, has_time_spec=<optimized out>,
    blocking=<optimized out>, is_start_of_burst=true, is_end_of_burst=false) at /home2/ijasuja/srsLTE/srslte/lib/rf/rf_uhd_imp.c:525
#2  0x00007f8acb7821df in srslte_rf_send_timed3 (is_end_of_burst=is_end_of_burst at entry=false, is_start_of_burst=is_start_of_burst at entry=false, blocking=blocking at entry=true,
    has_time_spec=false, frac_secs=0, secs=0, nsamples=<optimized out>, data=<optimized out>, rf=rf at entry=0x631e00 <rf>) at /home2/ijasuja/srsLTE/srslte/lib/rf/rf_imp.c:276
#3  srslte_rf_send2 (rf=rf at entry=0x631e00 <rf>, data=<optimized out>, nsamples=<optimized out>, blocking=blocking at entry=true, start_of_burst=start_of_burst at entry=true,
    end_of_burst=end_of_burst at entry=false) at /home2/ijasuja/srsLTE/srslte/lib/rf/rf_imp.c:287
#4  0x0000000000402c0c in main (argc=<optimized out>, argv=<optimized out>) at /home2/ijasuja/srsLTE/srslte/examples/pdsch_enodeb.c:713

Spirent Communications e-mail confidentiality.
This e-mail contains confidential and / or privileged information belonging to Spirent Communications plc, its affiliates and / or subsidiaries. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution and / or the taking of any action based upon reliance on the contents of this transmission is strictly forbidden. If you have received this message in error please notify the sender by return e-mail and delete it from your system.

Spirent Communications plc
Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.
Tel No. +44 (0) 1293 767676
Fax No. +44 (0) 1293 767677

Registered in England Number 470893
Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.

Or if within the US,

Spirent Communications,
27349 Agoura Road, Calabasas, CA, 91301, USA.
Tel No. 1-818-676- 2300
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.softwareradiosystems.com/pipermail/srslte-users/attachments/20160621/740dd100/attachment-0001.html>

More information about the srslte-users mailing list