discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: AW: Struggling with 3.10 OOT Module Porting: AttributeError: mod


From: Vasil Velichkov
Subject: Re: AW: AW: Struggling with 3.10 OOT Module Porting: AttributeError: module has no attribute
Date: Thu, 15 Sep 2022 11:46:31 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

Hi Luca,

Please when replying always keep the malling list address (Reply All)

On 15/09/2022 09.21, Bachmaier, Luca wrote:
> Hi Vasil,
> 
>> Yes, sounds like a bug. How did you install GNU Radio 3.10.3.0 on Debina 11
>> (bullseye)? Can you provide a minimal, reproducible example?
> I installed GNU Radio 3.10 from the testing repository, using sudo apt 
> install gnuradio -t testing. 

I do not recommend mixing repositories like that. Sometimes this could work but 
usually this cause various problems. You could either build gnuradio from 
source, upgrade Debian to bookworm or work in a container/VM. 

>> Run it trough gdb and take a backtrace.
> Thanks for the tip. Running the command returns the following (I'm going to 
> paste the entire output because I'm not familiar with bt unfortunately):

> Program received signal SIGSEGV, Segmentation fault.
> __memcmp_avx2_movbe () at ../sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S:413
> 413     ../sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: No such file or 
> directory.
> (gdb) bt
> #0  __memcmp_avx2_movbe () at 
> ../sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S:413
> #1  0x00007ffff74c6840 in 
> gr::prefs::_read_files(std::vector<std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> >, 
> std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > > > const&) () from /lib/libgnuradio-runtime.so.3.8.5
> #2  0x00007ffff7172ada in gr::prefs::prefs() () from 
> /usr/local/lib/libgnuradio-runtime.so.3.10.3

You have two gnuradio versions installed in parallel - 
/lib/libgnuradio-runtime.so.3.8.5 and 
/usr/local/lib/libgnuradio-runtime.so.3.10.3. The version in /lib is probably 
installed from package and the version in /usr/local/lib is probably installed 
from source, debian packages never put files in /usr/local/

Having two versions like this could cause various hard to debug problems so my 
advice is first to clean up your system, uninstall all gnuradio versions, 
manually check and remove all gnuradio's files in /usr and /usr/local (find 
/usr -name "*gnuradio*) and then install only one version.

You can use pybombs (I do not recommend this) to install multiple gnuradio 
versions in different prefixes but if you choose this method do not install 
gnuradio's packages from the apt repository and do not use /usr/ or /usr/local 
as prefix (install system wide).

[1] https://wiki.gnuradio.org/index.php?title=InstallingGR#Using_PyBOMBS

Regards,
Vasil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]