Skip to content

[SR-10783] compile command failed due to signal 9 #53173

Open
@swift-ci

Description

@swift-ci
Previous ID SR-10783
Radar rdar://problem/51181514
Original Reporter tannernelson (JIRA User)
Type Bug
Environment

The system is a CircleCI box running Ubuntu 16.04 with 2CPU/4096M.

Swift version 5.0.1 (swift-5.0.1-RELEASE)
Target: x86_64-unknown-linux-gnu

Linux 7b81119c92aa 4.15.0-1035-aws #37-Ubuntu SMP Mon Mar 18 16:15:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Additional Detail from JIRA
Votes 1
Component/s Compiler, Source Tooling
Labels Bug, CompilerCrash
Assignee None
Priority Medium

md5: a83f0d011f237654ef4bad38a340045d

Issue Description:

Attempting to compile this SPM project causes signal 9:

https://github.com/vapor/crypto/tree/e60bc60b74b9b976800a44369e1067180fa59cba

swift build 
...
<unknown>:0: error: unable to execute command: Killed
<unknown>:0: error: compile command failed due to signal 9 (use -v to see invocation)
  • Using --disable-index-store fixes the issue

  • Building with -c release does not exhibit the issue.

  • Running swift build a second time, after the initial failure (without clearing .build), works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of software

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions