Illegal instruction (core dump) for CubicSDR + SDRplay + Artful 17.10

General discussions
Post Reply
kg5qvw
Posts: 2
Joined: Sat Feb 10, 2018 4:28 pm

Illegal instruction (core dump) for CubicSDR + SDRplay + Artful 17.10

Post by kg5qvw » Sat Feb 10, 2018 5:12 pm

Symptom: On CubicSDR running from console on Artful 17.10 Lubuntu (32-bit Thinkpad T43) that sees the SDRplay and is receiving OK ---> use the mouse to move the frequency in either the main window or fine-tuning window ---> results in crash and console says "Illegal instruction (core dump) "

CubicSDR was compiled according to SDRplay Non-windows Workflow page (see bottom) EXCEPT the build failed on liquid-dsp for 'make' because of this line:
CFLAGS="-march=native -O3" ./configure --enable-fftoverride

HOWEVER, little googling gave this fix:

see https://github.com/jgaeddert/liquid-dsp/issues/66
where specifically this link says:

edit the makefile
change the CONFIG_CFLAGS line and add -msse3 (CONFIG_CFLAGS = -g -O2 -msse3)
save the file and NOT rerun ./configure
run make (now will work)


I was able to start CubicSDR and it saw my SDRplay and started just fine.
However, when I move the frequency cursor in either window, we get a crash and it leaves behind: "Illegal instruction (core dump)" in the console.
Space bar/keyboard entry of frequency works OK.

Anybody else have this problem or have any ideas to investigate?

Thanks!
-QVW
--
#Remember to get SDRplay drivers first
mkdir ~/Dev

sudo apt-get install build-essential git cmake
sudo apt-get install automake libpulse-dev
sudo apt-get install libgtk-3-dev freeglut3 freeglut3-dev

#SoapySDR
cd ~/Dev
git clone https://github.com/pothosware/SoapySDR.git ./SoapySDR
cd SoapySDR
mkdir build
cd build
cmake ../
make -j4
sudo make install
sudo ldconfig

#SoapySDRPlay
cd ~/Dev
git clone https://github.com/pothosware/SoapySDRPlay.git ./SoapySDRPlay
cd SoapySDRPlay
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig
SoapySDRUtil --info
SoapySDRUtil --find=sdrplay

#SoapyRemote
cd ~/Dev
git clone https://github.com/pothosware/SoapyRemote.git ./SoapyRemote
cd SoapyRemote
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig

#Liquid DSP
cd ~/Dev
git clone https://github.com/jgaeddert/liquid-dsp.git ./liquid-dsp
cd liquid-dsp
./bootstrap.sh
CFLAGS="-march=native -O3" ./configure --enable-fftoverride
make -j4
sudo make install
sudo ldconfig

#wxWidgets
cd ~/Dev
wget https://github.com/wxWidgets/wxWidgets/ ... .0.tar.bz2
tar -xvjf wxWidgets-3.1.0.tar.bz2
cd wxWidgets-3.1.0/
mkdir -p ~/Dev/wxWidgets-staticlib
./autogen.sh
./configure --with-opengl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --disable-sdltest --enable-unicode --enable-display --enable-propgrid --disable-webkit --disable-webview --disable-webviewwebkit --prefix=`echo ~/Dev/wxWidgets-staticlib` CXXFLAGS="-std=c++0x"
sudo make -j4
sudo make install

#CubicSDR
cd ~/Dev
git clone https://github.com/cjcliffe/CubicSDR.git ./CubicSDR
cd CubicSDR
mkdir build
cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release -DwxWidgets_CONFIG_EXECUTABLE=~/Dev/wxWidgets-staticlib/bin/wx-config
sudo make
sudo make install
CubicSDR
Last edited by kg5qvw on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Post Reply