[Swift CI] Build Failure: 1. OSS - Swift ASAN - OS X (master) #3275

Report

[FAILURE] oss-swift-incremental-ASAN-RA-osx [#3275]

Build URL:
https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/3275/
Project:
oss-swift-incremental-ASAN-RA-osx
Date of build:
Tue, 23 Apr 2019 13:00:34 -0500
Build duration:
2 hr 50 min

Identified problems:

  • Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:

Changes

  • Commit 7da91d5aeb6504858f82a1f9e52fc61867174de9 by gwen.mittertreiner:
    Fix SourceKit/CursorInfo Tests on Windows

    • edit: tools/SourceKit/tools/sourcekitd-test/sourcekitd-test.cpp
    • edit: tools/SourceKit/lib/SwiftLang/SwiftLangSupport.cpp
    • edit: test/SourceKit/CursorInfo/cursor_symlink.swift
  • Commit a4025445880ee29e14de0f101a769f6c64d3a0ed by eeckstein:
    SILOptimizer: support for Dictionary literals generated in the data

    • edit: test/SILOptimizer/static_arrays.swift
    • edit: lib/SILOptimizer/Transforms/ObjectOutliner.cpp
  • Commit a0676e02abb1082ade0427b57d9b1f0a29807a85 by github:
    [Accelerate] [vDSP] DFT, FFT, DCT, and Biquad (#24207)

    • edit: stdlib/public/Darwin/Accelerate/AccelerateBuffer.swift
    • edit: test/stdlib/Accelerate.swift
    • add: test/stdlib/Accelerate_vDSPFourierTransform.swift
    • add: stdlib/public/Darwin/Accelerate/vDSP_FFT.swift
    • edit: stdlib/public/Darwin/Accelerate/Accelerate.swift
    • add: stdlib/public/Darwin/Accelerate/vDSP_DCT.swift
    • add: stdlib/public/Darwin/Accelerate/vDSP_Biquad.swift
    • add: stdlib/public/Darwin/Accelerate/vDSP_FFT_DFT_Common.swift
    • add: test/stdlib/Accelerate_vDSPBiquad.swift
    • add: stdlib/public/Darwin/Accelerate/vDSP_DFT.swift
    • edit: stdlib/public/Darwin/Accelerate/CMakeLists.txt
  • Commit 9c25555e9b95b329c9be8827911bb08e86361cc1 by aprantl:
    Implement sys::fs::copy_file using the macOS copyfile(3) API to support

    • edit: lib/Support/Unix/Path.inc
    • edit: lib/Support/Path.cpp
  • Commit 84c7a7bdc4a9c32fce52e26eb83c0fa3867abd83 by vsk:
    rdar://49167240: [HotColdSplit] Reflect full cost of parameters in split

    • edit: lib/Transforms/IPO/HotColdSplitting.cpp
    • edit: test/Transforms/HotColdSplit/apply-penalty-for-outputs.ll
    • edit: test/Transforms/CodeExtractor/extract-assume.ll
    • edit: test/Transforms/HotColdSplit/apply-penalty-for-inputs.ll
    • edit: test/Transforms/HotColdSplit/apply-successor-penalty.ll
  • Commit 3d2549c06c75f58c00cb200aebf75e0f43a65628 by aprantl:
    [dsymutil] Collect parseable Swift interfaces in the .dSYM bundle.

    • edit: tools/dsymutil/LinkUtils.h
    • edit: tools/dsymutil/DwarfLinker.cpp
    • add: test/tools/dsymutil/X86/swift-interface.test
    • edit: tools/dsymutil/dsymutil.cpp
    • edit: tools/dsymutil/CompileUnit.h
    • edit: tools/dsymutil/CompileUnit.cpp
    • add: test/tools/dsymutil/Inputs/swift-interface.ll
    • edit: include/llvm/DebugInfo/DWARF/DWARFFormValue.h
    • edit: tools/dsymutil/DwarfLinker.h
  • Commit cbe3dd50cb7e379124b3bbbabaeb5a1a273b2226 by vsk:
    [GVN+LICM] Use line 0 locations for better crash attribution

    • edit: lib/Transforms/Scalar/LICM.cpp
    • edit: lib/Transforms/Scalar/GVN.cpp
    • edit: test/Transforms/GVN/PRE/phi-translate.ll
    • edit: test/DebugInfo/Generic/licm-hoist-debug-loc.ll
  • Commit 1b07e9dc3e56b40b0ead80ab85060620b10fd303 by aprantl:
    Try to work around compile errors with older versions of GCC.

    • edit: tools/dsymutil/dsymutil.cpp
  • Commit 5a0087d9575c973ce751b23b78db3d0f1e0a3fad by aprantl:
    Fully qualify llvm::Optional, some compilers complain otherwise.

    • edit: tools/dsymutil/dsymutil.cpp
**15:50:47** Failing Tests (2):
**15:50:47**     Swift(macosx-x86_64) :: stdlib/AnyHashableCasts.swift.gyb
**15:50:47**     Swift(macosx-x86_64) :: TypeDecoder/lowered_function_types.swift

Adrian,
looks like this is yours. It's a crash in dsymutil.

I already fixed this this morning:

commit 53bd7ce42ed64f5cd3d15ecbf4da00dc57af8e9b

Author: Adrian Prantl aprantl@apple.com

[dsymutil] Fix use-after-free when sys::path::append grows the buffer.



<rdar://problem/50117620>



llvm-svn: 359003

New issue found!