Re: RFNoc Rx Radio to Socket

2022-02-07 Thread Taylor Clark
Thank you all for your help. Skip propagation was set to true and that
fixed the problem!

On Fri, Feb 4, 2022, 9:21 PM Paul Atreides  wrote:

> Taylor:
> Marcus is correct. Have you synthesized a custom image that contains the
> pass through block?
> I also noticed that you have skip_tag_propagation set to true from the
> tx_rx_loopback example, but you’re not doing a loopback.
> What are you trying to do?
>
> 
>
> > On Feb 4, 2022, at 13:16, Marcus D. Leech 
> wrote:
> >
> > On 2022-02-04 10:02, Taylor Clark wrote:
> >> Good moring,
> >> I was having troubles getting information from an X310 to a socket on
> Ubuntu 20.04.3
> >>
> >> I have attached an image of the flowgraph and included the error
> message.
> >>
> >> Error Message:
> >> Generating:
> '/home/.../src/rfnoc-loopback/rfnoc-example/examples/rfnoc_passthru.py'
> >>
> >> Executing: /usr/bin/python3 -u
> /home/.../src/rfnoc-loopback/rfnoc-example/examples/rfnoc_passthru.py
> >>
> >> [INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100;
> UHD_4.0.0.0-241-g0549e78e
> >> [INFO] [X300] X300 initialization sequence...
> >> [INFO] [X300] Maximum frame size: 1472 bytes.
> >> [INFO] [X300] Radio 1x clock: 200 MHz
> >> [WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID
> 0x12345678, 0x
> >> Traceback (most recent call last):
> >>   File
> "/home/.../src/rfnoc-loopback/rfnoc-example/examples/rfnoc_passthru.py",
> line 262, in 
> >> main()
> >>   File
> "/home/.../src/rfnoc-loopback/rfnoc-example/examples/rfnoc_passthru.py",
> line 238, in main
> >> tb = top_block_cls()
> >>   File
> "/home/.../src/rfnoc-loopback/rfnoc-example/examples/rfnoc_passthru.py",
> line 159, in __init__
> >> self.ettus_rfnoc_fft_0 = ettus.rfnoc_block_generic(
> >>   File
> "/home/.../install/rfnoc-loopback/lib/python3/dist-packages/ettus/ettus_swig.py",
> line 1279, in make
> >> return _ettus_swig.rfnoc_block_generic_make(graph, block_args,
> block_name, device_select, block_select)
> >> RuntimeError: Cannot find block!
> >>
> >> >>> Done (return code 1)
> >>
> >> I dont really know how to troubleshoot this issue!
> > This likely means that there is no "rfnoc_passthru" block in your FPGA
> image.
> >
> >
> > The blocks in the image are listed when you do a "uhd_usrp_probe" oni
> the device.
> >
> >
> >
>
>


segfault in 3.10.1.1

2022-02-07 Thread Steven Barbo
Hello all, hope this day finds you well.
Having issue with gnuradio-companion, GUI comes up briefly...

dmesg
[ 1341.843803] traps: gnuradio-compan[372] general protection fault
ip:7f81ca4f77c8 sp:7f81c7137010 error:0 in
libgirepository-1.0.so.1.0.0[7f81ca4ed000+2]


have compiled various gr versions over the years, they have always just
worked :)

any help or pointers are very much appreciated. what an amazing tool,
thank you.

gnuradio-config --print-all
/usr/
/etc
/etc/gnuradio/conf.d
/.gnuradio
Mon, 07 Feb 2022 03:07:35Z
testing-support;python-support;post-install;man-pages;gnuradio-runtime;common-precompiled-headers;gr-ctrlport;*
thrift;gnuradio-companion;gr-blocks;gr-fec;gr-fft;gr-filter;gr-analog;gr-digital;gr-dtv;gr-audio;*
alsa;*
oss;gr-channels;gr-pdu;gr-qtgui;gr-trellis;gr-utils;gr_modtool;gr_blocktool;gr-video-sdl;gr-vocoder;*
gsm;gr-wavelet;gr-network;gr-soapy
3.10.1.1
cc (The Illustrious Industries, Ltd.) 10.3.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software see the source for copying conditions.  There is NO
warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
c++ (The Illustrious Industries, Ltd.) 10.3.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software see the source for copying conditions.  There is NO
warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/usr/bin/cc:::-g -O2  -fvisibility=hidden -Wsign-compare -Wall
-Wno-uninitialized
/usr/bin/c++:::-g -O2  -fvisibility=hidden -Wsign-compare -Wall
-Wno-uninitialized
2.9.0


apologies for the ugly script and gdb output, tried to disable control
characters...
shorten so as to not pollute

sh-5.1# gdb -q /bin/python3 core
^[[?2004l^MReading symbols from ^[[32m/bin/python3^[[m...
^M
warning: Can't open file /SYSV (deleted) during file-backed mapping
note processing^M
^M
warning: core file may not match specified executable file.^M
[New LWP 372]^M
[New LWP 358]^M
[New LWP 359]^M
[New LWP 361]^M
[New LWP 360]^M
[New LWP 363]^M
[New LWP 362]^M
[New LWP 370]^M
[New LWP 364]^M
[New LWP 369]^M
[New LWP 367]^M
[New LWP 368]^M
[New LWP 387]^M
[New LWP 365]^M
[New LWP 366]^M
[New LWP 395]^M
[New LWP 357]^M
^M
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at
compile time^M
[Thread debugging using libthread_db enabled]^M
Using host libthread_db library "^[[32m/lib64/libthread_db.so.1^[[m".^M
Core was generated by `/usr/bin/python3 /usr/bin/gnuradio-companion --log
critical'.^M
Program terminated with signal SIGSEGV, Segmentation fault.^M
^[[?2004h--Type  for more, q to quit, c to continue without paging--^M
^[[?2004l^M#0  ^[[34m0x7f81ca4f77c8^[[m in
^[[33mg_callable_info_free_closure^[[m (^M
^[[36mcallable_info^[[m=0x7f81c00034f0,
^[[36mclosure^[[m=0x7f81c9cf3f20)^M
at ^[[32m../girepository/girffi.c^[[m:428^M
428   g_free (wrapper->ffi_closure.cif->arg_types);^M
[Current thread is 1 (Thread 0x7f81c7138640 (LWP 372))]^M
^[[?2004h(gdb) bt^M
^[[?2004l^M#0  ^[[34m0x7f81ca4f77c8^[[m in
^[[33mg_callable_info_free_closure^[[m (^M
^[[36mcallable_info^[[m=0x7f81c00034f0,
^[[36mclosure^[[m=0x7f81c9cf3f20)^M
at ^[[32m../girepository/girffi.c^[[m:428^M
#1  ^[[34m0x7f81c9a83a56^[[m in ^[[33m_pygi_invoke_closure_free^[[m
(^[[36mdata^[[m=0x7f81c0001630)^M
at ^[[32mgi/pygi-closure.c^[[m:635^M
#2  ^[[34m0x7f81c9a8e3e5^[[m in
^[[33mpygi_marshal_cleanup_args_from_py_marshal_success^[[m (^M
^[[36mstate=state@entry^[[m=0x7f81c7137150, ^[[36mcache=cache@entry
^[[m=0x7f81c00128b0)^M
at ^[[32mgi/pygi-marshal-cleanup.c^[[m:116^M
#3  ^[[34m0x7f81c9a8d072^[[m in ^[[33mpygi_invoke_c_callable^[[m (^M
^[[36mfunction_cache^[[m=0x7f81c00128b0, ^[[36mstate^[[m=, ^M
^[[36mpy_args^[[m=, ^[[36mpy_kwargs^[[m=)
at ^[[32mgi/pygi-invoke.c^[[m:712^M
#4  ^[[34m0x7f81c9a8311a^[[m in ^[[33mpygi_function_cache_invoke^[[m (^M
^[[36mfunction_cache^[[m=,
^[[36mpy_args=py_args@entry^[[m=0x7f81c659ae40,
^M
^[[36mpy_kwargs=py_kwargs@entry^[[m=0x0) at
^[[32mgi/pygi-cache.c^[[m:862^M
#5  ^[[34m0x7f81c9a8d615^[[m in ^[[33mpygi_callable_info_invoke^[[m
(^[[36muser_data^[[m=0x0, ^M
^[[36mcache^[[m=, ^[[36mkwargs^[[m=0x0,
^[[36mpy_args^[[m=0x7f81c659ae40, ^M


-- 
If something is requisite, how can it possibly be, prerequisite?

vanitas vanitatum omnia vanitas
later, steve
http://umn.edu/~barbo