discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Segmentation fault


From: chai E
Subject: Re: [Discuss-gnuradio] Segmentation fault
Date: Thu, 26 Nov 2015 00:21:45 +0800

hi marcus 
i type 'continue 'got 




My understanding is that there is no segfault show in this debug ,right?

then i run the python file  i got 



--from ekko

2015-11-25 20:22 GMT+08:00 chai E <address@hidden>:
thank you very much for the tutorials

i use the gdb to debug my program 
and i got the backtrace



this is the part of my debug screenshot,i am a newer with my device usrp e310, 
i want to know how can i find what is the problem in my program or machine with these output message.
i have see the tutorial 
http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsGDB as marcus said 

i can see the #0 ,and use command list to see the source code ,but i do not konw what's this mean in my machine.

hope for yours pointings  and  teach.

thank you very much :)

--From a learner



2015-11-24 23:55 GMT+08:00 Tom Rondeau <address@hidden>:
On Tue, Nov 24, 2015 at 10:47 AM, West, Nathan <address@hidden> wrote:
We're short on information to actually determine what's wrong here. It looks like you're still using pdb, but I see different output/problem areas from  your screenshots. The first one looks like it crashed in tb.start, and the second one looks like it crashed just creating the channel model block. Can you confirm what line is actually crashing, and report your gnuradio + volk version?

If it's at runtime and you're using an older ettus image (rel3? rel2? I haven't kept up with versions and dates) you might be getting bit by this https://github.com/gnuradio/volk/issues/25 which can be fixed by either adding some lines to volk_config or by upgrading to that latest release.

On Tue, Nov 24, 2015 at 9:40 AM, chai E <address@hidden> wrote:
hi marcus
i use the gdb as you said,the i debug the python file again
run the fie step by step 
i found that the there is some problem with ‘channel model’,just like

​ you can see that 
self.channels_channel_model_0 = channels.channel_model( 
function is init the channel model block
and the noise_voltage =0.0001 ,frequency_offset=0 and so on is the parameter of 'channel model'
after the parameter is inited,the program should call the 
 Subroutine to pass this parameters,but you can see that the program aborted,

then i use command p to view the value of self.channels_channel_model_0,but i got the output
there is no attribute of this ,in other words 
i think that there is some problem with the channel model in the pre-installed gnuradio.

hope you can confirm this problem

--Ekko


Marcus is usually quite to point out this link. Surprised he hasn't so far :p

These are some techniques and ideas for debugging applications to better engage with us on the real problems:


Tom




reply via email to

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