Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could you tell me the reason why does the container exit with code 139? #1019

Closed
GitSoftwareNow opened this issue May 25, 2020 · 2 comments
Closed

Comments

@GitSoftwareNow
Copy link

docker inspect 9fe1ca121488
[
{
"Id": "9fe1ca121488962834bd736cc6f6ae4865725f692b83a308884bc6a0f858ea5c",
"Created": "2020-05-25T03:36:31.996101656Z",
"Path": "/anbox-init.sh",
"Args": [],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 139,
"Error": "",
"StartedAt": "2020-05-25T03:36:32.962399129Z",
"FinishedAt": "2020-05-25T03:36:32.992004756Z"
},
"Image": "sha256:d4be56c2e73b7ed1da1515ce4c885bd1cb24a1ae4cea79339fe44c8c4c3f8c1e",
"ResolvConfPath": "/var/lib/docker/containers/9fe1ca121488962834bd736cc6f6ae4865725f692b83a308884bc6a0f858ea5c/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/9fe1ca121488962834bd736cc6f6ae4865725f692b83a308884bc6a0f858ea5c/hostname",
"HostsPath": "/var/lib/docker/containers/9fe1ca121488962834bd736cc6f6ae4865725f692b83a308884bc6a0f858ea5c/hosts",
"LogPath": "/var/lib/docker/containers/9fe1ca121488962834bd736cc6f6ae4865725f692b83a308884bc6a0f858ea5c/9fe1ca121488962834bd736cc6f6ae4865725f692b83a308884bc6a0f858ea5c-json.log",
"Name": "/pedantic_sinoussi",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "shareable",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/86d6d56582338dbda0dbcb7ddde19013b74c67e2c9ebe6910700ba5981839435-init/diff:/var/lib/docker/overlay2/21c3335b85a964b0ce3acf2e8a41033aadab2117d6ee4f2cd15aee3f36e59a8e/diff",
"MergedDir": "/var/lib/docker/overlay2/86d6d56582338dbda0dbcb7ddde19013b74c67e2c9ebe6910700ba5981839435/merged",
"UpperDir": "/var/lib/docker/overlay2/86d6d56582338dbda0dbcb7ddde19013b74c67e2c9ebe6910700ba5981839435/diff",
"WorkDir": "/var/lib/docker/overlay2/86d6d56582338dbda0dbcb7ddde19013b74c67e2c9ebe6910700ba5981839435/work"
},
"Name": "overlay2"
},
"Mounts": [],
"Config": {
"Hostname": "9fe1ca121488",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": true,
"OpenStdin": true,
"StdinOnce": false,
"Env": null,
"Cmd": [
"/anbox-init.sh"
],
"Image": "android:latest",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "8cd6043b8b0f9f84f1847e8371e91a614ad38e5c160b19dacf618c641651551d",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/8cd6043b8b0f",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "a7b89d6e768d3f52aab73b46546656f0056bc621b1cd54ba1563f0d08b98e93e",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
]

@akerouanton
Copy link
Member

Hello @GitSoftwareNow,

This article will explain you a bit what exit code 139 means: https://medium.com/better-programming/understanding-docker-container-exit-codes-5ee79a1d58f6. You might need to enable anbox debug logs to have more details about what happens before that segfault. Also, as your issue is specific to anbox, you might find more help by asking to anbox community 😉

@thaJeztah
Copy link
Member

Thanks @NiR-

I'm closing this ticket because this doesn't look like a bug report, and this issue tracker is not intended as a support forum. Feel free to continue the conversation after I closed though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants