-
Notifications
You must be signed in to change notification settings - Fork 62
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
luaradio crash into Ubuntu AARCH64 RPI4 #73
Comments
I compiled without de optimizations and is working:
I'll try to identify what are the lib that is failing |
OK, after doing many test I found the issue was VOLK, now without install them, is working well
|
@vsergeev I compiled VOLK from sources latest 2.5.1, but same issue... do you think something need to be updated from luaradio? to work with VOLK into rpi4 aarch64?
thanks! |
Reading GDB core dump say:
|
Hello, same problem here.
|
Encountered same issue change your librtlsdr version |
@Maissacrement what version works for you? You say that the issue is from librtlsdr? |
Hi @vsergeev are you be able to check this issue? I think is really important for all of use that run inside low profile CPUs like RPI. Thanks! |
I got the same issue into Apple M1 Pro, that looks that the problem is the same into all ARM 64 bits arch.
@vsergeev some way to take a look on this? thanks in advance! |
look like VOLK on NEON cpu was broken, almost into the latest release of VOLK Say:
|
I was able to reproduce the crash under Arch Linux ARM aarch64 and VOLK 2.5.0. Unfortunately, it still crashes under VOLK 2.5.2 too.
It does appear to just be a problem with using VOLK, as running with it disabled it works fine:
I'll have to dive in a bit more to see if it's an issue interfacing with VOLK or inside VOLK itself. |
I've narrowed the issue down to the call to |
I wasn't able to reproduce the crash in a standalone C program using VOLK. I'm starting to suspect the issue is either a LuaJIT optimization or perhaps a lurking memory management bug in LuaRadio (this seems less likely as it works on armv7l with a similar setup). When turning on level 3 optimization flags one by one, the last one
|
seems like, it is a x86 optimization, from what I read on the lua mailing list:
|
Process show this error, inmediatly after start:
Running inside docker containter of ubuntu focal aarch64, inside RPI4
Core dump are created
core.602.gz
some advice?
The text was updated successfully, but these errors were encountered: