Issue
I'm trying to run an application in a Ubuntu 20.04 docker container. It launches but soon crashes.
Using GDB I've tracked it down to this
Thread 36 "Emuthread - Sta" received signal SIGBUS, Bus error.
[Switching to Thread 0x7fff57fff700 (LWP 7323)]
--Type <RET> for more, q to quit, c to continue without paging--c
__memset_avx2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:214
214 ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: No such file or directory.
It seems like it's missing this library
I've messed around with trying to install the MultiArch Ubuntu dev packages but not luck yet.
Solution
It seems like it's missing this library
Nothing is missing here (other than the source code for __memset_avx2_unaligned_erms()
).
Google "docker memset sigbus" yields many hits. I suggest starting with this one.
Answered By - Employed Russian