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
$ docker run -it --entrypoint /bin/sh cesanta/docker_auth
/ # cd docker_auth/
/docker_auth # ./auth_server
Segmentation fault (core dumped)
# `apk add file`
/docker_auth # file auth_server
auth_server: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-aarch64.so.1, Go BuildID=JGlLhsWhVBxrFUFFeOUa/2LumMT82sgppoxbQ0vAS/Ny_Qbnuv9X6kDDNOqnQL/0Hkp7oHjnGgAUZMY0qw3, not stripped
It also segfaults when:
Docker image is built on the machine from source
I start from golang:1.16-alpine3.13, install packages, clone repository and run make
However, it does work when built outside Docker.
$ make build
$ ./auth_server
F0707 12:58:31.861938 261872 main.go:217] Config file not specified
gdb:
(gdb) run
Starting program: /docker_auth/auth_server/auth_server
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x000000000079f758 in frame_dummy ()
#2 0x0000fffff7fb66a8 in ?? () from /lib/ld-musl-aarch64.so.1
#3 0x0000fffffffffcd8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
It also segfaults when:
golang:1.16-alpine3.13
, install packages, clone repository and run makeHowever, it does work when built outside Docker.
gdb:
The text was updated successfully, but these errors were encountered: