Fwd: gnuradio companion core dump

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 ()

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
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
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