Forum: GNU Radio problem with 3.6.2

Posted by Stephen (Guest)
on 2012-10-13 20:37
(Received via mailing list)
Hi,

I was using 3.6 with no issues. Today I updated to 3.6.3 and get the
following error when I try to start the flowgraph. I did rebuild all
parts of my application.

terminate called after throwing an instance of 'Using Volk machine:
sse4_1_64_orc
std::invalid_argument'
  what():  gr_buffer_add_reader: nzero_preload must be >= 0
The program has unexpectedly finished.

Does anyone have any idea where I could start looking?

thanks,
steve
Posted by Josh Blum (Guest)
on 2012-10-14 19:07
(Received via mailing list)
On 10/13/2012 11:36 AM, Stephen wrote:
>   what():  gr_buffer_add_reader: nzero_preload must be >= 0
> The program has unexpectedly finished.
>
> Does anyone have any idea where I could start looking?

set_history needs to be at least 1.

(because this actually means a history of user_history_setting-1 is
prepended to the start of the buffer)

-josh
Posted by Stephen (Guest)
on 2012-10-15 00:03
(Received via mailing list)
On 10/14/2012 12:06 PM, Josh Blum wrote:
>
>
>
> set_history needs to be at least 1.
>
> (because this actually means a history of user_history_setting-1 is
> prepended to the start of the buffer)
>
> -josh
>

thanks for the reply but I don't know what that means. What is
set_history? I don't explicitly use gr_buffer in my application. I do
use  gr message queues. But all of my message queues are initialized
with a size.

steve
Posted by Josh Blum (Guest)
on 2012-10-15 18:28
(Received via mailing list)
On 10/14/2012 03:02 PM, Stephen wrote:
>>
>> -josh
>>
>
> thanks for the reply but I don't know what that means. What is
> set_history? I don't explicitly use gr_buffer in my application. I do
> use  gr message queues. But all of my message queues are initialized
> with a size.
>

Somewhere (probably) there is a block in your flow graph that is calling
set_history(0). Perhaps you have some filter taps that are unset (empty
array)?

-josh
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.