On 07/12/2017 06:46 PM, Philippe Mathieu-Daudé wrote:
now trying old debian release:
$ docker run --rm -it debian:wheezy sh -c "cat /etc/debian_version";
echo $?
7.11
0
$ docker run --rm -it debian:wheezy bash -c "cat /etc/debian_version";
echo $?
139
Indeed using debian:wheezy based dockerfile:
$ make docker-test-quick@debian7
[...]
Step 4/14 : RUN apt-get update
---> Running in 305758a09ca4
E: Method http has died unexpectedly!
E: Sub-process http received a segmentation fault.
The command '/bin/sh -c apt-get update' returned a non-zero code: 100
$ dmesg
sh[25336] vsyscall attempted with vsyscall=none ip:ffffffffff600400
cs:33 sp:7fffa210e208 ax:ffffffffff600400 si:7fffa210ef60 di:0
sh[25336]: segfault at ffffffffff600400 ip ffffffffff600400 sp
00007fffa210e208 error 15
note, this does test Fam's "docker.py: Improve subprocess exit code
handling" :P