Hi Vasil,
It works now. It was about having an old / duplicate version of the
gr-fosphor library lying around. I was able to remove the old library
and re-install it again.
However, it also required removing an old version of the gr-fosphor
python library files.
I'm fairly new with all this python and GR installation stuff. It seems
to me that when I try to install new GR components, they tend to go to
the wrong place by default. It has happened to my own OOT modules as
well as 3rd party components. Maybe one of the problems is that my GR
installation is from a Ubuntu package and not build from source. I tried
that quite a while ago, but it was not that simple either due to so many
dependencies.
Anyway, big thanks for your patience in helping me out!
Regards, Ville
On 05/11/2022 20:26, Vasil Velichkov wrote:
Hi Ville,
On 04/11/2022 17.35, Ville Eerola wrote:
Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x00007fff458b5fe5 in ?? () from
/lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4
(gdb) bt
#0 0x00007fff458b5fe5 in () at
/lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4
#1 0x00007fff45961927 in () at
/lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4
#2 0x00007fff458c193f in gr::block::allocate_detail(int, int, std::vector<int, std::allocator<int> > const&,
std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<unsigned int,
std::allocator<unsigned int> > const&) () at /lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4
#3 0x00007fff458d628e in
gr::flat_flowgraph::allocate_block_detail(std::shared_ptr<gr::basic_block>) ()
at /lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4
#4 0x00007fff458d7845 in gr::flat_flowgraph::setup_connections() () at
/lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4
#5 0x00007fff4590d40b in gr::top_block_impl::start(int) () at
/lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4
#6 0x00007fff4590d7f6 in gr::top_block::start(int) () at
/lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4
So this segfault happens during block allocation and initialization. Check if
you have multiple versions of libgnuradio-fosphor.so or fosphor_python*.so
installed at the same time.
ls -alt /usr/lib/x86_64-linux-gnu/libgnuradio-fosphor.so*
/usr/lib/python3/dist-packages/gnuradio/fosphor/fosphor_python*
If you have multiple versions then remove them all and reinstall gr-fosphor.
- In order to rectify this I have updated all the OOT modules from Osmocom,
which I had previously installed with:
$ cd <module directory>/
$ rm -rf build;
Ideally before removing the build directory you should have uninstalled
previous version by running `make uninstall`
Best Regards,
Vasil
--
Ville Eerola
ville.eer...@iki.fi
050-4804435