[USRP-users] Re: nr-softmodem: reproducible segfault in libuhd with Ettus N310 SDR

2023-09-13 Thread Marcus D. Leech
On 13/09/2023 09:29, Thomas Dreibholz wrote: Hi, indeed, this is a bug in OpenAirInterface. I already filed a bug report with fix there: https://gitlab.eurecom.fr/oai/openairinterface5g/-/issues/681 . The proposed fix seems to work. OK, it was this phrase you used here:     "So, this is v

[USRP-users] Re: nr-softmodem: reproducible segfault in libuhd with Ettus N310 SDR

2023-09-13 Thread Thomas Dreibholz
Hi, indeed, this is a bug in OpenAirInterface. I already filed a bug report with fix there: https://gitlab.eurecom.fr/oai/openairinterface5g/-/issues/681 . The proposed fix seems to work. On 9/13/23 15:25, Marcus D. Leech wrote: Unless I'm badly mistaken, this IS NOT a bug in UHD, but rather

[USRP-users] Re: nr-softmodem: reproducible segfault in libuhd with Ettus N310 SDR

2023-09-13 Thread Marcus D. Leech
On 13/09/2023 05:32, Thomas Dreibholz wrote: Hi, the issue occurs in this code (radio/USRP/usrp_lib.cpp of OAI), in the red-marked line (line 757):  samples_received=0; while(samples_received != nsamps) { if(cc>1) { // receive multiple channels (e.g. RF A and RF B)  std::vector buff_ptrs

[USRP-users] Re: nr-softmodem: reproducible segfault in libuhd with Ettus N310 SDR

2023-09-13 Thread Thomas Dreibholz
Hi, the issue occurs in this code (radio/USRP/usrp_lib.cpp of OAI), in the red-marked line (line 757):  samples_received=0; while(samples_received != nsamps) { if(cc>1) { // receive multiple channels (e.g. RF A and RF B)  std::vector buff_ptrs; for(inti=0; irx_stream->recv(buff_ptrs, nsa