Skip to content

Instantly share code, notes, and snippets.

@jshier
Created November 5, 2021 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jshier/8c9c7190e1166c28df567fe869355e49 to your computer and use it in GitHub Desktop.
Save jshier/8c9c7190e1166c28df567fe869355e49 to your computer and use it in GitHub Desktop.
Alamofire Test Thread Sanitizer Issues
Test Suite 'Selected tests' started at 2021-11-04 21:46:22.999
Test Suite 'Alamofire macOS Tests.xctest' started at 2021-11-04 21:46:23.001
Test Suite 'DataConcurrencyTests' started at 2021-11-04 21:46:23.002
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskCancellationCancelsRequest]' started.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000307a0 by thread T4:
#0 (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:191 (Alamofire:x86_64+0x73e01)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000307a0 by thread T2:
#0 closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:191 (Alamofire:x86_64+0x73d73)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:191 in (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b6000030748 by thread T4:
#0 (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:191 (Alamofire:x86_64+0x73e42)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030748 by thread T2:
#0 closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:191 (Alamofire:x86_64+0x73d24)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:191 in (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b6000030740 by thread T4:
#0 (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:191 (Alamofire:x86_64+0x73e57)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030740 by thread T2:
#0 closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:191 (Alamofire:x86_64+0x73ca1)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:191 in (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b6000030738 by thread T4:
#0 (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:191 (Alamofire:x86_64+0x73e6c)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030738 by thread T2:
#0 closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:191 (Alamofire:x86_64+0x73c71)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:191 in (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b6000030730 by thread T4:
#0 (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:191 (Alamofire:x86_64+0x73e81)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030730 by thread T2:
#0 closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift (Alamofire:x86_64+0x73bca)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:191 in (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Write of size 8 at 0x7b6000030728 by thread T4:
#0 (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:191 (Alamofire:x86_64+0x73eb9)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030728 by thread T2:
#0 closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift (Alamofire:x86_64+0x73bf2)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:191 in (1) await resume partial function for closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000306c0 by thread T4:
#0 (1) await resume partial function for thunk for @callee_guaranteed @async () -> (@out DataResponse<A, AFError>) <compiler-generated> (Alamofire:x86_64+0x6e3b1)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000306c0 by thread T2:
#0 thunk for @callee_guaranteed @async () -> (@out DataResponse<A, AFError>) <compiler-generated> (Alamofire:x86_64+0x6e33a)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race <compiler-generated> in (1) await resume partial function for thunk for @callee_guaranteed @async () -> (@out DataResponse<A, AFError>)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000306a0 by thread T4:
#0 (1) await resume partial function for thunk for @callee_guaranteed @async () -> (@out DataResponse<A, AFError>) <compiler-generated> (Alamofire:x86_64+0x6e3e7)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000306a0 by thread T2:
#0 thunk for @callee_guaranteed @async () -> (@out DataResponse<A, AFError>) <compiler-generated> (Alamofire:x86_64+0x6e315)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race <compiler-generated> in (1) await resume partial function for thunk for @callee_guaranteed @async () -> (@out DataResponse<A, AFError>)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Write of size 8 at 0x7b6000030698 by thread T4:
#0 (1) await resume partial function for thunk for @callee_guaranteed @async () -> (@out DataResponse<A, AFError>) <compiler-generated> (Alamofire:x86_64+0x6e41f)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030698 by thread T2:
#0 thunk for @callee_guaranteed @async () -> (@out DataResponse<A, AFError>) <compiler-generated> (Alamofire:x86_64+0x6e2cc)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race <compiler-generated> in (1) await resume partial function for thunk for @callee_guaranteed @async () -> (@out DataResponse<A, AFError>)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000305d0 by thread T4:
#0 (1) await resume partial function for withTaskCancellationHandler<A>(handler:operation:) <compiler-generated> (Alamofire:x86_64+0x6e795)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000305d0 by thread T2:
#0 withTaskCancellationHandler<A>(handler:operation:) <compiler-generated> (Alamofire:x86_64+0x6e708)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race <compiler-generated> in (1) await resume partial function for withTaskCancellationHandler<A>(handler:operation:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000305b0 by thread T4:
#0 (1) await resume partial function for withTaskCancellationHandler<A>(handler:operation:) <compiler-generated> (Alamofire:x86_64+0x6e7c8)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000305b0 by thread T2:
#0 withTaskCancellationHandler<A>(handler:operation:) <compiler-generated> (Alamofire:x86_64+0x6e6e3)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race <compiler-generated> in (1) await resume partial function for withTaskCancellationHandler<A>(handler:operation:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Write of size 8 at 0x7b60000305a8 by thread T4:
#0 (1) await resume partial function for withTaskCancellationHandler<A>(handler:operation:) <compiler-generated> (Alamofire:x86_64+0x6e80b)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000305a8 by thread T2:
#0 withTaskCancellationHandler<A>(handler:operation:) <compiler-generated> (Alamofire:x86_64+0x6e6a9)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race <compiler-generated> in (1) await resume partial function for withTaskCancellationHandler<A>(handler:operation:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b6000030598 by thread T4:
#0 (1) await resume partial function for withTaskCancellationHandler<A>(handler:operation:) <compiler-generated> (Alamofire:x86_64+0x6e899)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030598 by thread T2:
#0 closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:188 (Alamofire:x86_64+0x73645)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race <compiler-generated> in (1) await resume partial function for withTaskCancellationHandler<A>(handler:operation:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b6000030590 by thread T4:
#0 (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:188 (Alamofire:x86_64+0x736d4)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030590 by thread T2:
#0 closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:188 (Alamofire:x86_64+0x7362f)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:188 in (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000304f8 by thread T4:
#0 (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:188 (Alamofire:x86_64+0x7371d)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000304f8 by thread T2:
#0 closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:188 (Alamofire:x86_64+0x735d4)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:188 in (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Write of size 8 at 0x7b60000304c8 by thread T4:
#0 (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:188 (Alamofire:x86_64+0x73760)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000304c8 by thread T2:
#0 closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift (Alamofire:x86_64+0x7343e)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:188 in (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000304f0 by thread T4:
#0 (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:187 (Alamofire:x86_64+0x7378c)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000304f0 by thread T2:
#0 closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:190 (Alamofire:x86_64+0x7354a)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:187 in (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000304e8 by thread T4:
#0 (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:187 (Alamofire:x86_64+0x737a1)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000304e8 by thread T2:
#0 closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift (Alamofire:x86_64+0x734df)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:187 in (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000304e0 by thread T4:
#0 (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:187 (Alamofire:x86_64+0x737b6)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000304e0 by thread T2:
#0 closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift (Alamofire:x86_64+0x733f0)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:187 in (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000304d8 by thread T4:
#0 (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:187 (Alamofire:x86_64+0x737cb)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000304d8 by thread T2:
#0 closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift (Alamofire:x86_64+0x73405)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:187 in (1) await resume partial function for closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b6000030460 by thread T4:
#0 (1) await resume partial function for thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) <compiler-generated> (Alamofire:x86_64+0x81bb1)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030460 by thread T2:
#0 thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) <compiler-generated> (Alamofire:x86_64+0x81b3a)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race <compiler-generated> in (1) await resume partial function for thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b6000030440 by thread T4:
#0 (1) await resume partial function for thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) <compiler-generated> (Alamofire:x86_64+0x81be7)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030440 by thread T2:
#0 thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) <compiler-generated> (Alamofire:x86_64+0x81b15)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race <compiler-generated> in (1) await resume partial function for thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Write of size 8 at 0x7b6000030438 by thread T4:
#0 (1) await resume partial function for thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) <compiler-generated> (Alamofire:x86_64+0x81c1f)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000030438 by thread T2:
#0 thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) <compiler-generated> (Alamofire:x86_64+0x81acc)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000030400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race <compiler-generated> in (1) await resume partial function for thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
2021-11-04 21:46:37.846995-0400 xctest[66170:4319355] [logging-persist] cannot open file at line 45340 of [d24547a13b]
2021-11-04 21:46:37.847161-0400 xctest[66170:4319355] [logging-persist] os_unix.c:45340: (0) open(/var/db/DetachedSignatures) - Undefined error: 0
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskCancellationCancelsRequest]' passed (14.848 seconds).
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskIsAutomaticallyCancelledInTaskGroupWhenEnabled]' started.
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskIsAutomaticallyCancelledInTaskGroupWhenEnabled]' passed (0.009 seconds).
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskIsAutomaticallyCancelledInTaskWhenEnabled]' started.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b3800017390 by thread T2:
#0 Request.$mutableState.getter Request.swift (Alamofire:x86_64+0x1439fe)
#1 Request.cancel() Request.swift:668 (Alamofire:x86_64+0x15889b)
#2 closure #1 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:189 (Alamofire:x86_64+0x73b19)
#3 partial apply for closure #1 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x744fd)
#4 performCancellationAction(swift::TaskStatusRecord*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x33a1e)
#5 closure #1 in DataTask.response.getter Concurrency.swift:40 (Alamofire:x86_64+0x6dc2a)
#6 partial apply for closure #1 in DataTask.response.getter <compiler-generated> (Alamofire:x86_64+0x6dc79)
#7 swift_task_addCancellationHandler <null>:2 (libswift_Concurrency.dylib:x86_64+0x3151f)
Previous write of size 8 at 0x7b3800017390 by thread T4:
#0 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:127 (Alamofire:x86_64+0x1486b7)
#1 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#2 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#3 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#4 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#5 DataConcurrencyTests.testThatDataTaskIsAutomaticallyCancelledInTaskWhenEnabled() ConcurrencyTests.swift:134 (Alamofire macOS Tests:x86_64+0x57f8d1)
#6 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 224 at 0x7b3800017300 allocated by thread T4:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#3 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#4 DataConcurrencyTests.testThatDataTaskIsAutomaticallyCancelledInTaskWhenEnabled() ConcurrencyTests.swift:134 (Alamofire macOS Tests:x86_64+0x57f8d1)
#5 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T2 (tid=4319898, running) is a GCD worker thread
Thread T4 (tid=4319908, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Request.swift in Request.$mutableState.getter
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b4800034510 by thread T2:
#0 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x142e3)
#1 Request.cancel() Request.swift:668 (Alamofire:x86_64+0x1588f5)
#2 closure #1 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:189 (Alamofire:x86_64+0x73b19)
#3 partial apply for closure #1 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x744fd)
#4 performCancellationAction(swift::TaskStatusRecord*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x33a1e)
#5 closure #1 in DataTask.response.getter Concurrency.swift:40 (Alamofire:x86_64+0x6dc2a)
#6 partial apply for closure #1 in DataTask.response.getter <compiler-generated> (Alamofire:x86_64+0x6dc79)
#7 swift_task_addCancellationHandler <null>:2 (libswift_Concurrency.dylib:x86_64+0x3151f)
Previous write of size 8 at 0x7b4800034510 by thread T4:
#0 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13bb7)
#1 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 DataConcurrencyTests.testThatDataTaskIsAutomaticallyCancelledInTaskWhenEnabled() ConcurrencyTests.swift:134 (Alamofire macOS Tests:x86_64+0x57f8d1)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 339 at 0x7b4800034500 allocated by thread T4:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 DataConcurrencyTests.testThatDataTaskIsAutomaticallyCancelledInTaskWhenEnabled() ConcurrencyTests.swift:134 (Alamofire macOS Tests:x86_64+0x57f8d1)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T2 (tid=4319898, running) is a GCD worker thread
Thread T4 (tid=4319908, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:126 in Protected.write<A>(_:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b0800043c70 by thread T2:
#0 UnfairLock.lock() Protected.swift:74 (Alamofire:x86_64+0x128d7)
#1 protocol witness for Lock.lock() in conformance UnfairLock <compiler-generated> (Alamofire:x86_64+0x12970)
#2 Lock.around<A>(_:) Protected.swift:39 (Alamofire:x86_64+0x121a4)
#3 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x14373)
#4 Request.cancel() Request.swift:668 (Alamofire:x86_64+0x1588f5)
#5 closure #1 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:189 (Alamofire:x86_64+0x73b19)
#6 partial apply for closure #1 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x744fd)
#7 performCancellationAction(swift::TaskStatusRecord*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x33a1e)
#8 closure #1 in DataTask.response.getter Concurrency.swift:40 (Alamofire:x86_64+0x6dc2a)
#9 partial apply for closure #1 in DataTask.response.getter <compiler-generated> (Alamofire:x86_64+0x6dc79)
#10 swift_task_addCancellationHandler <null>:2 (libswift_Concurrency.dylib:x86_64+0x3151f)
Previous write of size 8 at 0x7b0800043c70 by thread T4:
#0 UnfairLock.init() Protected.swift:64 (Alamofire:x86_64+0x1265a)
#1 UnfairLock.__allocating_init() Protected.swift (Alamofire:x86_64+0x125b1)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 DataConcurrencyTests.testThatDataTaskIsAutomaticallyCancelledInTaskWhenEnabled() ConcurrencyTests.swift:134 (Alamofire macOS Tests:x86_64+0x57f8d1)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 24 at 0x7b0800043c60 allocated by thread T4:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 DataConcurrencyTests.testThatDataTaskIsAutomaticallyCancelledInTaskWhenEnabled() ConcurrencyTests.swift:134 (Alamofire macOS Tests:x86_64+0x57f8d1)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T2 (tid=4319898, running) is a GCD worker thread
Thread T4 (tid=4319908, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:74 in UnfairLock.lock()
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b60000315b0 by thread T4:
#0 (1) await resume partial function for closure #2 in DataTask.response.getter Concurrency.swift:42 (Alamofire:x86_64+0x6df91)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b60000315b0 by thread T2:
#0 closure #2 in DataTask.response.getter Concurrency.swift:42 (Alamofire:x86_64+0x6df19)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000031400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:42 in (1) await resume partial function for closure #2 in DataTask.response.getter
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b6000031590 by thread T4:
#0 (1) await resume partial function for closure #2 in DataTask.response.getter Concurrency.swift:42 (Alamofire:x86_64+0x6dfd2)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000031590 by thread T2:
#0 closure #2 in DataTask.response.getter Concurrency.swift:42 (Alamofire:x86_64+0x6deca)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000031400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:42 in (1) await resume partial function for closure #2 in DataTask.response.getter
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b6000031588 by thread T4:
#0 (1) await resume partial function for closure #2 in DataTask.response.getter Concurrency.swift:42 (Alamofire:x86_64+0x6dfe7)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000031588 by thread T2:
#0 closure #2 in DataTask.response.getter Concurrency.swift (Alamofire:x86_64+0x6ddfd)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000031400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:42 in (1) await resume partial function for closure #2 in DataTask.response.getter
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Write of size 8 at 0x7b6000031580 by thread T4:
#0 (1) await resume partial function for closure #2 in DataTask.response.getter Concurrency.swift:42 (Alamofire:x86_64+0x6e01f)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b6000031580 by thread T2:
#0 closure #2 in DataTask.response.getter Concurrency.swift (Alamofire:x86_64+0x6de25)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 1016 at 0x7b6000031400 allocated by thread T2:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T4 (tid=4319908, running) is a GCD worker thread
Thread T2 (tid=4319898, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Concurrency.swift:42 in (1) await resume partial function for closure #2 in DataTask.response.getter
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
/Users/jshier/Desktop/Code/Alamofire/Tests/ConcurrencyTests.swift:145: error: -[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskIsAutomaticallyCancelledInTaskWhenEnabled] : XCTAssertTrue failed
/Users/jshier/Desktop/Code/Alamofire/Tests/ConcurrencyTests.swift:148: error: -[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskIsAutomaticallyCancelledInTaskWhenEnabled] : XCTAssertTrue failed - Underlying DataRequest should be cancelled.
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskIsAutomaticallyCancelledInTaskWhenEnabled]' failed (15.168 seconds).
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskProducesResult]' started.
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskProducesResult]' passed (0.020 seconds).
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskProducesValue]' started.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b38000171d0 by thread T12:
#0 Request.$mutableState.getter Request.swift (Alamofire:x86_64+0x1439fe)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x15611c)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b38000171d0 by thread T7:
#0 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:127 (Alamofire:x86_64+0x1486b7)
#1 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#2 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#3 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#4 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#5 DataConcurrencyTests.testThatDataTaskProducesValue() ConcurrencyTests.swift:94 (Alamofire macOS Tests:x86_64+0x577afa)
#6 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 224 at 0x7b3800017140 allocated by thread T7:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#3 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#4 DataConcurrencyTests.testThatDataTaskProducesValue() ConcurrencyTests.swift:94 (Alamofire macOS Tests:x86_64+0x577afa)
#5 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T12 (tid=4320398, running) is a GCD worker thread
Thread T7 (tid=4320396, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Request.swift in Request.$mutableState.getter
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b4800011890 by thread T12:
#0 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x142e3)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b4800011890 by thread T7:
#0 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13bb7)
#1 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 DataConcurrencyTests.testThatDataTaskProducesValue() ConcurrencyTests.swift:94 (Alamofire macOS Tests:x86_64+0x577afa)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 339 at 0x7b4800011880 allocated by thread T7:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 DataConcurrencyTests.testThatDataTaskProducesValue() ConcurrencyTests.swift:94 (Alamofire macOS Tests:x86_64+0x577afa)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T12 (tid=4320398, running) is a GCD worker thread
Thread T7 (tid=4320396, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:126 in Protected.write<A>(_:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b0800062090 by thread T12:
#0 UnfairLock.lock() Protected.swift:74 (Alamofire:x86_64+0x128d7)
#1 protocol witness for Lock.lock() in conformance UnfairLock <compiler-generated> (Alamofire:x86_64+0x12970)
#2 Lock.around<A>(_:) Protected.swift:39 (Alamofire:x86_64+0x121a4)
#3 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x14373)
#4 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#5 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#6 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#7 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#8 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#9 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#10 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#11 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b0800062090 by thread T7:
#0 UnfairLock.init() Protected.swift:64 (Alamofire:x86_64+0x1265a)
#1 UnfairLock.__allocating_init() Protected.swift (Alamofire:x86_64+0x125b1)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 DataConcurrencyTests.testThatDataTaskProducesValue() ConcurrencyTests.swift:94 (Alamofire macOS Tests:x86_64+0x577afa)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 24 at 0x7b0800062080 allocated by thread T7:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 DataConcurrencyTests.testThatDataTaskProducesValue() ConcurrencyTests.swift:94 (Alamofire macOS Tests:x86_64+0x577afa)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T12 (tid=4320398, running) is a GCD worker thread
Thread T7 (tid=4320396, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:74 in UnfairLock.lock()
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskProducesValue]' passed (0.718 seconds).
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskProperlySupportsConcurrentRequests]' started.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b4000020a20 by thread T14:
#0 Session.request(_:interceptor:) Session.swift:350 (Alamofire:x86_64+0x1c4891)
#1 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#2 implicit closure #1 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:105 (Alamofire macOS Tests:x86_64+0x57a40d)
#3 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b4000020a20 by thread T9:
#0 Session.init(session:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift:126 (Alamofire:x86_64+0x1bec93)
#1 Session.__allocating_init(session:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift (Alamofire:x86_64+0x1be0d6)
#2 Session.__allocating_init(configuration:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift:189 (Alamofire:x86_64+0x1bcabc)
#3 DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:102 (Alamofire macOS Tests:x86_64+0x578f5d)
#4 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 248 at 0x7b4000020a00 allocated by thread T9:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Session.__allocating_init(configuration:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift:189 (Alamofire:x86_64+0x1bcabc)
#3 DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:102 (Alamofire macOS Tests:x86_64+0x578f5d)
#4 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T14 (tid=4320512, running) is a GCD worker thread
Thread T9 (tid=4320407, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Session.swift:350 in Session.request(_:interceptor:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b0800065150 by thread T9:
#0 UnfairLock.lock() Protected.swift:74 (Alamofire:x86_64+0x128d7)
#1 protocol witness for Lock.lock() in conformance UnfairLock <compiler-generated> (Alamofire:x86_64+0x12970)
#2 Lock.around<A>(_:) Protected.swift:39 (Alamofire:x86_64+0x121a4)
#3 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x14373)
#4 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#5 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#6 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#7 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#8 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#9 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#10 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#11 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b0800065150 by thread T14:
#0 UnfairLock.init() Protected.swift:64 (Alamofire:x86_64+0x1265a)
#1 UnfairLock.__allocating_init() Protected.swift (Alamofire:x86_64+0x125b1)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 implicit closure #1 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:105 (Alamofire macOS Tests:x86_64+0x57a40d)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 24 at 0x7b0800065140 allocated by thread T14:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 implicit closure #1 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:105 (Alamofire macOS Tests:x86_64+0x57a40d)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T9 (tid=4320407, running) is a GCD worker thread
Thread T14 (tid=4320512, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:74 in UnfairLock.lock()
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b4000020ac0 by thread T7:
#0 Session.request(_:interceptor:) Session.swift:352 (Alamofire:x86_64+0x1c48db)
#1 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#2 implicit closure #3 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:107 (Alamofire macOS Tests:x86_64+0x57b69d)
#3 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b4000020ac0 by thread T9:
#0 Session.init(session:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift:134 (Alamofire:x86_64+0x1bf583)
#1 Session.__allocating_init(session:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift (Alamofire:x86_64+0x1be0d6)
#2 Session.__allocating_init(configuration:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift:189 (Alamofire:x86_64+0x1bcabc)
#3 DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:102 (Alamofire macOS Tests:x86_64+0x578f5d)
#4 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 248 at 0x7b4000020a00 allocated by thread T9:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Session.__allocating_init(configuration:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift:189 (Alamofire:x86_64+0x1bcabc)
#3 DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:102 (Alamofire macOS Tests:x86_64+0x578f5d)
#4 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T7 (tid=4320396, running) is a GCD worker thread
Thread T9 (tid=4320407, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Session.swift:352 in Session.request(_:interceptor:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b3800010010 by thread T15:
#0 Request.$mutableState.getter Request.swift (Alamofire:x86_64+0x1439fe)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x15611c)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b3800010010 by thread T7:
#0 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:127 (Alamofire:x86_64+0x1486b7)
#1 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#2 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#3 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#4 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#5 implicit closure #3 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:107 (Alamofire macOS Tests:x86_64+0x57b69d)
#6 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 224 at 0x7b380000ff80 allocated by thread T7:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#3 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#4 implicit closure #3 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:107 (Alamofire macOS Tests:x86_64+0x57b69d)
#5 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T15 (tid=4320588, running) is a GCD worker thread
Thread T7 (tid=4320396, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Request.swift in Request.$mutableState.getter
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b4800011b90 by thread T15:
#0 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x142e3)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b4800011b90 by thread T7:
#0 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13bb7)
#1 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 implicit closure #3 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:107 (Alamofire macOS Tests:x86_64+0x57b69d)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 339 at 0x7b4800011b80 allocated by thread T7:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 implicit closure #3 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:107 (Alamofire macOS Tests:x86_64+0x57b69d)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T15 (tid=4320588, running) is a GCD worker thread
Thread T7 (tid=4320396, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:126 in Protected.write<A>(_:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b080005c1b0 by thread T15:
#0 UnfairLock.lock() Protected.swift:74 (Alamofire:x86_64+0x128d7)
#1 protocol witness for Lock.lock() in conformance UnfairLock <compiler-generated> (Alamofire:x86_64+0x12970)
#2 Lock.around<A>(_:) Protected.swift:39 (Alamofire:x86_64+0x121a4)
#3 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x14373)
#4 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#5 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#6 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#7 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#8 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#9 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#10 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#11 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b080005c1b0 by thread T7:
#0 UnfairLock.init() Protected.swift:64 (Alamofire:x86_64+0x1265a)
#1 UnfairLock.__allocating_init() Protected.swift (Alamofire:x86_64+0x125b1)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 implicit closure #3 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:107 (Alamofire macOS Tests:x86_64+0x57b69d)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 24 at 0x7b080005c1a0 allocated by thread T7:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 implicit closure #3 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:107 (Alamofire macOS Tests:x86_64+0x57b69d)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T15 (tid=4320588, running) is a GCD worker thread
Thread T7 (tid=4320396, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:74 in UnfairLock.lock()
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b4000020a38 by thread T13:
#0 Session.request(_:interceptor:) Session.swift:351 (Alamofire:x86_64+0x1c48b8)
#1 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#2 implicit closure #2 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:106 (Alamofire macOS Tests:x86_64+0x57ae5d)
#3 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b4000020a38 by thread T9:
#0 Session.init(session:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift:129 (Alamofire:x86_64+0x1bf3fe)
#1 Session.__allocating_init(session:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift (Alamofire:x86_64+0x1be0d6)
#2 Session.__allocating_init(configuration:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift:189 (Alamofire:x86_64+0x1bcabc)
#3 DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:102 (Alamofire macOS Tests:x86_64+0x578f5d)
#4 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 248 at 0x7b4000020a00 allocated by thread T9:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Session.__allocating_init(configuration:delegate:rootQueue:startRequestsImmediately:requestQueue:serializationQueue:interceptor:serverTrustManager:redirectHandler:cachedResponseHandler:eventMonitors:) Session.swift:189 (Alamofire:x86_64+0x1bcabc)
#3 DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:102 (Alamofire macOS Tests:x86_64+0x578f5d)
#4 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T13 (tid=4320511, running) is a GCD worker thread
Thread T9 (tid=4320407, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Session.swift:351 in Session.request(_:interceptor:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b3800021ab0 by thread T7:
#0 Request.$mutableState.getter Request.swift (Alamofire:x86_64+0x1439fe)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x15611c)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b3800021ab0 by thread T13:
#0 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:127 (Alamofire:x86_64+0x1486b7)
#1 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#2 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#3 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#4 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#5 implicit closure #2 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:106 (Alamofire macOS Tests:x86_64+0x57ae5d)
#6 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 224 at 0x7b3800021a20 allocated by thread T13:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#3 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#4 implicit closure #2 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:106 (Alamofire macOS Tests:x86_64+0x57ae5d)
#5 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T7 (tid=4320396, running) is a GCD worker thread
Thread T13 (tid=4320511, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Request.swift in Request.$mutableState.getter
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b4800043e10 by thread T7:
#0 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x142e3)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b4800043e10 by thread T13:
#0 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13bb7)
#1 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 implicit closure #2 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:106 (Alamofire macOS Tests:x86_64+0x57ae5d)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 339 at 0x7b4800043e00 allocated by thread T13:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 implicit closure #2 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:106 (Alamofire macOS Tests:x86_64+0x57ae5d)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T7 (tid=4320396, running) is a GCD worker thread
Thread T13 (tid=4320511, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:126 in Protected.write<A>(_:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b0800063d70 by thread T7:
#0 UnfairLock.lock() Protected.swift:74 (Alamofire:x86_64+0x128d7)
#1 protocol witness for Lock.lock() in conformance UnfairLock <compiler-generated> (Alamofire:x86_64+0x12970)
#2 Lock.around<A>(_:) Protected.swift:39 (Alamofire:x86_64+0x121a4)
#3 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x14373)
#4 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#5 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#6 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#7 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#8 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#9 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#10 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#11 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b0800063d70 by thread T13:
#0 UnfairLock.init() Protected.swift:64 (Alamofire:x86_64+0x1265a)
#1 UnfairLock.__allocating_init() Protected.swift (Alamofire:x86_64+0x125b1)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 implicit closure #2 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:106 (Alamofire macOS Tests:x86_64+0x57ae5d)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 24 at 0x7b0800063d60 allocated by thread T13:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 implicit closure #2 in DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:106 (Alamofire macOS Tests:x86_64+0x57ae5d)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T7 (tid=4320396, running) is a GCD worker thread
Thread T13 (tid=4320511, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:74 in UnfairLock.lock()
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b7400052770 by thread T15:
#0 (2) suspend resume partial function for DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:110 (Alamofire macOS Tests:x86_64+0x5795d2)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b7400052770 by thread T12:
#0 (1) suspend resume partial function for DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:110 (Alamofire macOS Tests:x86_64+0x5794d7)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 2432 at 0x7b7400051e00 allocated by thread T9:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T15 (tid=4320588, running) is a GCD worker thread
Thread T12 (tid=4320398, running) is a GCD worker thread
Thread T9 (tid=4320407, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race ConcurrencyTests.swift:110 in (2) suspend resume partial function for DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests()
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Write of size 8 at 0x7b74000525e8 by thread T15:
#0 (2) suspend resume partial function for DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:110 (Alamofire macOS Tests:x86_64+0x57967d)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Previous write of size 8 at 0x7b74000525e8 by thread T12:
#0 (1) suspend resume partial function for DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests() ConcurrencyTests.swift:110 (Alamofire macOS Tests:x86_64+0x579472)
#1 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 2432 at 0x7b7400051e00 allocated by thread T9:
#0 malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x51d9a)
#1 swift::StackAllocator<1000ul>::getSlabForAllocation(unsigned long) <null>:2 (libswift_Concurrency.dylib:x86_64+0x32429)
#2 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T15 (tid=4320588, running) is a GCD worker thread
Thread T12 (tid=4320398, running) is a GCD worker thread
Thread T9 (tid=4320407, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race ConcurrencyTests.swift:110 in (2) suspend resume partial function for DataConcurrencyTests.testThatDataTaskProperlySupportsConcurrentRequests()
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskProperlySupportsConcurrentRequests]' passed (0.964 seconds).
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskSerializesData]' started.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b3800031a30 by thread T16:
#0 Request.$mutableState.getter Request.swift (Alamofire:x86_64+0x1439fe)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x15611c)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b3800031a30 by thread T9:
#0 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:127 (Alamofire:x86_64+0x1486b7)
#1 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#2 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#3 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#4 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#5 DataConcurrencyTests.testThatDataTaskSerializesData() ConcurrencyTests.swift:72 (Alamofire macOS Tests:x86_64+0x5750db)
#6 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 224 at 0x7b38000319a0 allocated by thread T9:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#3 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#4 DataConcurrencyTests.testThatDataTaskSerializesData() ConcurrencyTests.swift:72 (Alamofire macOS Tests:x86_64+0x5750db)
#5 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T16 (tid=4320607, running) is a GCD worker thread
Thread T9 (tid=4320407, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Request.swift in Request.$mutableState.getter
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b4800061e10 by thread T16:
#0 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x142e3)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b4800061e10 by thread T9:
#0 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13bb7)
#1 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 DataConcurrencyTests.testThatDataTaskSerializesData() ConcurrencyTests.swift:72 (Alamofire macOS Tests:x86_64+0x5750db)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 339 at 0x7b4800061e00 allocated by thread T9:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 DataConcurrencyTests.testThatDataTaskSerializesData() ConcurrencyTests.swift:72 (Alamofire macOS Tests:x86_64+0x5750db)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T16 (tid=4320607, running) is a GCD worker thread
Thread T9 (tid=4320407, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:126 in Protected.write<A>(_:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b0800047670 by thread T16:
#0 UnfairLock.lock() Protected.swift:74 (Alamofire:x86_64+0x128d7)
#1 protocol witness for Lock.lock() in conformance UnfairLock <compiler-generated> (Alamofire:x86_64+0x12970)
#2 Lock.around<A>(_:) Protected.swift:39 (Alamofire:x86_64+0x121a4)
#3 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x14373)
#4 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#5 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#6 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#7 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#8 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#9 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#10 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#11 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b0800047670 by thread T9:
#0 UnfairLock.init() Protected.swift:64 (Alamofire:x86_64+0x1265a)
#1 UnfairLock.__allocating_init() Protected.swift (Alamofire:x86_64+0x125b1)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 DataConcurrencyTests.testThatDataTaskSerializesData() ConcurrencyTests.swift:72 (Alamofire macOS Tests:x86_64+0x5750db)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 24 at 0x7b0800047660 allocated by thread T9:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 DataConcurrencyTests.testThatDataTaskSerializesData() ConcurrencyTests.swift:72 (Alamofire macOS Tests:x86_64+0x5750db)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T16 (tid=4320607, running) is a GCD worker thread
Thread T9 (tid=4320407, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:74 in UnfairLock.lock()
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskSerializesData]' passed (0.288 seconds).
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskSerializesDecodable]' started.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b3800022370 by thread T7:
#0 Request.$mutableState.getter Request.swift (Alamofire:x86_64+0x1439fe)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x15611c)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b3800022370 by thread T13:
#0 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:127 (Alamofire:x86_64+0x1486b7)
#1 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#2 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#3 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#4 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#5 DataConcurrencyTests.testThatDataTaskSerializesDecodable() ConcurrencyTests.swift:50 (Alamofire macOS Tests:x86_64+0x57248a)
#6 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 224 at 0x7b38000222e0 allocated by thread T13:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#3 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#4 DataConcurrencyTests.testThatDataTaskSerializesDecodable() ConcurrencyTests.swift:50 (Alamofire macOS Tests:x86_64+0x57248a)
#5 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T7 (tid=4320396, running) is a GCD worker thread
Thread T13 (tid=4320511, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Request.swift in Request.$mutableState.getter
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b4800045610 by thread T7:
#0 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x142e3)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b4800045610 by thread T13:
#0 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13bb7)
#1 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 DataConcurrencyTests.testThatDataTaskSerializesDecodable() ConcurrencyTests.swift:50 (Alamofire macOS Tests:x86_64+0x57248a)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 339 at 0x7b4800045600 allocated by thread T13:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 DataConcurrencyTests.testThatDataTaskSerializesDecodable() ConcurrencyTests.swift:50 (Alamofire macOS Tests:x86_64+0x57248a)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T7 (tid=4320396, running) is a GCD worker thread
Thread T13 (tid=4320511, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:126 in Protected.write<A>(_:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b0800071010 by thread T7:
#0 UnfairLock.lock() Protected.swift:74 (Alamofire:x86_64+0x128d7)
#1 protocol witness for Lock.lock() in conformance UnfairLock <compiler-generated> (Alamofire:x86_64+0x12970)
#2 Lock.around<A>(_:) Protected.swift:39 (Alamofire:x86_64+0x121a4)
#3 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x14373)
#4 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#5 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#6 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#7 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#8 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#9 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#10 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#11 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b0800071010 by thread T13:
#0 UnfairLock.init() Protected.swift:64 (Alamofire:x86_64+0x1265a)
#1 UnfairLock.__allocating_init() Protected.swift (Alamofire:x86_64+0x125b1)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 DataConcurrencyTests.testThatDataTaskSerializesDecodable() ConcurrencyTests.swift:50 (Alamofire macOS Tests:x86_64+0x57248a)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 24 at 0x7b0800071000 allocated by thread T13:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 DataConcurrencyTests.testThatDataTaskSerializesDecodable() ConcurrencyTests.swift:50 (Alamofire macOS Tests:x86_64+0x57248a)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T7 (tid=4320396, running) is a GCD worker thread
Thread T13 (tid=4320511, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:74 in UnfairLock.lock()
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskSerializesDecodable]' passed (0.267 seconds).
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskSerializesResponseUsingSerializer]' started.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b4800071110 by thread T7:
#0 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x142e3)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b4800071110 by thread T16:
#0 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13bb7)
#1 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 DataConcurrencyTests.testThatDataTaskSerializesResponseUsingSerializer() ConcurrencyTests.swift:37 (Alamofire macOS Tests:x86_64+0x570e02)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 339 at 0x7b4800071100 allocated by thread T16:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#3 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#4 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#5 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#6 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#7 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#8 DataConcurrencyTests.testThatDataTaskSerializesResponseUsingSerializer() ConcurrencyTests.swift:37 (Alamofire macOS Tests:x86_64+0x570e02)
#9 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T7 (tid=4320396, running) is a GCD worker thread
Thread T16 (tid=4320607, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:126 in Protected.write<A>(_:)
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b080006bb90 by thread T7:
#0 UnfairLock.lock() Protected.swift:74 (Alamofire:x86_64+0x128d7)
#1 protocol witness for Lock.lock() in conformance UnfairLock <compiler-generated> (Alamofire:x86_64+0x12970)
#2 Lock.around<A>(_:) Protected.swift:39 (Alamofire:x86_64+0x121a4)
#3 Protected.write<A>(_:) Protected.swift:126 (Alamofire:x86_64+0x14373)
#4 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x156197)
#5 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#6 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#7 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#8 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#9 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#10 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#11 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b080006bb90 by thread T16:
#0 UnfairLock.init() Protected.swift:64 (Alamofire:x86_64+0x1265a)
#1 UnfairLock.__allocating_init() Protected.swift (Alamofire:x86_64+0x125b1)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 DataConcurrencyTests.testThatDataTaskSerializesResponseUsingSerializer() ConcurrencyTests.swift:37 (Alamofire macOS Tests:x86_64+0x570e02)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 24 at 0x7b080006bb80 allocated by thread T16:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Protected.init(wrappedValue:) Protected.swift:88 (Alamofire:x86_64+0x13ba5)
#3 Protected.__allocating_init(wrappedValue:) Protected.swift (Alamofire:x86_64+0x13a8a)
#4 property wrapper backing initializer of Request.mutableState Request.swift:126 (Alamofire:x86_64+0x141502)
#5 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:126 (Alamofire:x86_64+0x14869f)
#6 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#7 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#8 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#9 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#10 DataConcurrencyTests.testThatDataTaskSerializesResponseUsingSerializer() ConcurrencyTests.swift:37 (Alamofire macOS Tests:x86_64+0x570e02)
#11 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T7 (tid=4320396, running) is a GCD worker thread
Thread T16 (tid=4320607, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Protected.swift:74 in UnfairLock.lock()
==================
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskSerializesResponseUsingSerializer]' passed (0.192 seconds).
Test Case '-[Alamofire_macOS_Tests.DataConcurrencyTests testThatDataTaskSerializesString]' started.
==================
WARNING: ThreadSanitizer: data race (pid=66170)
Read of size 8 at 0x7b3800011430 by thread T13:
#0 Request.$mutableState.getter Request.swift (Alamofire:x86_64+0x1439fe)
#1 Request.appendResponseSerializer(_:) Request.swift:532 (Alamofire:x86_64+0x15611c)
#2 DataRequest._response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:218 (Alamofire:x86_64+0x230b0)
#3 DataRequest.response<A>(queue:responseSerializer:completionHandler:) ResponseSerialization.swift:296 (Alamofire:x86_64+0x30480)
#4 closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) Concurrency.swift:179 (Alamofire:x86_64+0x72f00)
#5 partial apply for closure #1 in DataRequest.serializingResponse<A>(using:automaticallyCancelling:) <compiler-generated> (Alamofire:x86_64+0x73047)
#6 closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) Concurrency.swift:192 (Alamofire:x86_64+0x7414b)
#7 partial apply for closure #1 in closure #2 in closure #1 in DataRequest.dataTask<A>(automaticallyCancelling:forResponse:) <compiler-generated> (Alamofire:x86_64+0x7493d)
#8 partial apply for closure #1 in withCheckedContinuation<A>(function:_:) <null>:2 (libswift_Concurrency.dylib:x86_64+0x58e0)
Previous write of size 8 at 0x7b3800011430 by thread T9:
#0 Request.init(id:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:127 (Alamofire:x86_64+0x1486b7)
#1 DataRequest.init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift:1097 (Alamofire:x86_64+0x1608d2)
#2 DataRequest.__allocating_init(id:convertible:underlyingQueue:serializationQueue:eventMonitor:interceptor:delegate:) Request.swift (Alamofire:x86_64+0x160504)
#3 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#4 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#5 DataConcurrencyTests.testThatDataTaskSerializesString() ConcurrencyTests.swift:61 (Alamofire macOS Tests:x86_64+0x573bfc)
#6 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Location is heap block of size 224 at 0x7b38000113a0 allocated by thread T9:
#0 __sanitizer_mz_malloc <null>:3 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x5217a)
#1 _malloc_zone_malloc <null>:2 (libsystem_malloc.dylib:x86_64+0x1dad5)
#2 Session.request(_:interceptor:) Session.swift:349 (Alamofire:x86_64+0x1c4993)
#3 Session.request(_:interceptor:) TestHelpers.swift:300 (Alamofire macOS Tests:x86_64+0x2c6a55)
#4 DataConcurrencyTests.testThatDataTaskSerializesString() ConcurrencyTests.swift:61 (Alamofire macOS Tests:x86_64+0x573bfc)
#5 swift::runJobInEstablishedExecutorContext(swift::Job*) <null>:2 (libswift_Concurrency.dylib:x86_64+0x2db4d)
Thread T13 (tid=4320511, running) is a GCD worker thread
Thread T9 (tid=4320407, running) is a GCD worker thread
SUMMARY: ThreadSanitizer: data race Request.swift in Request.$mutableState.getter
==================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment