discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] failed assertion in gr_buffer.h


From: Ed Criscuolo
Subject: [Discuss-gnuradio] failed assertion in gr_buffer.h
Date: Mon, 19 Nov 2007 10:43:32 -0500
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414

I'm having difficulty with a block I'm writing that I've been
unable to resolve, and I hope somebody out there can help.

The block's input and output run at different rates, so I
inherited from gr_block, as in the howto-write-a-block-3.1.1
first example.  In addition, I supplied a forecast method
that returns the number of input items required for a given
number of output items, and I used the
"set_relative_rate" method in the constructor to set
the relative rate to output_rate/input_rate.

When I do a "make check" to run my test case, I get:

Making check in python
make  check-TESTS
.../gr_buffer.h:96: failed assertion `s < d_bufsize'

After a little debug, I found that this happens when
fg.run() is invoked.

The code in gr_buffer.h does not ovver much to go on ,
other than the fact that it happens while doing an
"add".

Can someone who is more familiar with the runtime
system point me in the right direction?  My details
are:

MacBook Pro dual 2.33 GHz
Mac OSX 10.4.11
Gnu Radio 3.1.1

TIA

@(^.^)@  Ed





reply via email to

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