|
From: | kyle.unice |
Subject: | Re: [Discuss-gnuradio] ENABLE_PERFORMANCE_COUNTERS Crash |
Date: | Thu, 29 Sep 2016 21:28:53 +0000 |
I updated my python-thrift to be 0.9.3 and the thrift is 0.9.3. I get the error when I run the graph: File "/usr/lib64/python2.7/site-packages/gnuradio/ctrlport/monitor.py", line 48, in start print "monitor::endpoints() = %s" % (gr.rpcmanager_get().endpoints()) AttributeError: 'NoneType' object has no attribute 'endpoints' A Google search shows that the configure might not be picking up thrift, but
address@hidden:~# gnuradio-config-info --enabled-components python-support;testing-support;gnuradio-runtime;gr-ctrlport;* thrift;gr-blocks;gnuradio-companion;gr-fec;gr-fft;gr-filter;gr-analog;gr-digital;gr-audio;* alsa;* oss;gr-channels;gr-noaa;gr-pager;gr-qtgui;gr-trellis;gr-utils;gr-vocoder;gr-wavelet;gr-zeromq address@hidden:~# shows that thrift is enabled.
Any ideas?
K- From: Neel Pandeya [mailto:address@hidden
Hello Kyle: Yeah, I had a feeling as I looked more closely at the error messages. --Neel Pandeya On 28 September 2016 at 15:22, <address@hidden> wrote: Neel, Actually I am running on a PPC 64-bit platform.
address@hidden:~# gcc --version gcc (GCC) 4.9.2 Copyright (C) 2014 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. address@hidden:~# uname -a Linux b4860 3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6 #1 SMP Thu Sep 1 08:15:41 PDT 2016 ppc64 GNU/Linux address@hidden:~# echo $LD_LIBRARY_PATH address@hidden:~# source ./ld.sh address@hidden:~# echo $LD_LIBRARY_PATH /usr/lib64 address@hidden:~# K- From: Neel Pandeya [mailto:address@hidden]
Hello Kyle: You're running on the E310, right? Where did you build GNU Radio, on the E310, or on the external host? uname -a echo $LD_LIBRARY_PATH --Neel Pandeya On 28 September 2016 at 15:13, <address@hidden> wrote: I compile GNU Radio with the –DENABLE_PERFORMANCE_COUNTERS=ON, edit the /etc/gnuradio/conf.d/gnuradio-runtime.conf file to enable
‘ctrlport’ etc. I bring up my graph and add the CtrlPort Performance Monitor and CtrlPort Monitor blocks to my graph and then run the graph.
I get a page fault in this code: warning: Could not load shared library symbols for linux-vdso64.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/bin/python -u /home/root/grc_tests/becdl.py '. Program terminated with signal 11, Segmentation fault. #0 0x00003fffafce7c80 in rpcbasic_register_get<gr::blocks::throttle, double>::rpcbasic_register_get (this=0x12c661f0, block_alias=...,
functionbase=<optimized out>, function=<optimized out>, min=..., max=...,
def=..., units_=0x3fffafd60a10 "Hz", desc_=0x3fffafd60a18 "Sample Rate",
minpriv_=RPC_PRIVLVL_MIN, display_=2049) at /opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/ppc64e6500-fsl-linux/gnuradio/3.7.10-r0/git/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h:1076 1076 /opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/ppc64e6500-fsl-linux/gnuradio/3.7.10-r0/git/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h:
No such file or directory. (gdb) Any ideas on what could be happending / done wrong ?
W. Kyle Unice Staff Engineer MS F1H03 322 North 2200 West Dock 3 Salt Lake City, Utah 84116-0850 Voice:
801-594-2687
|
[Prev in Thread] | Current Thread | [Next in Thread] |