Description
Previous ID | SR-8724 |
Radar | rdar://44228891 |
Original Reporter | @benlangmuir |
Type | Bug |
Status | Resolved |
Resolution | Done |
Attachment: Download
Additional Detail from JIRA
Votes | 0 |
Component/s | Compiler |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: 74773e73fceee9e0479a63715556d8b3
Issue Description:
https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/2380/
Full log attached.
==95271==ERROR: AddressSanitizer: global-buffer-overflow on address 0x00011746243e at pc 0x00010d2bf882 bp 0x7ffee6028650 sp 0x7ffee6028648
READ of size 1 at 0x00011746243e thread T0
{{ #0 0x10d2bf881 in swift::Lexer::getEncodedStringSegment(llvm::StringRef, llvm::SmallVectorImpl<char>&, bool, bool, unsigned int, unsigned int) Lexer.cpp:2119}}
{{ #1 0x10cc402a3 in swift::diagnoseExplicitUnavailability(swift::ValueDecl const*, swift::SourceRange, swift::DeclContext const*, llvm::function_ref<void (swift::InFlightDiagnostic&)>) TypeChecker.h:2167}}
<snip>
{{}}0x00011746243e is located 2 bytes to the left of global variable '<string literal>' defined in '/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/lib/ClangImporter/ImportDecl.cpp:2464:23' (0x117462440) of size 42
{{ '<string literal>' is ascii string ''id' is not available in Swift; use 'Any''}}
0x00011746243e is located 58 bytes to the right of global variable '<string literal>' defined in '/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/lib/ClangImporter/ImportDecl.cpp:2421:13' (0x117462400) of size 4
{{ '<string literal>' is ascii string 'NTD'}}
{{ }}