You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling also kalibrate on mips same issue appears, like #22
root@osmega:~# kal -c 90
shmat: Invalid argument
terminate called after throwing an instance of 'std::runtime_error'
what(): circular_buffer: shmat
Aborted
root@osmega:~# uname -a
Linux osmega 4.11.0 #1 SMP Sun Feb 9 12:33:57 UTC 2020 mips GNU/Linux
root@osmega:~#
Experimenting on D_HOST_OSX without using POSIX shared memory, but only temporary mmapped file everything works fine!
Hi,
I am getting Bus Error on ARM (Linux osmio4k 5.5.16 #1 SMP Thu Apr 9 22:19:04 UTC 2020 armv7l GNU/Linux).
The kal binary is compiled using D_HOST_OSX.
Here is what gdb reports:
I tried to compile without defining the D_HOST_OSX.
But issue with shmat appeared as described in #1
Compiling also kalibrate on mips same issue appears, like #22
Experimenting on D_HOST_OSX without using POSIX shared memory, but only temporary mmapped file everything works fine!
So I created a patch here: athoik@0e203c2
This version used only mmap and it works great.
I was about to create a PR with above version, then I realized that /dev/shm is missing ....
So the problem, on ARM was the missing /dev/shm directory.
The problem on MIPS was and the missing /dev/shm directory (obviously). Also we have to build without shared memory, just like we do on ARM.
A PR was created to fix issue on MIPS. #30
So if you are getting Bus Error on ARM or MIPS check if /dev/shm exists :)
The text was updated successfully, but these errors were encountered: