{"action":"reopened","issue":{"url":"https://api.github.com/repos/tailhook/vagga/issues/180","repository_url":"https://api.github.com/repos/tailhook/vagga","labels_url":"https://api.github.com/repos/tailhook/vagga/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/tailhook/vagga/issues/180/comments","events_url":"https://api.github.com/repos/tailhook/vagga/issues/180/events","html_url":"https://github.com/tailhook/vagga/issues/180","id":134520059,"number":180,"title":"Crash on adding a container","user":{"login":"andreaferretti","id":1962818,"avatar_url":"https://avatars.githubusercontent.com/u/1962818?v=3","gravatar_id":"","url":"https://api.github.com/users/andreaferretti","html_url":"https://github.com/andreaferretti","followers_url":"https://api.github.com/users/andreaferretti/followers","following_url":"https://api.github.com/users/andreaferretti/following{/other_user}","gists_url":"https://api.github.com/users/andreaferretti/gists{/gist_id}","starred_url":"https://api.github.com/users/andreaferretti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreaferretti/subscriptions","organizations_url":"https://api.github.com/users/andreaferretti/orgs","repos_url":"https://api.github.com/users/andreaferretti/repos","events_url":"https://api.github.com/users/andreaferretti/events{/privacy}","received_events_url":"https://api.github.com/users/andreaferretti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-18T09:05:38Z","updated_at":"2016-03-01T01:25:31Z","closed_at":null,"body":"Hi, I was trying to make a container for launching scala notebooks using ipython/jupyter.\r\n\r\nEverything goes well adding scala dependencies and ipython itself. But as soon as I try to make a child container to run iscala, vagga crashes. The vagga file looks like\r\n\r\n```yaml\r\ncontainers:\r\n  jvm:\r\n    setup:\r\n    - !UbuntuRelease { version: 15.04 }\r\n    - !UbuntuUniverse\r\n    - !Install [openjdk-8-jre-headless, ca-certificates]\r\n  sbt:\r\n    setup:\r\n    - !Container jvm\r\n    - !Install [curl]\r\n    - !EnsureDir /work/.home/sbt\r\n    - !Download\r\n      url: https://raw.githubusercontent.com/paulp/sbt-extras/master/sbt\r\n      path: /work/.home/sbt/sbt\r\n      mode: 0o744\r\n    - !Sh \"sed -i '/^root/{s@/root@/work/.home@;}' /etc/passwd\"\r\n    volumes:\r\n      /tmp: !Tmpfs\r\n      size: 100Mi\r\n      mode: 0o1777\r\n    environ:\r\n      PATH: \"/work/.home/sbt:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\r\n      HOME: /work/.home\r\n  jupyter:\r\n    setup:\r\n    - !Container sbt\r\n    - !PipConfig\r\n      dependencies: true\r\n    - !Py3Install [\"ipython[notebook]==2.4.1\"]\r\n  iscala:\r\n    setup:\r\n    - !Container jupyter\r\ncommands:\r\n  scala: !Command\r\n    container: sbt\r\n    run: sbt -sbt-create console\r\n    description: Run a scala console\r\n  sbt: !Command\r\n    container: sbt\r\n    run: [sbt]\r\n    description: Run sbt\r\n  iscala: !Command\r\n    container: iscala\r\n    run: bash\r\n    description: Run a scala notebook\r\n  sh: !Command\r\n    container: sbt\r\n    run: bash\r\n    description: Enter a shell with sbt available\r\n```\r\n\r\nEven just adding the `iscala` container depending on `jupyter` is enough to trigger the crash.\r\n\r\nTo reproduce the crash, run `vagga iscala` on latest `vagga-testing'. The error I get is\r\n\r\n```\r\npapillon@marvin:~/esperimenti/vagga/scala$ vagga iscala\r\nERROR:vagga::wrapper: Error executing _build: Builder killed by signal SIGSEGV[11] (core dumped)\r\nCommand <Command \"/proc/self/exe\" (\"vagga_wrapper\") \"_build\" \"iscala\"; environ: {\"_VAGGA_HOME\"=\"/home/papillon\",\"TERM\"=\"xterm\",\"RUST_LOG\"=\"warn\",}; uid_map=[UidMap { inside_uid: 0, outside_uid: 1000, count: 1 }, UidMap { inside_uid: 100000, outside_uid: 100000, count: 65536 }]; gid_map=[GidMap { inside_gid: 0, outside_gid: 1000, count: 1 }, GidMap { inside_gid: 100000, outside_gid: 100000, count: 65536 }]> exited with code 124\r\n```"}}