Executing this using Xcode 10.2 beta 4 in debug mode gives the following error:
Multithread(15936,0x700006447000) malloc: double free for ptr 0x10301b800
Multithread(15936,0x700006447000) malloc: *** set a breakpoint in malloc_error_break to debug
Program ended with exit code: 9
When I build the same program in release mode though, it runs fine and finishes correctly.
The text was updated successfully, but these errors were encountered:
Environment
Computer ** MacBook Pro (Retina, 15-inch, Late 2013)
OS macOS Mojave 10.14.3 (18D109)
Xcode Version 10.2 beta 4 (10P107d)
Additional Detail from JIRA
md5: 10714eca08e38af06d82d157ff8d93f2
Issue Description:
I am stumbling upon an issue with concurrency and SIMD in Swift 5. To reproduce the issue I have simplified my code to the following problem:
Initialise an array called `pixels`
add async tasks to a concurrent queue
in each task: fill a different non overlapping part of the `pixels` array
Executing this using Xcode 10.2 beta 4 in debug mode gives the following error:
When I build the same program in release mode though, it runs fine and finishes correctly.
The text was updated successfully, but these errors were encountered: