Closed VadimIzmalkov closed 11 months ago
Make an ASAN build of the executeable to catch the bug maybe. Extend CFLAGS with "-ggdb -fsanitize=undefined -fsanitize=address -fno-omit-frame-pointer"
Or run in gdb
and get a stacktrace. Build with "-g" at least to get the symbols.
Please confirm that I am doing everything right
cd SoapyPlutoSDR
mkdir build
cd build
cmake -E env "CXXFLAGS=-ggdb -fsanitize=undefined -fsanitize=address -fno-omit-frame-pointer" cmake ..
make
sudo make install
If it is right, the output is
$ grgsm_capture -a32 test.cfile -T10
==1703==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
You should build your executable with -fsanitize=address flag too.
To get a feel for ASAN compile and run this test code
#include <iostream>
using namespace std;
int main()
{
int* p = nullptr;
cout << "p = " << *p << '\n';
}
with
g++ test.cpp -fsanitize=address && ./a.out
This might have been fixed by #57.
Hi everyone!
When I try to use PlutoSDR with GR-GSM to cature a signal get the error:
while the RTL SDR works without problems:
I use:
Any ideas?