discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr-bluetooth


From: Ben Gamari
Subject: Re: [Discuss-gnuradio] gr-bluetooth
Date: Wed, 09 Jul 2014 20:43:16 -0400
User-agent: Notmuch/0.18+69~g2295f35 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu)

Orin Lincoln <address@hidden> writes:

> Hello all,
>
> I've updated the gr-bluetooth [1] code to be compatible with GNU Radio 
> 3.7. I'm trying to use it, but there's a segmentation fault that I need 
> to figure out. Has anyone done anything with gr-bluetooth recently? Does 
> anyone know if the current version of the code is even functional with 
> GNU Radio 3.6? Were there changes in GNU Radio between 3.6 and 3.7 that 
> would cause this issue to appear? My specific issue is outlined below.
>
> I have encountered a segmentation fault issue in the 
> gr::bluetooth::multi_block code (which all the other gr-bluetooth blocks 
> use) that did not appear while running the included QA code (though I'm 
> not sure how reliable the test code was). I've spent the past couple 
> days trying to track down with GDB what exactly is going wrong, so that 
> I can fix it (the code looks fine to me, nothing is standing out as a 
> big issue). From what I've gathered so far, it appears the issue is with 
> "gr_vector_void_star& out", an input to multi_block::channel_samples(). 
> I don't have a lot of experience with debugging, so if anyone has any 
> suggestions about what to look for when tracking down segmentation 
> faults (my understanding is that
> memory is being accessed which should not be accessed by the process), I 
> would appreciate them.
>
You may want to have a look at valgrind[1] which in an invaluable tool
in tracking down this sort of issue. Be warned that it will slow things
down by quite a bit but it will probably tell you exactly what you need
to know.

Cheers,

- Ben

[1] http://valgrind.org/

Attachment: pgpu7ByBNv75i.pgp
Description: PGP signature


reply via email to

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