# Fwd: gnuradio companion core dump

**URL:** <https://www.ruby-forum.com/t/fwd-gnuradio-companion-core-dump/231348>\
**Category:** GNU Radio\
**Created:** [August 4, 2014, 12:21pm UTC](https://www.ruby-forum.com/t/fwd-gnuradio-companion-core-dump/231348 "2014-08-04T12:21:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [August 4, 2014, 12:21pm UTC](https://www.ruby-forum.com/t/fwd-gnuradio-companion-core-dump/231348/1 "2014-08-04T12:21:40Z")

</div>

Thanks, Martin.

I ended up uninstalling Ice3.5 to disable CTRLPORT, then gnuradio make  
would fail.

Ended up completely removing gnuradio and all components (using a  
gnuradio-remove script)  
then reinstalled (using the build-gnuradio script) and it’s back running  
(without CTRLPORT).

Unfortunately am unable to reinstall Ice3.5 as the package manager  
throws  
an error (using the  
Trusty package from ZeroC, not the default built into Ubuntu). dpkg  
shows

~$ dpkg -l _ice3.5_  
Desired=Unknown/Install/Remove/Purge/Hold  
|  
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend  
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)  
||/ Name Version Architecture Description  
++±==============-============-============-=================================  
ii ice3.5-common 3.5.1-1 all Files common to all Ice  
packages  
ii libice3.5++ 3.5.1-1 amd64 The Ice run time for C++  
ii libice3.5-cil 3.5.1-1 all The Ice run time for .NET  
(mono)  
ii libice3.5-java 3.5.1-1 all The Ice run time for Java  
ii libice3.5-php 3.5.1-1 amd64 The Ice run time for PHP  
ii libice3.5-pyth 3.5.1-1 amd64 The Ice run time for Python  
ii libice3.5-ruby 3.5.1-1 amd64 The Ice run time for Ruby

So it _looks_ installed, but cmake of gnuradio reports it’s not found.

If it’s of any use at this stage, here’s the dbg output captured from  
before all the Ice3.5 removal  
when it core dumped:

(gdb) run

Starting program: /usr/bin/python /usr/local/bin/gnuradio-companion  
[Thread debugging using libthread\_db enabled]  
Using host libthread\_db library  
“/lib/x86\_64-linux-gnu/libthread\_db.so.1”.  
[New Thread 0x7fffed478700 (LWP 4123)]  
[New Thread 0x7fffecc77700 (LWP 4124)]

linux; GNU C++ version 4.8.1; Boost\_105300; UHD\_003.007.001-84-gd99ce4ef

terminate called after throwing an instance of ‘std::runtime\_error’  
what(): rpcmanager: Aggregator not in use, and a rpc booter is  
already  
registered

Program received signal SIGABRT, Aborted.  
0x00007ffff782cf79 in \_\_GI\_raise (sig=sig@entry=6)  
at …/nptl/sysdeps/unix/sysv/linux/raise.c:56  
56 …/nptl/sysdeps/unix/sysv/linux/raise.c: No such file or  
directory.

(gdb) bt

#0 0x00007ffff782cf79 in \_\_GI\_raise (sig=sig@entry=6)  
at …/nptl/sysdeps/unix/sysv/linux/raise.c:56  
#1 0x00007ffff7830388 in \_\_GI\_abort () at abort.c:89  
#2 0x00007fffe63e16b5 in \_\_gnu\_cxx::\_\_verbose\_terminate\_handler() ()  
from /usr/lib/x86\_64-linux-gnu/libstdc++.so.6  
#3 0x00007fffe63df836 in ?? () from  
/usr/lib/x86\_64-linux-gnu/libstdc++.so.6  
#4 0x00007fffe63df863 in std::terminate() () from  
/usr/lib/x86\_64-linux-gnu/libstdc++.so.6  
#5 0x00007fffe63dfaa2 in \_\_cxa\_throw () from  
/usr/lib/x86\_64-linux-gnu/libstdc++.so.6  
#6 0x00007fffcd031866 in rpcmanager::register\_booter (booter=)  
at  
/home/tom/gnuradio/gnuradio-runtime/lib/controlport/rpcmanager.cc:70  
#7 0x00007ffff7dea13a in call\_init (l=,  
argc=argc@entry=2,  
argv=argv@entry=0x7fffffffdff8, env=env@entry=0x7fffffffe010)  
at dl-init.c:78  
#8 0x00007ffff7dea223 in call\_init (env=,  
argv=, argc=, l=)  
at dl-init.c:36  
#9 \_dl\_init (main\_map=main\_map@entry=0x2732c30, argc=2,  
argv=0x7fffffffdff8,  
env=0x7fffffffe010) at dl-init.c:126  
#10 0x00007ffff7deec70 in dl\_open\_worker (a=a@entry=0x7fffffffb0e8)  
at dl-open.c:577  
#11 0x00007ffff7de9ff4 in \_dl\_catch\_error (  
objname=objname@entry=0x7fffffffb0d8,  
errstring=errstring@entry=0x7fffffffb0e0,  
mallocedp=mallocedp@entry=0x7fffffffb0d0,  
operate=operate@entry=0x7ffff7dee9a0 \<dl\_open\_worker\>,  
args=args@entry=0x7fffffffb0e8) at dl-error.c:187  
#12 0x00007ffff7dee3bb in \_dl\_open (  
file=0x7fffc90ac8f4  
“/usr/local/lib/python2.7/dist-packages/dsd/\_dsd\_swig.so”,  
mode=-2147483390,  
caller\_dlopen=, nsid=-2, argc=2,  
argv=0x7fffffffdff8, env=0x7fffffffe010) at dl-open.c:661  
#13 0x00007ffff75f302b in dlopen\_doit (a=a@entry=0x7fffffffb300) at  
dlopen.c:66  
#14 0x00007ffff7de9ff4 in \_dl\_catch\_error (objname=0x9b3f80,  
errstring=0x9b3f88, mallocedp=0x9b3f78,  
operate=0x7ffff75f2fd0 \<dlopen\_doit\>, args=0x7fffffffb300)  
at dl-error.c:187  
#15 0x00007ffff75f362d in \_dlerror\_run (  
operate=operate@entry=0x7ffff75f2fd0 \<dlopen\_doit\>,  
args=args@entry=0x7fffffffb300) at dlerror.c:163  
#16 0x00007ffff75f30c1 in \_\_dlopen (file=,  
mode=)  
at dlopen.c:87  
#17 0x00000000005b6983 in \_PyImport\_GetDynLoadFunc ()  
#18 0x0000000000426877 in \_PyImport\_LoadDynamicModule ()  
#19 0x000000000046232a in ?? ()  
#20 0x000000000052c6d5 in PyEval\_EvalFrameEx ()  
#21 0x000000000052cf32 in PyEval\_EvalFrameEx ()  
#22 0x000000000055c594 in PyEval\_EvalCodeEx ()  
#23 0x00000000005b7392 in PyEval\_EvalCode ()  
#24 0x00000000005b744a in PyImport\_ExecCodeModuleEx ()  
#25 0x0000000000579f0f in ?? ()  
#26 0x000000000055d3a3 in ?? ()  
#27 0x000000000055d77c in ?? ()  
#28 0x000000000055db37 in PyImport\_ImportModuleLevel ()  
#29 0x00000000004755e7 in ?? ()  
#30 0x00000000004da20b in PyEval\_CallObjectWithKeywords ()

---

<div class="post-metadata">

**Author:** ![Tom\_McDermott](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/9fc29f/32.png) [@Tom\_McDermott](https://www.ruby-forum.com/u/Tom_McDermott)\
**Post date:** [August 5, 2014, 5:45am UTC](https://www.ruby-forum.com/t/fwd-gnuradio-companion-core-dump/231348/2 "2014-08-05T05:45:00Z")

</div>

Hello,

I already install gnu radio in ubuntu 14.04 with ctrl port

Here is the command:

_ **Ubuntu install** _  
sudo apt-get update  
sudo apt-get install -y g++ git make cmake sdcc guile-2.0 ccache  
python-dev  
swig libfftw3-dev libcppunit-dev libboost1.54-all-dev libgsl0-dev  
libusb-1.0-0 libusb-1.0-0-dev alsa-base libasound2 libasound2-dev  
python-numpy python-cheetah python-lxml python-wxgtk2.8 python-qt4  
python-qwt5-qt4 libqt4-opengl-dev libqwt5-qt4-dev libfontconfig1-dev  
libxrender-dev libxi-dev doxygen python-docutils liborc-0.4-dev  
libmcpp-dev  
libbz2-dev libssl-dev libdb+±dev libzmq3-dev python-sphinx  
libcomedi-dev  
python-zmq

_ **uhd install** _  
git clone git://github.com/EttusResearch/uhd.git  
cd uhd/host/  
mkdir build  
cd build  
cmake …/  
make  
make test  
sudo make install  
sudo ldconfig  
sudo “/usr/local/lib/uhd/utils/uhd\_images\_downloader.py”

_ **ice install** _  
[http://download.zeroc.com/Ice/3.5/Ice-3.5.1.tar.gz](http://download.zeroc.com/Ice/3.5/Ice-3.5.1.tar.gz)  
tar xvfz Ice-3.5.1.tar.gz  
cd Ice-3.5.1/cpp  
make  
make test  
sudo make install  
sudo ldconfig  
_**cd ~; sudo vim .bashrc (Add following at the bottom)**_  
==\> export ICE\_HOME=/opt/Ice-3.5.1  
==\> export PATH=`pwd`/bin:$PATH  
==\> export LD\_LIBRARY\_PATH=`pwd`/lib:$LD\_LIBRARY\_PATH  
cd Ice-3.5.1/py  
make  
make install  
_**cd ~; sudo vim .bashrc (Add following at the bottom)**_  
==\> export ICEPY\_HOME=/opt/Ice-3.5.1  
==\> export PYTHONPATH=$ICEPY\_HOME/python:$PYTHONPATH

_ **gnuradio install** _  
git clone [http://git.gnuradio.org/git/gnuradio.git](http://git.gnuradio.org/git/gnuradio.git)  
cd gnuradio  
mkdir build  
cd build  
cmake …/  
make  
make test  
sudo make install

_**cd ~; sudo vim .bashrc (Add following at the bottom)**_  
==\> alias sudo=‘sudo env PATH=/opt/Ice-3.5.1/bin:$PATH  
LD\_LIBRARY\_PATH=/opt/Ice-3.5.1/lib:$LD\_LIBRARY\_PATH  
ICE\_HOME=/opt/Ice-3.5.1  
PYTHONPATH=/opt/Ice-3.5.1/python:$PYTHONPATH ICEPY\_HOME=/opt/Ice-3.5.1’

You can try it.

Greetings,

Jeff Guo
