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

Erik Eckstein eeckstein at apple.com
Tue Apr 18 18:07:42 CDT 2017


Does anyone feel responsible for this asan crash?

=================================================================
==56579==ERROR: AddressSanitizer: heap-use-after-free on address 0x60200000e6b8 at pc 0x000115dfdca9 bp 0x70000cccc8f0 sp 0x70000cccc8e8
READ of size 8 at 0x60200000e6b8 thread T6
0  sourcekitd-test                    0x0000000109794c77 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 231
1  sourcekitd-test                    0x0000000109791ee2 llvm::sys::RunSignalHandlers() + 194
2  sourcekitd-test                    0x0000000109795afd SignalHandler(int) + 765
3  libsystem_platform.dylib           0x00007fff93067bba _sigtramp + 26
4  libsystem_platform.dylib           0x0000000115d1b968 _sigtramp + 2194357704
5  libdispatch.dylib                  0x00007fff92e2500d _dispatch_dispose + 35
6  libdispatch.dylib                  0x00007fff92e49201 -[OS_dispatch_queue _xref_dispose] + 57
7  libsourcekitdInProc.dylib          0x0000000115e38264 SourceKit::SwiftLangSupport::~SwiftLangSupport() + 1284
8  libsourcekitdInProc.dylib          0x0000000115e3841e SourceKit::SwiftLangSupport::~SwiftLangSupport() + 14
9  libsourcekitdInProc.dylib          0x000000011610eaa9 SourceKit::Context::~Context() + 457
10 libsourcekitdInProc.dylib          0x0000000115e86c4a sourcekitd::shutdown() + 26
11 libsourcekitdInProc.dylib          0x0000000115eb75b4 sourcekitd_shutdown + 644
12 sourcekitd-test                    0x000000010910ecf3 __main_block_invoke + 3027
13 libclang_rt.asan_osx_dynamic.dylib 0x0000000109fe420f __wrap_dispatch_async_block_invoke + 271
14 libdispatch.dylib                  0x00007fff92e2cef7 _dispatch_call_block_and_release + 12
15 libdispatch.dylib                  0x00007fff92e240b8 _dispatch_client_callout + 8
16 libdispatch.dylib                  0x00007fff92e26029 _dispatch_root_queue_drain + 917
17 libdispatch.dylib                  0x00007fff92e25c47 _dispatch_worker_thread3 + 99
18 libsystem_pthread.dylib            0x00007fff93071712 _pthread_wqthread + 1299
19 libsystem_pthread.dylib            0x00007fff930711ed start_wqthread + 13
/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64/test-macosx-x86_64/SourceKit/Sema/Output/sema_diag_after_edit_fixit.swift.script: line 1: 56579 Illegal instruction: 4  /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64/bin/sourcekitd-test -req=open /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/SourceKit/Sema/sema_diag_after_edit_fixit.swift -- /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/SourceKit/Sema/sema_diag_after_edit_fixit.swift == -req=print-diags /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/SourceKit/Sema/sema_diag_after_edit_fixit.swift == -req=edit -pos=2:1 -replace="_" -length=5 /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/SourceKit/Sema/sema_diag_after_edit_fixit.swift -print-raw-response
     56580 Done                    | /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift' --use-filecheck '/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/llvm-macosx-x86_64/./bin/FileCheck' /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/SourceKit/Sema/sema_diag_after_edit_fixit.swift

--

> On Apr 18, 2017, at 3:50 PM, no-reply at swift.org wrote:
> 
> [FAILURE] oss-swift-incremental-ASAN-RA-osx [#471]
> 
> Build URL:	https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/471/ <https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/471/>
> Project:	oss-swift-incremental-ASAN-RA-osx
> Date of build:	Tue, 18 Apr 2017 12:26:23 -0700
> Build duration:	3 hr 24 min
> Identified problems:
> 
> Regression test failed: This build failed because a regression test in the test suite FAILed. Below is a list of all errors:
> Indication 1 <https://ci.swift.org//job/oss-swift-incremental-ASAN-RA-osx/471/consoleFull#-1428881329fca400bf-2f4a-462e-b517-e058d770b2d7>
> Tests:
> 
> Name: Swift(macosx-x86_64)
> Failed: 1 test(s), Passed: 9207 test(s), Total: 9208 test(s)
> Failed: Swift(macosx-x86_64).SourceKit/Sema.sema_diag_after_edit_fixit.swift <https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/471/testReport/junit/Swift(macosx-x86_64)/SourceKit_Sema/sema_diag_after_edit_fixit_swift>
> Name: Swift-Unit
> Failed: 0 test(s), Passed: 476 test(s), Total: 476 test(s)
> 
> Changes
> 
> Commit 7bedb6fdd590caf365760c447e250c8d0ab11812 by Huon Wilson:
> [TBDGen] Generic types have fewer symbols.
> 
> edit: test/TBD/struct.swift
> edit: test/TBD/class.swift
> edit: lib/TBDGen/TBDGen.cpp
> 
> Commit dbc9d8eaaae6f23dc61314397e9076c89892d317 by Huon Wilson:
> [TBDGen] `main` is a symbol.
> 
> add: test/TBD/main.swift
> edit: lib/TBDGen/TBDGen.cpp
> 
> Commit 03dd5274147cc0f8fd30946298e0c7d461fa9998 by Philippe Hausler:
> [Foundation] Rework NSFastEnumerationIterator to be more performant
> 
> edit: stdlib/public/SDK/Foundation/NSFastEnumeration.swift
> 
> Commit aaf3006bb4546afb8068d4856bb90e30bf8025c6 by Huon Wilson:
> [TBDGen] Only normal conformances get symbols.
> 
> edit: lib/TBDGen/TBDGen.cpp
> 
> Commit d26c9791e59dd7329a5cb753b2f7fb65f458524e by Huon Wilson:
> [AST] Classes know their appropriate metaclass.
> 
> edit: lib/IRGen/IRGenModule.h
> edit: lib/IRGen/GenDecl.cpp
> edit: include/swift/AST/Decl.h
> edit: lib/AST/Decl.cpp
> 
> Commit 2c40b39f263d6736a28b729e1c71170bca1705da by John McCall:
> Move runtime functions for casting into their own header.
> 
> edit: stdlib/public/runtime/ErrorObject.mm
> edit: stdlib/public/runtime/Casting.cpp
> edit: stdlib/public/runtime/Reflection.mm
> edit: stdlib/public/runtime/SwiftObject.mm
> edit: include/swift/Runtime/Metadata.h
> edit: stdlib/public/runtime/SwiftValue.mm
> edit: stdlib/public/runtime/ProtocolConformance.cpp
> add: include/swift/Runtime/Casting.h
> edit: stdlib/public/runtime/AnyHashableSupport.cpp
> edit: stdlib/public/runtime/Metadata.cpp
> 
> Commit 82c2d11632d21e8eada65000e2b1d0654d8d6edd by John McCall:
> Allow dynamic access markers in non-raw SIL.
> 
> edit: lib/SIL/SILVerifier.cpp
> edit: lib/SIL/SILFunction.cpp
> edit: include/swift/SIL/SILFunction.h
> edit: lib/SILOptimizer/Mandatory/AccessMarkerElimination.cpp
> 
> Commit 93dfa5ea97da211d0e0f01212237c8605c5b677c by Huon Wilson:
> [IRGen] ObjC class aliases are as visible as their aliasee.
> 
> edit: test/IRGen/objc_class_export.swift
> edit: lib/IRGen/GenMeta.cpp
> 
> Commit 1297647702f8848b813dc448a7a935a29de21689 by Huon Wilson:
> [TBDGen] ObjC classes and metaclasses.
> 
> edit: lib/TBDGen/TBDGen.cpp
> 
> Commit 78dcc1be283640fbf2d285b06f9b990d6c9fdfdc by Huon Wilson:
> [TBDGen] ObjC classes don't have public destructors.
> 
> edit: lib/TBDGen/TBDGen.cpp
> add: test/TBD/class_objc.swift
> add: test/TBD/Input/objc_class_header.h
> 
> Commit fb8abcf3c0d0772d49276a0562df50c2c5022ba4 by Huon Wilson:
> [TBDGen] Resilient classes can have indirect fields.
> 
> edit: lib/TBDGen/TBDGen.cpp
> 
> Commit 5ce7289db8fedbff8ccf40c2e7917002c527d483 by Huon Wilson:
> [AST] No redundant clang node check for metaclass ObjC-ness.
> 
> edit: lib/AST/Decl.cpp
> 
> Commit 6c16cfaa14dbd08069cf66a0ac233e9978e04747 by John McCall:
> Implement a basic dynamic-enforcement runtime and teach IRGen to use it.
> 
> add: stdlib/public/runtime/Exclusivity.cpp
> edit: include/swift/ABI/MetadataValues.h
> edit: include/swift/Runtime/RuntimeFunctions.def
> edit: stdlib/public/runtime/CMakeLists.txt
> add: test/IRGen/exclusivity.sil
> edit: lib/IRGen/IRGenSIL.cpp
> add: include/swift/Runtime/Exclusivity.h

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170418/10900166/attachment.html>


More information about the swift-dev mailing list