{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/1136","repository_url":"https://api.github.com/repos/hashicorp/nomad","labels_url":"https://api.github.com/repos/hashicorp/nomad/issues/1136/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/nomad/issues/1136/comments","events_url":"https://api.github.com/repos/hashicorp/nomad/issues/1136/events","html_url":"https://github.com/hashicorp/nomad/issues/1136","id":151782059,"number":1136,"title":"`raw_exec` plugin crashing with segfault","user":{"login":"dvusboy","id":794816,"avatar_url":"https://avatars.githubusercontent.com/u/794816?v=3","gravatar_id":"","url":"https://api.github.com/users/dvusboy","html_url":"https://github.com/dvusboy","followers_url":"https://api.github.com/users/dvusboy/followers","following_url":"https://api.github.com/users/dvusboy/following{/other_user}","gists_url":"https://api.github.com/users/dvusboy/gists{/gist_id}","starred_url":"https://api.github.com/users/dvusboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvusboy/subscriptions","organizations_url":"https://api.github.com/users/dvusboy/orgs","repos_url":"https://api.github.com/users/dvusboy/repos","events_url":"https://api.github.com/users/dvusboy/events{/privacy}","received_events_url":"https://api.github.com/users/dvusboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-29T02:28:25Z","updated_at":"2016-04-29T02:28:25Z","closed_at":null,"body":"### Nomad version\r\nOutput from `nomad version`:\r\n```\r\nNomad v0.3.2\r\n```\r\nI am using the pre-built binary from `releases.hashicorp.com`\r\n\r\n### Operating system and Environment details\r\n```\r\nNAME=\"CentOS Linux\"\r\nVERSION=\"7 (Core)\"\r\nID=\"centos\"\r\nID_LIKE=\"rhel fedora\"\r\nVERSION_ID=\"7\"\r\nPRETTY_NAME=\"CentOS Linux 7 (Core)\"\r\nANSI_COLOR=\"0;31\"\r\nCPE_NAME=\"cpe:/o:centos:centos:7\"\r\nHOME_URL=\"https://www.centos.org/\"\r\nBUG_REPORT_URL=\"https://bugs.centos.org/\"\r\n\r\nCENTOS_MANTISBT_PROJECT=\"CentOS-7\"\r\nCENTOS_MANTISBT_PROJECT_VERSION=\"7\"\r\nREDHAT_SUPPORT_PRODUCT=\"centos\"\r\nREDHAT_SUPPORT_PRODUCT_VERSION=\"7\"\r\n```\r\n\r\n### Issue\r\n`raw_exec` plugin is crashing with a signal 11 when I'm running a shell script that eventually tries to launch `docker-compose`. However, I don't believe the shell-script, specified as `artifact_source`, is retrieved because I don't see it in the `alloc` directory.\r\n\r\n### Reproduction steps\r\nThis would be very involved, as the docker images are hosted in a private registry. That said, I'm providing snippets from the `systemd` journal and many of the artifacts such as the compose file, shell-script and the JSON job spec in [this gist](https://gist.github.com/dvusboy/db875543f3bd83e57b079cbcb9c02e81)\r\n\r\n### Nomad Server logs (if appropriate)\r\nI am running a 3-member server cluster. But this is the output of the `alloc-status`:\r\n\r\n```\r\n$ nomad alloc-status 82684350\r\nID            = 82684350\r\nEval ID       = 248a9d2f\r\nName          = gromacs-trimethylamine.trimethylamine-vdw-17_group[0]\r\nNode ID       = 04294207\r\nJob ID        = gromacs-trimethylamine\r\nClient Status = failed\r\n\r\n==> Task Resources\r\nTask: \"trimethylamine-vdw-17\"\r\nCPU    Memory MB  Disk MB  IOPS  Addresses\r\n12000  2000       190      0\r\n\r\n==> Task \"trimethylamine-vdw-17\" is \"dead\"\r\nRecent Events:\r\nTime                   Type                   Description\r\n28/04/16 18:38:49 PDT  Restarts Exceeded      <none>\r\n28/04/16 18:38:49 PDT  Driver Failure         error starting process via the plugin: unexpected EOF\r\n28/04/16 18:38:49 PDT  Downloading Artifacts  Client is downloading artifacts\r\n28/04/16 18:38:49 PDT  Received               Task received by client\r\n```\r\n\r\n### Nomad Client logs (if appropriate)\r\nSee the gist referenced above.\r\n\r\n### Job file (if appropriate)\r\nSee the gist."}}