Hello Everyone, Not sure if this is already discussed here.
I am facing segmentation fault when running benchmark_rx in narrowband examples. It seems like those example used to work fine before, but now they are having these issues. on the receiver side =================================== manu@radio3:narrowband$ ./benchmark_rx.py -f 900M -m bpsk --rx-gain=25 -r 1M linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.006.002-1-g9fd308b3 Using Volk machine: avx_64_mmx_orc -- Opening a USRP2/N-Series device... -- Current recv frame size: 1472 bytes -- Current send frame size: 1472 bytes UHD Warning: The recv buffer could not be resized sufficiently. Target sock buff size: 50000000 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.rmem_max=50000000 UHD Warning: The recv buffer could not be resized sufficiently. Target sock buff size: 50000000 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.rmem_max=50000000 UHD Warning: The send buffer could not be resized sufficiently. Target sock buff size: 1048576 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.wmem_max=1048576 UHD Warning: Unable to set the thread priority. Performance may be negatively affected. Please see the general application notes in the manual for instructions. EnvironmentError: OSError: error in pthread_setschedparam Warning: Failed to enable realtime scheduling. Segmentation fault (core dumped) ============================================== What is confusing is that the segmentation fault comes when the transmitter is initialized. On the other hand when I run gmsk it seems to work fine. ================================================ manu@radio3:narrowband$ ./benchmark_rx.py -f 900M -m gmsk --rx-gain=25 -r 2M linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.006.002-1-g9fd308b3 Using Volk machine: avx_64_mmx_orc -- Opening a USRP2/N-Series device... -- Current recv frame size: 1472 bytes -- Current send frame size: 1472 bytes UHD Warning: The recv buffer could not be resized sufficiently. Target sock buff size: 50000000 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.rmem_max=50000000 UHD Warning: The recv buffer could not be resized sufficiently. Target sock buff size: 50000000 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.rmem_max=50000000 UHD Warning: The send buffer could not be resized sufficiently. Target sock buff size: 1048576 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.wmem_max=1048576 UHD Warning: Unable to set the thread priority. Performance may be negatively affected. Please see the general application notes in the manual for instructions. EnvironmentError: OSError: error in pthread_setschedparam UHD Warning: The requested decimation is odd; the user should expect CIC rolloff. Select an even decimation to ensure that a halfband filter is enabled. decimation = dsp_rate/samp_rate -> 25 = (100.000000 MHz)/(4.000000 MHz) Warning: Failed to enable realtime scheduling. UHD Warning: The requested decimation is odd; the user should expect CIC rolloff. Select an even decimation to ensure that a halfband filter is enabled. decimation = dsp_rate/samp_rate -> 25 = (100.000000 MHz)/(4.000000 MHz) ok = True pktno = 0 n_rcvd = 1 n_right = 1 ok = True pktno = 1 n_rcvd = 2 n_right = 2 ok = True pktno = 2 n_rcvd = 3 n_right = 3 ok = True pktno = 3 n_rcvd = 4 n_right = 4 ok = True pktno = 4 n_rcvd = 5 n_right = 5 ok = True pktno = 5 n_rcvd = 6 n_right = 6 =================================================== =================================================== manu@radio3:narrowband$ gnuradio-config-info -v v3.7.2.1-159-g3fa56a46 manu@radio3:narrowband$ uname --all Linux radio3 3.8.0-36-generic #52~precise1-Ubuntu SMP Mon Feb 3 21:54:46 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux =================================================== Any ideas?? -- Manu T S
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio