-
Notifications
You must be signed in to change notification settings - Fork 18
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
OBAL startup problem with enable dds parameter. (SIGSEGV, Segmentation fault.) #54
Comments
Thank you for highlighting this issue. Please try to run with the following update:
|
Please confirm that CONFIG_STRICT_DEVMEM is enabled. I made a fast test on RPI-Zero W2 with 2021-05-07-raspios-buster-armhf-lite.zip and every thing seems to be working fine. |
I recompiled and installed the kernel with a modified CONFIG_STRICT_DEVMEM parameter for ubuntu. Access to /dev/mem is available. If necessary, this is my kernel. (linux-raspi-5.15.0-1017-arm64) |
From this modification I realised that the problem is that I am compiling with the |
I am not aware of the --enable-dds function but it seems to be it is related to SITL. |
The code crashes here.
Program received signal SIGSEGV, Segmentation fault. const Linux::Scheduler* scheduler = Linux::Scheduler::from(hal.scheduler); |
I can suggest a crutch for the file:
|
Bug report
Issue details
After running my compiled executable for OBAL, the following error appears: SIGSEGV, Segmentation fault. (Everything is done according to OBAL's instructions.)
When debugged, it gives the following output:
Version
Ardupilot 4.5.4; No problems on Ardupilot 4.3.3
System
Ubuntu 22.04 arm64
Compiled with clang++ 14.0.0
The text was updated successfully, but these errors were encountered: