-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Immediate crash on Pi4 -- free error. #102
Comments
Interesting. I never built SigDigger in ARM before and definitely didn't expect it to work. Could you run SigDigger from gdb so I could know where it is failing exactly? Something like:
After the crash, gdb will take you back to the |
Compilation on pi4 was effortless, by the way. Here is the results: `(gdb) run Thread 5 "SigDigger::Init" received signal SIGABRT, Aborted. |
The crash is happening inside
And attach the resulting |
It is a slow process. My remote session eventually |
I am afraid valgrind didn't even get to the crash, or the log is truncated. Anyways, I will try to repeat this on a Raspberry Pi 3 and I'll tell you if I find anything. |
Let me try again on a local console to prevent timeouts. |
After 20 hours I get this: |
I tried chasing down the error and git as far as InitThread::run() So init_sources -- but I'm not sure if that is in suscan directory (Library.cpp) or the suscan library compiled separately. For reference, since you thought it might be SoapySDR: pi@pi4sdr:~ $ SoapySDRUtil --find Soapy SDR -- the SDR abstraction library###################################################### Found device 0 Found device 1 And: Soapy SDR -- the SDR abstraction library###################################################### Lib Version: v0.8.0-gf722f9ce
If that is of any use. |
I don't know what the IP address is so strange for the remote device. |
Hey, sorry for not getting back to you earlier. The log was truncated again, so I guess for whatever reason valgrind is not doing what it should do. I'll try with my RasPi 3 later today. The crash inside init_sources only tells me that the crash is happening inside SoapySDR somehow, during device detection (the backtraces you provided earlier seem to be related to an allocation?). I have to say, it would not be the first time I get a crash on startup because a buggy module (in my system, I get random crashes because of the HackRF module, both in SigDigger and gqrx). Regarding the strange IP, that's actually an IPv6 address, which is 128 (i.e. 16 bytes) long. You should be able to change it though |
Can't reproduce in Pi 3 A+. Installed with all modules without issue. Even captured with RTL-SDR. OS was a regular Raspbian. |
Time for me to investigate my environment. I have a number of PIs all running SoapyRemote with RTLSDR, PlutoSDR LimeSDR HackRF and an RSP1 clone. I suspect that one of them is the culprit. |
I am closing this issue due inactivity. Feel free to reopen it if the problem persists. |
After compiling from source on my pi4 I get:
pi@pi4sdr:
/SigDigger $ /opt/SigDigger/bin/SigDigger/SigDigger $ /opt/SigDigger/bin/SigDiggerdouble free or corruption (out)
Aborted
pi@pi4sdr:
free(): invalid pointer
Aborted
pi@pi4sdr:~/SigDigger $ /opt/SigDigger/bin/SigDigger
Segmentation fault
Each time the splashcreen briefly appears.
What's curious is that it's a slightly different message each time.
The text was updated successfully, but these errors were encountered: