docker-alpine
docker-alpine copied to clipboard
alpine:3.9 python3 and gdb core dump in aarch64
I tried running alpine3.9 on raspberrypi3-64 today and see that python3 and pip3 both segfault and core-dump when I try and run them.
$ docker run --rm -it alpine:3.9 /bin/sh
...
$ python3
Segmentation fault (core dumped)
I tried to attach gdb to the process and it crashes as well. Makes me think its probably some libc issue, but I unfortunately don't have a core dump to share right now.
The reason gdb crashes, is that it embeds python since version 7, I think. I ran python3 and gdb through valgrind and it spits out lots of invalid reads.
Also, same error in edge
.
reoprted upstream here: https://bugs.alpinelinux.org/issues/9981
also reported upstream: https://bugs.python.org/issue36107
FYI this has been resolved upstream: https://bugs.alpinelinux.org/issues/9981#note-14
and I can confirm running python3 on aarch64 in an alpine docker container