Re: [Discuss-gnuradio] vector sink "malloc(): memory corruption" / object was probably modified after being freed

2018-05-01 Thread Brad Hein
I'll do my best, but it might take me quite some time to get gdb set up with the symbols you mentioned. C++/debugging doesn't come naturally for me. What it smells like to me is memory is being freed but then written to. Then when the system goes to allocate memory it says hey that memory isn't so

Re: [Discuss-gnuradio] vector sink "malloc(): memory corruption" / object was probably modified after being freed

2018-04-30 Thread CEL
Hi Brad, Sorry that I missed your mail for so long! So, I'm pretty certain I've fixed a potential race condition when accessing the data vector in vector sink lately: https://github.com/gnuradio/gnuradio/pull/1445 But that should be included in the 3.7.11.1 release you're using... hm. We should

Re: [Discuss-gnuradio] vector sink "malloc(): memory corruption" / object was probably modified after being freed

2018-04-30 Thread CEL
Ah, by the way, the function names where that error occurs are mangled C++ names; I'll try to show what is what (using `c++filt` to demangle the names) > /lib64/libc.so.6(+0x7dd4d)[0x7fa14f448d4d] > /lib64/libc.so.6(__libc_malloc+0x4c)[0x7fa14f44afbc] OK, that's malloc; are we certain that this ha

Re: [Discuss-gnuradio] vector sink data

2012-08-16 Thread abdullah unutmaz
nt: Thursday, August 16, 2012 9:57 AM Subject: Re: [Discuss-gnuradio] vector sink data tb.start() while not_finished:     time.sleep(10)     my_data = tb.my_probe_signal.level()     print(my_data) tb.stop() You can use gr.probe_signal_vc to grab a vector of data, however you'll only grab dat

Re: [Discuss-gnuradio] vector sink data

2012-08-16 Thread Ben Reynwar
t; Abdullah > > ________ > From: abdullah unutmaz > To: Ben Reynwar ; "discuss-gnuradio@gnu.org" > > Sent: Friday, August 10, 2012 3:25 PM > > Subject: Re: [Discuss-gnuradio] vector sink data > > Thanks, I realized what I need to do. Nex

Re: [Discuss-gnuradio] vector sink data

2012-08-16 Thread abdullah unutmaz
quot;discuss-gnuradio@gnu.org" Sent: Friday, August 10, 2012 3:25 PM Subject: Re: [Discuss-gnuradio] vector sink data Thanks, I realized what I need to do. Next monday I can try it, probably it will solve the problem. From: Ben Reynwar To: abdullah unutmaz ; discuss-gnuradio Discussio

Re: [Discuss-gnuradio] vector sink data

2012-08-10 Thread abdullah unutmaz
stored data. > > What may be the problem, any idea? > > - Abdullah > > > From: Ben Reynwar > To: abdullah unutmaz ; discuss-gnuradio > Discussion Group > Sent: Thursday, August 9, 2012 6:29 PM > Subject: Re: [Discuss-gnuradio] vector si

Re: [Discuss-gnuradio] vector sink data

2012-08-10 Thread Ben Reynwar
; > What may be the problem, any idea? > > - Abdullah > > > From: Ben Reynwar > To: abdullah unutmaz ; discuss-gnuradio > Discussion Group > Sent: Thursday, August 9, 2012 6:29 PM > Subject: Re: [Discuss-gnuradio] vector sink data &

Re: [Discuss-gnuradio] vector sink data

2012-08-10 Thread abdullah unutmaz
: abdullah unutmaz ; discuss-gnuradio Discussion Group Sent: Thursday, August 9, 2012 6:29 PM Subject: Re: [Discuss-gnuradio] vector sink data On Thu, Aug 9, 2012 at 1:53 PM, abdullah unutmaz wrote: > Greetings, > > I would like to ask you how to read the data stored in a vector sink. I &g

Re: [Discuss-gnuradio] vector sink data

2012-08-09 Thread Ben Reynwar
On Thu, Aug 9, 2012 at 1:53 PM, abdullah unutmaz wrote: > Greetings, > > I would like to ask you how to read the data stored in a vector sink. I > tried the solutions I found in the discussion list. You can see some part of > my python code below. >

Re: [Discuss-gnuradio] vector sink question

2012-03-18 Thread Tom Rondeau
On Sat, Mar 17, 2012 at 5:54 PM, s k wrote: > Hi All, > > I want to ask a maybe simple question. I want to take the output of > connection of some blocks as a vector. But after connect() function i > couldn't find where it puts the output string. I also tried to use vector > function. But it has

Re: [Discuss-gnuradio] Vector sink

2011-07-05 Thread Tom Rondeau
On Tue, Jul 5, 2011 at 7:50 PM, Marcus D. Leech wrote: > What's the intended usage for a "Vector Sink"? I have the output vector > (after complex-to-mag, and IIR filtering) of an FFT, and I want to > pick out specfic subsets of bins, and do stuff with them. > > > -- > Marcus Leech > Principal I

Re: [Discuss-gnuradio] Vector sink

2011-07-05 Thread Marcus D. Leech
The vector sinks are not meant for "production" code, but for simple tests scripts. If you need to continuously get data out of a flow graph, the best approach is to use a message sink and have a thread that reads the message queue until another message is posted, then you do what you want wi