discuss-gnuradio
[Top][All Lists]
Advanced

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

RE: [Discuss-gnuradio] FPGA / new rx_buffer_inband


From: Eric Schneider
Subject: RE: [Discuss-gnuradio] FPGA / new rx_buffer_inband
Date: Mon, 8 Sep 2008 15:20:51 -0600

> -----Original Message-----
> From: George Nychis [mailto:address@hidden
> 
> Just going to chime in here with nothing really too important, because
> this isn't really my area.  But, I am trying to follow discussion here,
> and I appreciate you working on this Eric.
> 
> As for your segmentation faults, if you e-mail me your RBF where you're
> getting these, I can poke at why you're getting a fault.  It's a bit
> odd, as I do many sanity checks on the incoming packets from the
> USRP...
> but you may have introduced something I am not checking for.

I'm starting my journey through the inband/m-block host code, but I'm hoping
someone might be able to give me a head start.

I have enabled packet logging in usrp_rx.cc, but I think the crash happens
prior to logging the guilty packet; at least it doesn't look like anything
is out of place in the logged packets.

Setting verbose in usrp_server doesn't seem to provide any useful data
either.

I can only assume that I am sending something bad; but crashing the host
side code isn't good...  Can you think of any field that I could screw up
that might cause this?  Payload length seems the obvious suspect.  What
about channel number?  What if I sent a packet to a non-existent channel for
instance?

>From the core:
(gdb) backtrace
#0  usrp_server::handle_response_usrp_read (this=0x805f450,
address@hidden)
    at
/opt/boost_1_36/include/boost-1_36/boost/detail/sp_counted_base_gcc_x86.hpp:
66
#1  0xb7ed8e97 in usrp_server::handle_message (this=0x805f450,
address@hidden) at usrp_server.cc:274
#2  0xb7bdd8ba in mb_mblock::main_loop (this=0x805f450) at mb_mblock.cc:82
#3  0xb7bf69fe in mb_worker::worker_thread_top_level (this=0x805f2f8) at
mb_worker.cc:168
#4  0xb7bf6d0f in mb_worker::run_undetached (this=0x805f2f8, ignored=0x0) at
mb_worker.cc:109
#5  0xb7bc3607 in omni_thread_wrapper (ptr=0x805f2f8) at posix.cc:450
#6  0xb7d5246b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb7cd66de in clone () from /lib/tls/i686/cmov/libc.so.6


RBFs here:
http://www.schneider-group.com/gnuradio/


--ets







reply via email to

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