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

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

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

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

2018-04-15 Thread Brad Hein
The Vector Sink is coming in very handy for some experimentation I'm doing. I'm analyzing the output of an FFT block which terminates into a float vector sink. every few seconds from a thread which then calls reset() to clear the contents in preparation for another read. This seems problematic as

Re: [Discuss-gnuradio] vector sink data

2012-08-16 Thread abdullah unutmaz
...@reynwar.net; discuss-gnuradio@gnu.org 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 b...@reynwar.net

Re: [Discuss-gnuradio] vector sink data

2012-08-16 Thread Ben Reynwar
@gnu.org 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 b...@reynwar.net To: abdullah unutmaz abdullahunut

Re: [Discuss-gnuradio] vector sink data

2012-08-16 Thread abdullah unutmaz
Discussion Group discuss-gnuradio@gnu.org Sent: 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

Re: [Discuss-gnuradio] vector sink data

2012-08-10 Thread abdullah unutmaz
...@reynwar.net To: abdullah unutmaz abdullahunut...@yahoo.com; discuss-gnuradio Discussion Group discuss-gnuradio@gnu.org 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 abdullahunut...@yahoo.com wrote: Greetings

Re: [Discuss-gnuradio] vector sink data

2012-08-10 Thread Ben Reynwar
? - Abdullah From: Ben Reynwar b...@reynwar.net To: abdullah unutmaz abdullahunut...@yahoo.com; discuss-gnuradio Discussion Group discuss-gnuradio@gnu.org Sent: Thursday, August 9, 2012 6:29 PM Subject: Re: [Discuss-gnuradio] vector sink data On Thu, Aug 9, 2012

Re: [Discuss-gnuradio] vector sink data

2012-08-10 Thread abdullah unutmaz
, August 10, 2012 8:37 PM Subject: Re: [Discuss-gnuradio] vector sink data I can't tell what your problem might be without seeing your entire script. A minimal script doing something like this is: from gnuradio import gr tb = gr.top_block() src = gr.vector_source_f([1,2,3,4,5,6]) snk

[Discuss-gnuradio] vector sink data

2012-08-09 Thread abdullah unutmaz
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 data

2012-08-09 Thread Ben Reynwar
On Thu, Aug 9, 2012 at 1:53 PM, abdullah unutmaz abdullahunut...@yahoo.com 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 ofize...@yahoo.com.tr 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

[Discuss-gnuradio] Vector sink

2011-07-05 Thread Marcus D. Leech
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 Investigator Shirleys Bay Radio Astronomy Consortium

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

Re: [Discuss-gnuradio] Vector sink

2011-07-05 Thread Tom Rondeau
On Tue, Jul 5, 2011 at 7:50 PM, Marcus D. Leech mle...@ripnet.com 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