Re: [Discuss-gnuradio] python - double free or corruption error

2015-04-11 Thread Marcus Müller
Also, if you want to go deeper into debugging this, try the following
(assuming you have a modern shell of some kind)

export MALLOC_CHECK_=2
python application.py

This should make free "abort"  at the point it prints out that warning.

you should then be able to

gdb --args python application.py
run

bt

to get a backtrace. For a bit more of background [1].

Greetings,
Marcus

[1] http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsGDB

On 04/10/2015 03:16 PM, Tom Rondeau wrote:
> On Fri, Apr 10, 2015 at 2:49 AM, Andreas Ladanyi
> mailto:andreas.lada...@gmx.net>> wrote:
>
> Hi,
>
> when running a gnuradio application.py from the cmd line after
> some seconds the application crashs and i get the message:
>
> *** Error in `python': double free or corruption (fasttop):
> 0xaf9031c0 ***
>
> Iam using python 2.7.
>
> Any ideas ?
>
> cheers,
> Andy
>
>
> It might be useful to know what your flowgraph looks like since this
> might be the result of a particular block. We've also seen issues of
> this when closing GRC, but that seems to be specific to a version of
> glibc.
>
> What OS are you running? What version of glibc? Anything but canonical
> blocks in the flowgraph?
>
> Tom
>  
>
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] python - double free or corruption error

2015-04-11 Thread ikjtel
On Sat, 11 Apr 2015, Marcus Muller wrote:
>
> to get a backtrace. For a bit more of background [1].
 > 
> [1] http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsGDB
 
Hi Marcus
This writeup on using gdb is great!
I noticed one very small nitpick, the "find" command will fail on any system 
that doesn't suffix the 'core' file name, returning no results.
On my system here (and every ubuntu I've ever used), the core files that get 
generated are simply named "core"...
The first computer I started on (IBM 1130) had real, actual, genuine core 
storage. Of course, during the intervening 40 years I've only ever seen core 
dumps when running programs written by others; my own code _never_ has any had 
any errors, bugs, or faults, whatsoever ;-) 

Best Regards
Max

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Costum FPGA in E310

2015-04-11 Thread linux
Hi all,

I am actually working on a project needs migrate an old FPGA program to E310. 
First, I want to custom the official FPGA program of E310. But I found some 
configurations of PS are not the same on the schematics diagram. And I tried to 
export to SDK, but even the simple hello world program didn't work.

I listed what I have done as follow:

1. first, I downloaded the FPGA source code from this address: 
https://github.com/EttusResearch/fpga/tree/master 

2. I taped these commands to build the project:
$source /opt/Xilinx/14.7/ISE_DS/setting64.sh
$export PATH=$PATH: /opt/Xilinx/14.7/ISE_DS/ISE/bin/bin/lin64/xtclsh
$cd fpga-master/usrp3/top/e300
$make E310

3. This step took about 1 hour. And then, I open the XPS project.
$cd build-E310/zynq-ps
$xps e300_ps.xmp

4. The XPS was just opened. But from here I found some settings I don’t 
understand. In the ZYNQ PS CONFIGURATION, the UART1 was selected using MIO 48 … 
49, but in the schematic diagram of USRP E300 series Motherboard, the UART was 
using UART0. And UART0 used MIO 14 and MIO 15.

5. If I tried to generate the bitstream from this XPS project, it will give me 
a lot of errors like:
ERROR:MapLib:979 - LUT6 symbol

"axi_interconnect_1/axi_interconnect_1/mi_protocol_conv_bank/gen_protocol_slot[0].gen_prot_conv.conv_inst/gen_axi3.axi3_conv_inst/USE_READ.USE_SPLIT.read_addr_inst/Madd_M_AXI_AADDR_I[31]_GND_19_o_add_51_OUT_lut<10>"
(output
signal=axi_interconnect_1/axi_interconnect_1/mi_protocol_conv_bank/gen_protocol_slot[0].gen_prot_conv.conv_inst/gen_axi3.axi3_conv_inst/USE_READ.USE_SPLIT.read_addr_inst/Madd_M_AXI_AADDR_I[31]_GND_19_o_add_51_OUT_lut<10>)
has input signal
"axi_interconnect_1/axi_interconnect_1/mi_protocol_conv_bank/gen_protocol_slot[0].gen_prot_conv.conv_inst/gen_axi3.axi3_conv_inst/USE_READ.USE_SPLIT.read_addr_inst/S_AXI_AADDR_Q<10>"
which will be trimmed. See Section 5 of the Map Report File for details about 
why the input signal will become undriven.

6. Finally, I exported design to SDK with no bitstream, but even the  simple 
Hello world print program didn't work. There was nothing output from the UART 
port.

I want know if there is someone have done a similar work who can tell me where 
am I doing wrong?


Thanks,

Weidong Wang
 







 
 


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] pccc encoder

2015-04-11 Thread dcardona
Hi

Thank you for your help.

Now i`m trying to use only the pccc encoder and pccc decoder blocks, without
modulation.
I`m using the awgn1o2_8.fsm for the fsm parameter because i need a state
machine with those characteristics, and i`m using the error rate block to
make sure that the source is the same than the output of the decoder. But
this value is in the range between 0.02 and 0.06 (when the source is a
random source) when it should be 0 (i`m not using any noise or channel
blocks) and is 0.02 with the vector source V = (0, 1, 0,1,1,0,0,1). Does the
blocks itself introduce an error?

 Also i would want to know if i can create my own fsm file in the case i
need a state machine with characteristics I=2, S=64,O=8 (There is any in the
fsm_files folder). I created one but i don`t know either which is the format
i should use nor where to save it.
 How the Bits per Symbol parameter influences in the error rate?

Again i apologize for my english.

Thank you very much for your help.
FSM284_Vector_Cod_decod_turbo_error_rate.grc

  





--
View this message in context: 
http://gnuradio.4.n7.nabble.com/pccc-encoder-tp53173p53264.html
Sent from the GnuRadio mailing list archive at Nabble.com.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] VOLK 1.0 release

2015-04-11 Thread West, Nathan
VOLK release 1.0 is now available for download:

http://libvolk.org/releases/volk-1.0.tar.gz

MD5 sum: a17129f171747a0ac74fe44686227b69

For those that have not been following GNU Radio development, this is the
first release of VOLK as a sub-project of GNU Radio. This means VOLK lives
in its own git repository and is being tracked and developed independent of
GNU Radio.

As part of this change there is a new project website (http://libvolk.org/)
and IRC channel (#volk on Freenode).

Since being broken out in December and this release the following
individuals have contributed to VOLK:

 * Albert Holguin 
 * Doug Geiger 
 * Elliot Briggs 
 * Julien Olivain 
 * Michael Dickens 
 * Nathan West 
 * Tom Rondeau 

Full release notes are on the website (
http://libvolk.org/initial-release.html). (raw versions available from
http://libvolk.org/news_raw/)

I'm excited about the change and hope to see the continuation and growth of
VOLK development and community. If you see the opportunity for new kernels
don't hesitate to add them. It is not necessary to write an implementation
for every architecture and it is often less work than you might think when
adding a single kernel.

-Nathan West
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Zedboard and Pybombs

2015-04-11 Thread Keyur Parikh
Hello,

I'm trying to get GNU Radio installed on a Zedboard and decided to give
pybombs a shot. It's a take on Ubuntu 12.04 called Xillinux (so that my
group is able to interact with the FPGA).

After running these few lines

   - git clone git://github.com/pybombs/pybombs
   - cd pybombs
   - ./pybombs install gnuradio

My Zedboard took a while to do the installation, but claims 100%
installation... and then nothing. I'm looking in /usr/local/bin for any of
the gr .elf files. As far as I can tell pybombs hasn't actually been
installed anywhere. Am I missing something? Should I be doing something
else entirely when working with an embedded version of Ubuntu? We really
want to stick with this since we know how to send data to and from the FPGA
already.

Thanks,
Keyur
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Zedboard and Pybombs

2015-04-11 Thread Greg
Keyur,
You'll want to do './pybombs env' to create a setup_env.sh script that you
can source to set up the environment. Assuming you took all the defaults
when you ran pybombs, the installation actually went into a directory
called target located in the same directory where you cloned the pybombs
git repo. That is where you should find the setup_env.sh script.

- Greg

On Sat, Apr 11, 2015 at 2:16 PM, Keyur Parikh  wrote:

> Hello,
>
> I'm trying to get GNU Radio installed on a Zedboard and decided to give
> pybombs a shot. It's a take on Ubuntu 12.04 called Xillinux (so that my
> group is able to interact with the FPGA).
>
> After running these few lines
>
>- git clone git://github.com/pybombs/pybombs
>- cd pybombs
>- ./pybombs install gnuradio
>
> My Zedboard took a while to do the installation, but claims 100%
> installation... and then nothing. I'm looking in /usr/local/bin for any of
> the gr .elf files. As far as I can tell pybombs hasn't actually been
> installed anywhere. Am I missing something? Should I be doing something
> else entirely when working with an embedded version of Ubuntu? We really
> want to stick with this since we know how to send data to and from the FPGA
> already.
>
> Thanks,
> Keyur
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] pccc encoder

2015-04-11 Thread Achilleas Anastasopoulos
You are using the pccc decoder in an incorrect way.
Please see attached corrected grc file:
there are two ways to use the pccc decoder
(i) either as a combo or (ii) in conjuction with trellis metrics.
I have provided in your file both ways.


Regarding you second question about whether you can define your own FSM:
Of course you can! This is the whole idea of the FSM class!
Please read the extensive documentation on how to do that in:

/usr/local/share/doc/gnuradio-3.7.7git/html/gr-trellis.html

(or wherever you have your documentation installed),
and let us know if there is something you do not understand.

Achilleas


FSM284_Vector_Cod_decod_turbo_error_rate.grc
Description: Binary data
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Report on progress with Raspberry Pi 2

2015-04-11 Thread Mike Harpe
BLUF: I can get gqrx to run but not very well. It will run for a few
seconds then hang badly. Sometimes the board needs to be rebooted.

After much goofing around getting it all setup again I ended up at the same
place.

It runs but not very well with a Funcube Pro Plus. gqrx will come up and I
do get choppy audio for a few seconds when tuned to a NOAA Weather Radio
that is very close to me.

If anyone is interested I can provide more detail. Otherwise I am going to
wait to see how this evolves.

Mike Harpe, N4PLE
Sellersburg, IN
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Zedboard and Pybombs

2015-04-11 Thread Keyur Parikh
So after getting your email I erased the pybombs folder I had and did these
steps


   - git clone git://github.com/pybombs/pybombs
   - cd pybombs/
   - ./pybombs env [accepted all defaults]
   - cd ..
   - cd target/
   - source setup_env.sh
   - cd ..
   - cd pybombs/
   - ./pybombs install gnuradio

Again ran to 100% completion (in an usually short amount of time) and I
still can't find any of the related files after searching for gr_*

When running

   - ./pybombs info gnuradio
   - ./pybombs list gnuradio

it seems like it's just choosing not to install all the necessary
dependencies.

I went through and installed the packages listed as dependencies of
gnuradio one by one before again trying

   - ./pybombs install gnuradio

and got the old

PyBombs.sysutils - WARNING - deb_exists: could not find a downloadable
version of libboost1.53-dev
PyBombs.sysutils - WARNING - deb_exists: Does not satisfy
requirement...downloadable version of libboost-dev (1.48.0) is not >= 1.53

Before again seeing

Installing 100% [...===]

And then being returned to the pybombs directory, again with no gr_* search
results.

Thanks,
Keyur

On Sat, Apr 11, 2015 at 3:25 PM, Greg  wrote:

> Keyur,
> You'll want to do './pybombs env' to create a setup_env.sh script that
> you can source to set up the environment. Assuming you took all the
> defaults when you ran pybombs, the installation actually went into a
> directory called target located in the same directory where you cloned the
> pybombs git repo. That is where you should find the setup_env.sh script.
>
> - Greg
>
> On Sat, Apr 11, 2015 at 2:16 PM, Keyur Parikh  wrote:
>
>> Hello,
>>
>> I'm trying to get GNU Radio installed on a Zedboard and decided to give
>> pybombs a shot. It's a take on Ubuntu 12.04 called Xillinux (so that my
>> group is able to interact with the FPGA).
>>
>> After running these few lines
>>
>>- git clone git://github.com/pybombs/pybombs
>>- cd pybombs
>>- ./pybombs install gnuradio
>>
>> My Zedboard took a while to do the installation, but claims 100%
>> installation... and then nothing. I'm looking in /usr/local/bin for any of
>> the gr .elf files. As far as I can tell pybombs hasn't actually been
>> installed anywhere. Am I missing something? Should I be doing something
>> else entirely when working with an embedded version of Ubuntu? We really
>> want to stick with this since we know how to send data to and from the FPGA
>> already.
>>
>> Thanks,
>> Keyur
>>
>> ___
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] pccc encoder

2015-04-11 Thread dcardona
Hi.

I understand the use of the trellis metrics block for the calculation of the
costs, but I don`t understand the use of the constellation parameter, thats
why I didn`t use that block before, I though it only was used in the cases
were modulation was made.

Thank you for correct my file.



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/pccc-encoder-tp53173p53271.html
Sent from the GnuRadio mailing list archive at Nabble.com.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Insert messages in queues?

2015-04-11 Thread madengr
If I'm using a block that has a message port output, is there a way to put
those messages into a message queue?  For instance:

self.message_queue = gr.msg_queue()
self.msg_connect((self.gsm_control_channels_decoder, 'msgs'),
(message_queue, 0))

I have used gr.msg_queue() with blocks.message_sink() but that only accepts
items such as complex, float, etc.  I need to take the messages generated by
any old block and parse them outside the flowgraph.

>From what I have read, I thought all blocks that handle messages have
queues, so shouldn't I be able to pop them directly out of that block?  I
guess I'm confused.  Are there two type of message passing; an old one that
uses queues, and a new one that uses PMT?

Thanks,
Lou




--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Insert-messages-in-queues-tp53272.html
Sent from the GnuRadio mailing list archive at Nabble.com.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio