Fm_tx4.py Assertion failure

I’m attempting to run the fm_tx4.py sample. The code aborts with the
following error:

python: /usr/include/boost/shared_ptr.hpp:253:
T* boost::shared_ptr::operator->() const [with T = gr_basic_block]:
Assertion `px != 0’ failed.

The same error occurs when built with gnuradio-3.1.1.tar.gz or latest
SVN
development checkout.

The other transmit examples (signal generator) and usrp_nbfm_ptt.py work
fine with the hardware.

I tried the python debugger, but that didn’t really help since the error
was occuring down in the boost C++ code. My guess is it has something
to
do with reading the audio files.

Running Ubuntu LTS 6.x

2.6.15-51-server #1 SMP Tue Feb 12 17:12:18 UTC 2008 i686 GNU/Linux

Any ideas?

On 3/3/08, Michael G. [email protected] wrote:

I’m attempting to run the fm_tx4.py sample. The code aborts with the
following error:

python: /usr/include/boost/shared_ptr.hpp:253:
T* boost::shared_ptr::operator->() const [with T = gr_basic_block]:
Assertion `px != 0’ failed.

This has been fixed in r7915 on the trunk. A call to ‘connect()’ was
missing in the flow graph construction code. We need better error
reporting, clearly. The above resulted from not having the output of
a hierarchical block connected to anything internally.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com/