Docker Community Forums

Share and learn in the Docker community.

Segmentation fault when running debian:wheezy bash

docker

(Surli) #1

Hi,

I just got an error because of an image exiting with code 139.
Actually the problem seems to be that executing bash on debian:wheezy crashes it with a segmentation fault:

[urli@vivat ~]$ docker run -it debian:wheezy sh
# bash
Segmentation fault (core dumped)

I noticed that an old issue of docker_for_mac was mentioning this error but it should be fixed since last year: https://github.com/docker/for-mac/issues/2169

I’m using last version of Docker:

[urli@vivat ~]$ docker version
Client:
 Version:           18.06.1-ce
 API version:       1.38
 Go version:        go1.11
 Git commit:        e68fc7a215
 Built:             Fri Sep  7 11:26:59 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.11
  Git commit:       e68fc7a215
  Built:            Fri Sep  7 11:26:11 2018
  OS/Arch:          linux/amd64
  Experimental:     false

Operating on ArchLinux with kernel 4.18.9-arch1-1-ARCH.

Edit: I just tried to apply the solution proposed in: https://github.com/docker/for-linux/issues/58#issuecomment-315150740 (i.e. to add vsyscall=emulate in /etc/default/grub) but without success so far.