discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] USRP2 start/stop issues redux


From: Marc Epard
Subject: [Discuss-gnuradio] USRP2 start/stop issues redux
Date: Tue, 03 Aug 2010 11:00:23 -0500

I'm having a problem similar to the one discussed in this thread:

http://lists.gnu.org/archive/html/discuss-gnuradio/2009-09/msg00002.html 
aka http://www.ruby-forum.com/topic/194488

If I run the test program from that post, it works sometimes, but occasionally an assertion goes off as shown in the terminal output below. 

In my own application (a C++ app based on rx_streaming_samples.cc), I'm stepping through a sequence of frequencies. For each frequency, I set the center frequency, start streaming, buffer up some samples, stop streaming, write the samples to disk and go around again. It works for a few frequencies and then (not always on the same iteration) stop_rx_streaming fails. After that, setting the center frequency always fails. 

The thread above says the problem was fixed and the fix was moved to the master branch. I'm running gnuradio 3.3.0. Do I need to pull another branch?

-Marc

address@hidden:~/Desktop$ ./usrp2_test.py 
python: /usr/include/boost/thread/pthread/mutex.hpp:50: void boost::mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed.
Aborted
address@hidden:~/Desktop$ ./usrp2_test.py 
address@hidden:~/Desktop$ ./usrp2_test.py 
address@hidden:~/Desktop$ ./usrp2_test.py 
python: /usr/include/boost/thread/pthread/mutex.hpp:50: void boost::mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed.
Aborted
address@hidden:~/Desktop$ ./usrp2_test.py 
address@hidden:~/Desktop$ ./usrp2_test.py 
address@hidden:~/Desktop$ ./usrp2_test.py 
python: /usr/include/boost/thread/pthread/mutex.hpp:50: void boost::mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed.
Aborted
address@hidden:~/Desktop$ 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]