docker-alpine icon indicating copy to clipboard operation
docker-alpine copied to clipboard

alpine:3.9 python3 and gdb core dump in aarch64

Open doanac opened this issue 6 years ago • 4 comments

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.

doanac avatar Feb 05 '19 22:02 doanac

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.

antagon avatar Feb 22 '19 07:02 antagon

reoprted upstream here: https://bugs.alpinelinux.org/issues/9981

ncopa avatar Feb 22 '19 08:02 ncopa

also reported upstream: https://bugs.python.org/issue36107

ncopa avatar Feb 25 '19 17:02 ncopa

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

flamechair avatar Apr 12 '19 04:04 flamechair