Skip to content

Segmentation fault: Builder killed by signal SIGSEGV[11] #116

@lilianmoraru

Description

@lilianmoraru

Vagga version: v0.4.0-54-g331f7f0

The entire config file:

containers:

  ##[Helpers] Don't use ubuntu container directly, it's only for SubConfigs
  ubuntu:
    setup:
    - !UbuntuRelease { version: 15.10 }

  ##[Helpers] Don't use qt5 container directly, it's only for SubConfigs
  qt5:
    setup:
    - !SubConfig
      container: ubuntu
    - !Install [qt5-default, libgl1-mesa-dev]

  dev-env:
    setup:
    - !SubConfig
      container: qt5

commands:
  build: !Command
    container: dev-env
    description: Build QMLChecker with Qt 5.4.2
    run: "qmake --version"

  shell: !Command
    container: dev-env
    description: Open bash inside the container
    run: /bin/bash

Error:

ERROR:vagga::wrapper: Error executing _build: Builder killed by signal SIGSEGV[11] (core dumped)
Command <Command "/proc/self/exe" ("vagga_wrapper") "_build" "dev-env"; environ: {"ftp_proxy"="[company ftp proxy]","RUST_LOG"="warn","http_proxy"="http://localhost:3128","TERM"="xterm","VAGGA_USER_HOME"="/home/[my company user]","https_proxy"="https://localhost:3128",}; 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

Moving !Install in ubuntu container and changing in dev-env to use container ubuntu solves the issue. I wanted to separate the concerns...

What's even more strange, after it installs everything into the container I can change the config file as it was before and it will work ok. If I remove .vagga and run it again, it crashes again.
Segmentation fault even though using Rust :)
Searched now and you do have unsafe in a few locations. For some reason, I searched a while back and had the impression you had no unsafe inside the code(libraries using unsafe, not vagga itself).

Said core dumped but I couldn't manage to find it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions