{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/25989","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/25989/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/25989/comments","events_url":"https://api.github.com/repos/docker/docker/issues/25989/events","html_url":"https://github.com/docker/docker/issues/25989","id":173025747,"number":25989,"title":"Docker daemon crashes when \"docker exec\" spawns background processes","user":{"login":"haiyee","id":5466921,"avatar_url":"https://avatars.githubusercontent.com/u/5466921?v=3","gravatar_id":"","url":"https://api.github.com/users/haiyee","html_url":"https://github.com/haiyee","followers_url":"https://api.github.com/users/haiyee/followers","following_url":"https://api.github.com/users/haiyee/following{/other_user}","gists_url":"https://api.github.com/users/haiyee/gists{/gist_id}","starred_url":"https://api.github.com/users/haiyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiyee/subscriptions","organizations_url":"https://api.github.com/users/haiyee/orgs","repos_url":"https://api.github.com/users/haiyee/repos","events_url":"https://api.github.com/users/haiyee/events{/privacy}","received_events_url":"https://api.github.com/users/haiyee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/version/1.12","name":"version/1.12","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-24T18:33:37Z","updated_at":"2016-08-24T18:37:18Z","closed_at":null,"body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Output of `docker version`:**\r\n```\r\nClient:\r\n Version:      1.12.0\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   8eab29e\r\n Built:        Thu Jul 28 21:15:28 2016\r\n OS/Arch:      darwin/amd64\r\n\r\nServer:\r\n Version:      1.12.0\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   8eab29e\r\n Built:        Thu Jul 28 23:54:00 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nContainers: 1\r\n Running: 0\r\n Paused: 0\r\n Stopped: 1\r\nImages: 61\r\nServer Version: 1.12.0\r\nStorage Driver: aufs\r\n Root Dir: /mnt/sda1/var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 81\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge null host overlay\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options: seccomp\r\nKernel Version: 4.4.16-boot2docker\r\nOperating System: Boot2Docker 1.12.0 (TCL 7.2); HEAD : e030bab - Fri Jul 29 00:29:14 UTC 2016\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 7.789 GiB\r\nName: default\r\nID: QK4D:BFZ2:222M:LKM6:2JFW:D7VD:AKOY:OJIT:VXJY:23C2:ZZQI:FVFF\r\nDocker Root Dir: /mnt/sda1/var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): true\r\n File Descriptors: 14\r\n Goroutines: 24\r\n System Time: 2016-08-24T18:24:45.59605555Z\r\n EventsListeners: 0\r\nRegistry: https://index.docker.io/v1/\r\nLabels:\r\n provider=virtualbox\r\nInsecure Registries:\r\n 127.0.0.0/8\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\nTested in VirtualBox on OSX + Linux Physical Host\r\n\r\n\r\n**Steps to reproduce the issue:**\r\n1.  docker exec -it \"container_id\" /bin/bash    \r\n2.  [from inside the container] sleep 1000 & \r\n3.  [from inside the container] exit\r\n\r\n**Describe the results you received:**\r\nUpon issuing exit, the container is crashed.  The docker daemon is also crashed.  At this point, I must restart the docker daemon (either docker-machine restart, or service docker restart) in order to regain control.  \r\n\r\n**Describe the results you expected:**\r\nUpon issuing the \"exit\" command, I should be able to exit the container.  The spawned children processes can keep running (or be terminated - debatable).  But the docker daemon should not crash under these circumstances.\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/242166399","html_url":"https://github.com/docker/docker/issues/25989#issuecomment-242166399","issue_url":"https://api.github.com/repos/docker/docker/issues/25989","id":242166399,"user":{"login":"cpuguy83","id":799078,"avatar_url":"https://avatars.githubusercontent.com/u/799078?v=3","gravatar_id":"","url":"https://api.github.com/users/cpuguy83","html_url":"https://github.com/cpuguy83","followers_url":"https://api.github.com/users/cpuguy83/followers","following_url":"https://api.github.com/users/cpuguy83/following{/other_user}","gists_url":"https://api.github.com/users/cpuguy83/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuguy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuguy83/subscriptions","organizations_url":"https://api.github.com/users/cpuguy83/orgs","repos_url":"https://api.github.com/users/cpuguy83/repos","events_url":"https://api.github.com/users/cpuguy83/events{/privacy}","received_events_url":"https://api.github.com/users/cpuguy83/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T18:37:18Z","updated_at":"2016-08-24T18:37:18Z","body":"Can you provide the daemon logs from the crash?"}}
{"actor":{"display_login":"cpuguy83"}}