Closed patlux closed 2 weeks ago
Can you please attach a crash report or backtrace? You can find crash reports in Console.app.
swift package edit swift-nio
Go to ./Packages/swift-nio/Sources/NIOFileSystem/FileSys tem.swift
Edit the info
function:
public func info(
forFileAt path: FilePath,
infoAboutSymbolicLink: Bool
) async throws -> FileInfo? {
+ print("FileSystem::info() #1")
return try await threadPool.runIfActive {
+ print("FileSystem::info() #2")
- try self._info(forFileAt: path, infoAboutSymbolicLink: infoAboutSymbolicLink).get()
+ return try self._info(forFileAt: path, infoAboutSymbolicLink: infoAboutSymbolicLink).get()
}
}
No run again:
~/d/P/s/swift-nio-crash ❮❮❮ /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2024-06-13-a.xctoolchain/usr/bin/swift run
warning: 'swift-system': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/patwoz/dev/Personal/swift/swift-nio-crash/.build/checkouts/swift-system/Sources/System/CMakeLists.txt
Building for debugging...
/Users/patwoz/dev/Personal/swift/swift-nio-crash/Packages/swift-nio/Sources/NIOFileSystem/Internal/BufferedStream.swift:247:9: warning: @frozen has no effect on non-public enums
245 |
246 | /// A type that indicates the result of writing elements to the source.
247 | @frozen
| `- warning: @frozen has no effect on non-public enums
248 | internal enum WriteResult: Sendable {
249 | /// A token that is returned when the asynchronous stream's backpressure strategy indicated that production should
[16/16] Applying swift-nio-crash
Build of product 'swift-nio-crash' complete! (2.30s)
FileSystem::info() #1
[1] 51400 segmentation fault run
The first "print" gets printed but not the second one. So it have must something todo with threadPool.runIfActive
.
Can you please attach a crash report or backtrace? You can find crash reports in Console.app.
Wow that was fast. Ok will do that.
Heh, you got lucky and I was looking at my email when the email came in 😉
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: swift-nio-crash [51400]
Path: /Users/USER/*/swift-nio-crash
Identifier: swift-nio-crash
Version: ???
Code Type: ARM-64 (Native)
Parent Process: zsh [37911]
Responsible: kitty [2455]
User ID: 501
Date/Time: 2024-06-17 09:43:57.6701 +0200
OS Version: macOS 14.5 (23F79)
Report Version: 12
Anonymous UUID: 3E53371B-6AAE-F53F-6661-CE73AAD7C04F
Sleep/Wake UUID: C7142CD1-3942-4752-811D-CA1C51CB3114
Time Awake Since Boot: 150000 seconds
Time Since Wake: 3756 seconds
System Integrity Protection: enabled
Crashed Thread: 13
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000004
Exception Codes: 0x0000000000000001, 0x0000000000000004
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [51400]
VM Region Info: 0x4 is not in any region. Bytes before following region: 4335566844
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 1026b8000-102ae0000 [ 4256K] r-x/r-x SM=COW /Users/USER/*/swift-nio-crash
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1843f61f4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x184408b24 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1843fee34 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x1843f6578 mach_msg + 24
4 CoreFoundation 0x184516680 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x184514f44 __CFRunLoopRun + 1208
6 CoreFoundation 0x184514434 CFRunLoopRunSpecific + 608
7 CoreFoundation 0x18459245c CFRunLoopRun + 64
8 libswift_Concurrency.dylib 0x24c5aa4e0 swift_task_asyncMainDrainQueueImpl() + 40
9 libswift_Concurrency.dylib 0x24c5aa4a0 swift_task_asyncMainDrainQueue + 92
10 swift-nio-crash 0x102a79f64 main + 132
11 dyld 0x1840ae0e0 start + 2360
Thread 1:: SGLTN-TP-#0
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 2:: SGLTN-TP-#1
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 3:: SGLTN-TP-#2
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 4:: SGLTN-TP-#3
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 5:: SGLTN-TP-#4
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 6:: SGLTN-TP-#5
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 7:: SGLTN-TP-#6
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 8:: SGLTN-TP-#7
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 9:: SGLTN-TP-#8
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 10:: SGLTN-TP-#9
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 11:: SGLTN-TP-#10
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 12:: SGLTN-TP-#11
0 libsystem_kernel.dylib 0x1843f6170 semaphore_wait_trap + 8
1 libdispatch.dylib 0x184286984 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x184287034 _dispatch_semaphore_wait_slow + 132
3 swift-nio-crash 0x1028ef3d8 NIOThreadPool.process(identifier:) + 172 (NIOThreadPool.swift:213)
4 swift-nio-crash 0x1028f06ec closure #3 in NIOThreadPool._start(threadNamePrefix:) + 232 (NIOThreadPool.swift:291)
5 swift-nio-crash 0x10296de94 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + 24
6 swift-nio-crash 0x102971808 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 632 (ThreadPosix.swift:116)
7 swift-nio-crash 0x1029718b0 @objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + 12
8 libsystem_pthread.dylib 0x184436f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x184431d34 thread_start + 8
Thread 13 Crashed:
0 swift-nio-crash 0x10272e130 withCheckedThrowingContinuation<A>(isolation:function:_:) + 240
1 swift-nio-crash 0x1028f16bd closure #1 in NIOThreadPool.runIfActive<A>(_:) + 1 (NIOThreadPool.swift:357)
2 swift-nio-crash 0x1028f33cd partial apply for closure #1 in NIOThreadPool.runIfActive<A>(_:) + 1
3 libswift_Concurrency.dylib 0x24c5737f1 withTaskCancellationHandler<A>(operation:onCancel:) + 1
4 swift-nio-crash 0x102840d55 withTaskCancellationHandler<A>(operation:onCancel:) + 1
5 swift-nio-crash 0x1028f1341 NIOThreadPool.runIfActive<A>(_:) + 1 (NIOThreadPool.swift:356)
6 swift-nio-crash 0x102a254e9 FileSystem.info(forFileAt:infoAboutSymbolicLink:) + 1 (FileSystem.swift:288)
7 swift-nio-crash 0x102a2e459 protocol witness for FileSystemProtocol.info(forFileAt:infoAboutSymbolicLink:) in conformance FileSystem + 1
8 swift-nio-crash 0x102a520bd FileSystemProtocol.info(forFileAt:) + 1 (FileSystemProtocol.swift:409)
9 swift-nio-crash 0x102a7a051 async_MainTQ0_ + 1
10 swift-nio-crash 0x102a7a519 thunk for @escaping @convention(thin) @async () -> () + 1
11 swift-nio-crash 0x102a7a641 partial apply for thunk for @escaping @convention(thin) @async () -> () + 1
12 libswift_Concurrency.dylib 0x24c5ab0f9 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1
Thread 13 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000001 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x74634166496e7572
x4: 0xef293a5f28657669 x5: 0x00000001028f46fc x6: 0x000000012f008730 x7: 0x00000001ec31b180
x8: 0x0000000000000000 x9: 0x000000012f008790 x10: 0x00000001028f16bc x11: 0x00006000013d0000
x12: 0x00000001ec31b180 x13: 0x000000012f008730 x14: 0x0029000000000000 x15: 0x0000000000000030
x16: 0x00000001943580a0 x17: 0x000000012f008690 x18: 0x0000000000000000 x19: 0x000000012e604e20
x20: 0x0000000000000000 x21: 0x000000012f009040 x22: 0x000000012f008780 x23: 0x0000000000000000
x24: 0x0000000000000001 x25: 0x000000025c8fed28 x26: 0x000000025c8fed38 x27: 0x0000000000000000
x28: 0x000000016de5f0e0 fp: 0x000000016de5ee50 lr: 0x000000010272e0a8
sp: 0x000000016de5ede0 pc: 0x000000010272e130 cpsr: 0x60001000
far: 0x0000000000000004 esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x1026b8000 - 0x102adffff swift-nio-crash (*) <5b5fd974-a9d6-3ab2-99b4-5a09997b6e78> /Users/USER/*/swift-nio-crash
0x1843f5000 - 0x18442fffb libsystem_kernel.dylib (*) <9b8b53f9-e2b6-36df-98e9-28d8fca732f2> /usr/lib/system/libsystem_kernel.dylib
0x184498000 - 0x184970fff com.apple.CoreFoundation (6.9) <84b539d5-22c9-3f8c-84c8-903e9c7b8d29> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x24c555000 - 0x24c5c0ff7 libswift_Concurrency.dylib (*) <ecc0aae8-fbf0-31df-9881-88fba5de2fa3> /usr/lib/swift/libswift_Concurrency.dylib
0x1840a8000 - 0x184130a17 dyld (*) <37bbc384-0755-31c7-a808-0ed49e44dd8e> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x184282000 - 0x1842c9fff libdispatch.dylib (*) <502762ee-7aa7-306c-9dbd-88981a86bb78> /usr/lib/system/libdispatch.dylib
0x184430000 - 0x18443cfff libsystem_pthread.dylib (*) <386b0fc1-7873-3328-8e71-43269fd1b2c7> /usr/lib/system/libsystem_pthread.dylib
0x194100000 - 0x19465dfff libswiftCore.dylib (*) <c2fd0f69-d72c-37a5-938e-1bd710c88431> /usr/lib/swift/libswiftCore.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 5
thread_create: 1
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=665.0M resident=0K(0%) swapped_out_or_unallocated=665.0M(100%)
Writable regions: Total=554.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=554.7M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Kernel Alloc Once 32K 1
MALLOC 539.2M 15
MALLOC guard page 96K 6
STACK GUARD 56.2M 14
Stack 14.9M 14
__AUTH 343K 67
__AUTH_CONST 4087K 149
__DATA 1912K 145
__DATA_CONST 4289K 151
__DATA_DIRTY 365K 58
__LINKEDIT 537.9M 2
__OBJC_RO 71.9M 1
__OBJC_RW 2199K 1
__TEXT 127.1M 158
dyld private memory 272K 2
mapped file 64K 1
shared memory 32K 2
=========== ======= =======
TOTAL 1.3G 788
-----------
Full Report
-----------
{"app_name":"swift-nio-crash","timestamp":"2024-06-17 09:43:57.00 +0200","app_version":"","slice_uuid":"5b5fd974-a9d6-3ab2-99b4-5a09997b6e78","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.5 (23F79)","roots_installed":0,"incident_id":"8DFB4BEC-2EBE-434F-9EAE-D7AD05832B5E","name":"swift-nio-crash"}
{
"uptime" : 150000,
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "Mac14,6",
"coalitionID" : 1150,
"osVersion" : {
"train" : "macOS 14.5",
"build" : "23F79",
"releaseType" : "User"
},
"captureTime" : "2024-06-17 09:43:57.6701 +0200",
"codeSigningMonitor" : 1,
"incident" : "8DFB4BEC-2EBE-434F-9EAE-D7AD05832B5E",
"pid" : 51400,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-06-17 09:43:54.7648 +0200",
"procStartAbsTime" : 3838244519410,
"procExitAbsTime" : 3838314240168,
"procName" : "swift-nio-crash",
"procPath" : "\/Users\/USER\/*\/swift-nio-crash",
"parentProc" : "zsh",
"parentPid" : 37911,
"coalitionName" : "net.kovidgoyal.kitty",
"crashReporterKey" : "3E53371B-6AAE-F53F-6661-CE73AAD7C04F",
"responsiblePid" : 2455,
"responsibleProc" : "kitty",
"codeSigningID" : "swift-nio-crash-555549445b5fd974a9d63ab299b45a09997b6e78",
"codeSigningTeamID" : "",
"codeSigningFlags" : 570425861,
"codeSigningValidationCategory" : 10,
"codeSigningTrustLevel" : 4294967295,
"instructionByteStream" : {"beforePC":"yQIA+QkAAJApQQaRyQYA+f17R6m9+0OS\/wMCkQABH9aIHQDwCB1G+Q==","atPC":"CAVAueADCKoYQA2UqQNe+KiDXvihA1344h9A+eMbQPnkF0D55RNA+Q=="},
"wakeTime" : 3756,
"sleepWakeUUID" : "C7142CD1-3942-4752-811D-CA1C51CB3114",
"sip" : "enabled",
"vmRegionInfo" : "0x4 is not in any region. Bytes before following region: 4335566844\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 1026b8000-102ae0000 [ 4256K] r-x\/r-x SM=COW \/Users\/USER\/*\/swift-nio-crash",
"exception" : {"codes":"0x0000000000000001, 0x0000000000000004","rawCodes":[1,4],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000004"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":51400},
"vmregioninfo" : "0x4 is not in any region. Bytes before following region: 4335566844\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 1026b8000-102ae0000 [ 4256K] r-x\/r-x SM=COW \/Users\/USER\/*\/swift-nio-crash",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":1,"thread_set_state":0,"task_for_pid":5},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 13,
"threads" : [{"id":4754199,"threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":42893838385152},{"value":1},{"value":42893838385152},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":9987},{"value":0},{"value":1},{"value":9987},{"value":4294967176},{"value":2043},{"value":2248392699},{"value":18446744073709551569},{"value":119},{"value":0},{"value":4294967295},{"value":2},{"value":42893838385152},{"value":1},{"value":42893838385152},{"value":6131307176},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6513789732},"cpsr":{"value":4096},"fp":{"value":6131307024},"sp":{"value":6131306944},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713652},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":4596,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":80676,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":1},{"imageOffset":40500,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":1},{"imageOffset":5496,"symbol":"mach_msg","symbolLocation":24,"imageIndex":1},{"imageOffset":517760,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":2},{"imageOffset":511812,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":2},{"imageOffset":508980,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":2},{"imageOffset":1025116,"symbol":"CFRunLoopRun","symbolLocation":64,"imageIndex":2},{"imageOffset":349408,"symbol":"swift_task_asyncMainDrainQueueImpl()","symbolLocation":40,"imageIndex":3},{"imageOffset":349344,"symbol":"swift_task_asyncMainDrainQueue","symbolLocation":92,"imageIndex":3},{"imageOffset":3940196,"sourceFile":"main.swift","symbol":"main","symbolLocation":132,"imageIndex":0},{"imageOffset":24800,"symbol":"start","symbolLocation":2360,"imageIndex":4}]},{"id":4754205,"name":"SGLTN-TP-#0","threadState":{"x":[{"value":14},{"value":8589934595},{"value":171798697235},{"value":18704582574595},{"value":14680198217728},{"value":18704582574080},{"value":48},{"value":0},{"value":0},{"value":1},{"value":3},{"value":6512450369,"symbolLocation":9,"symbol":"_OBJC_$_INSTANCE_METHODS_OS_object"},{"value":7},{"value":0},{"value":6512450405,"symbolLocation":45,"symbol":"_OBJC_$_INSTANCE_METHODS_OS_object"},{"value":6512450393,"symbolLocation":33,"symbol":"_OBJC_$_INSTANCE_METHODS_OS_object"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6131870464},"sp":{"value":6131870448},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754206,"name":"SGLTN-TP-#1","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":0},{"value":12452},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":10},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":105553313754142},{"value":1},{"value":0},{"value":105553174822896},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6132443904},"sp":{"value":6132443888},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754207,"name":"SGLTN-TP-#2","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":0},{"value":12452},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":10},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":146336798},{"value":0},{"value":105553174822912},{"value":0},{"value":2148532219},{"value":0},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6133017344},"sp":{"value":6133017328},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754208,"name":"SGLTN-TP-#3","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":0},{"value":12452},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":10},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":105553313754142},{"value":1},{"value":0},{"value":105553174822896},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6133590784},"sp":{"value":6133590768},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754209,"name":"SGLTN-TP-#4","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":0},{"value":12452},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":0},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":105553313754142},{"value":1},{"value":0},{"value":105553174822896},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6134164224},"sp":{"value":6134164208},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754210,"name":"SGLTN-TP-#5","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":8290062376,"symbolLocation":0,"symbol":"type metadata for UInt"},{"value":8257637968,"symbolLocation":3616,"symbol":"InitialAllocationPool"},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":105553172693120},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":105553313754142},{"value":1},{"value":0},{"value":105553174822896},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6134737664},"sp":{"value":6134737648},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754211,"name":"SGLTN-TP-#6","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":8290062376,"symbolLocation":0,"symbol":"type metadata for UInt"},{"value":8257637968,"symbolLocation":3616,"symbol":"InitialAllocationPool"},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":105553172725792},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":105553313754142},{"value":1},{"value":0},{"value":105553174822896},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6135311104},"sp":{"value":6135311088},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754212,"name":"SGLTN-TP-#7","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":0},{"value":12452},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":105553172627472},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":105553313754142},{"value":1},{"value":0},{"value":105553174822896},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6135884544},"sp":{"value":6135884528},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754213,"name":"SGLTN-TP-#8","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":8290062376,"symbolLocation":0,"symbol":"type metadata for UInt"},{"value":8257637968,"symbolLocation":3616,"symbol":"InitialAllocationPool"},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":105553172693136},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":105553313754142},{"value":1},{"value":0},{"value":105553174822896},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6136457984},"sp":{"value":6136457968},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754214,"name":"SGLTN-TP-#9","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":0},{"value":12452},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":105553172725808},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":105553313754142},{"value":1},{"value":0},{"value":105553174822896},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6137031424},"sp":{"value":6137031408},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754215,"name":"SGLTN-TP-#10","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":0},{"value":12452},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":0},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":105553313754142},{"value":1},{"value":0},{"value":105553174822896},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6137604864},"sp":{"value":6137604848},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":4754216,"name":"SGLTN-TP-#11","threadState":{"x":[{"value":14},{"value":18446744073709551615},{"value":0},{"value":8290062376,"symbolLocation":0,"symbol":"type metadata for UInt"},{"value":8257637968,"symbolLocation":3616,"symbol":"InitialAllocationPool"},{"value":8257638280,"symbolLocation":3928,"symbol":"InitialAllocationPool"},{"value":0},{"value":0},{"value":4099},{"value":18446744073709551615},{"value":105553313754142},{"value":1},{"value":0},{"value":105553174822896},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":8256961000,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_semaphore"},{"value":18446744073709551580},{"value":8336353144},{"value":0},{"value":105553138090128},{"value":105553138090064},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6512208260},"cpsr":{"value":1610616832},"fp":{"value":6138178304},"sp":{"value":6138178288},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6513713520},"far":{"value":0}},"frames":[{"imageOffset":4464,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":18820,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":6},{"imageOffset":20532,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":6},{"imageOffset":2323416,"sourceLine":213,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.process(identifier:)","imageIndex":0,"symbolLocation":172},{"imageOffset":2328300,"sourceLine":291,"sourceFile":"NIOThreadPool.swift","symbol":"closure #3 in NIOThreadPool._start(threadNamePrefix:)","imageIndex":0,"symbolLocation":232},{"imageOffset":2842260,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> ()","symbolLocation":24,"imageIndex":0},{"imageOffset":2856968,"sourceLine":116,"sourceFile":"ThreadPosix.swift","symbol":"closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","imageIndex":0,"symbolLocation":632},{"imageOffset":2857136,"sourceFile":"\/<compiler-generated>","symbol":"@objc closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:)","symbolLocation":12,"imageIndex":0},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"triggered":true,"id":4754217,"threadState":{"x":[{"value":1},{"value":0},{"value":0},{"value":8386618838668440946},{"value":17233369629483955817},{"value":4337911548,"sourceFile":"\/<compiler-generated>","symbol":"partial apply for closure #1 in closure #1 in NIOThreadPool.runIfActive<A>(_:)","symbolLocation":0},{"value":5083531056},{"value":8257646976,"symbolLocation":12624,"symbol":"InitialAllocationPool"},{"value":0},{"value":5083531152},{"sourceLine":357,"value":4337899196,"sourceFile":"NIOThreadPool.swift","symbol":"closure #1 in NIOThreadPool.runIfActive<A>(_:)","symbolLocation":0},{"value":105553137041408},{"value":8257646976,"symbolLocation":12624,"symbol":"InitialAllocationPool"},{"value":5083531056},{"value":11540474045136896},{"value":48},{"value":6781501600,"symbolLocation":0,"symbol":"_stdlib_isOSVersionAtLeast(_:_:_:)"},{"value":5083530896},{"value":0},{"value":5073030688},{"value":0},{"value":5083533376},{"value":5083531136},{"value":0},{"value":1},{"value":10142870824,"symbolLocation":0,"symbol":"swift::concurrency::trace::TaskLog"},{"value":10142870840,"symbolLocation":0,"symbol":"swift::concurrency::trace::LogsToken"},{"value":0},{"value":6138753248}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4336050344},"cpsr":{"value":1610616832},"fp":{"value":6138752592},"sp":{"value":6138752480},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4336050480,"matchesCrashFrame":1},"far":{"value":4}},"frames":[{"imageOffset":483632,"sourceFile":"\/<compiler-generated>","symbol":"withCheckedThrowingContinuation<A>(isolation:function:_:)","symbolLocation":240,"imageIndex":0},{"imageOffset":2332349,"sourceLine":357,"sourceFile":"NIOThreadPool.swift","symbol":"closure #1 in NIOThreadPool.runIfActive<A>(_:)","imageIndex":0,"symbolLocation":1},{"imageOffset":2339789,"sourceFile":"\/<compiler-generated>","symbol":"partial apply for closure #1 in NIOThreadPool.runIfActive<A>(_:)","symbolLocation":1,"imageIndex":0},{"imageOffset":124913,"symbol":"withTaskCancellationHandler<A>(operation:onCancel:)","symbolLocation":1,"imageIndex":3},{"imageOffset":1609045,"sourceFile":"\/<compiler-generated>","symbol":"withTaskCancellationHandler<A>(operation:onCancel:)","symbolLocation":1,"imageIndex":0},{"imageOffset":2331457,"sourceLine":356,"sourceFile":"NIOThreadPool.swift","symbol":"NIOThreadPool.runIfActive<A>(_:)","imageIndex":0,"symbolLocation":1},{"imageOffset":3593449,"sourceLine":288,"sourceFile":"FileSystem.swift","symbol":"FileSystem.info(forFileAt:infoAboutSymbolicLink:)","imageIndex":0,"symbolLocation":1},{"imageOffset":3630169,"sourceFile":"\/<compiler-generated>","symbol":"protocol witness for FileSystemProtocol.info(forFileAt:infoAboutSymbolicLink:) in conformance FileSystem","symbolLocation":1,"imageIndex":0},{"imageOffset":3776701,"sourceLine":409,"sourceFile":"FileSystemProtocol.swift","symbol":"FileSystemProtocol.info(forFileAt:)","imageIndex":0,"symbolLocation":1},{"imageOffset":3940433,"sourceFile":"\/<compiler-generated>","symbol":"async_MainTQ0_","symbolLocation":1,"imageIndex":0},{"imageOffset":3941657,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @convention(thin) @async () -> ()","symbolLocation":1,"imageIndex":0},{"imageOffset":3941953,"sourceFile":"\/<compiler-generated>","symbol":"partial apply for thunk for @escaping @convention(thin) @async () -> ()","symbolLocation":1,"imageIndex":0},{"imageOffset":352505,"symbol":"completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*)","symbolLocation":1,"imageIndex":3}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 4335566848,
"size" : 4358144,
"uuid" : "5b5fd974-a9d6-3ab2-99b4-5a09997b6e78",
"path" : "\/Users\/USER\/*\/swift-nio-crash",
"name" : "swift-nio-crash"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6513709056,
"size" : 241660,
"uuid" : "9b8b53f9-e2b6-36df-98e9-28d8fca732f2",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6514376704,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5083136,
"uuid" : "84b539d5-22c9-3f8c-84c8-903e9c7b8d29",
"path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "2503.1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 9870594048,
"size" : 442360,
"uuid" : "ecc0aae8-fbf0-31df-9881-88fba5de2fa3",
"path" : "\/usr\/lib\/swift\/libswift_Concurrency.dylib",
"name" : "libswift_Concurrency.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6510247936,
"size" : 559640,
"uuid" : "37bbc384-0755-31c7-a808-0ed49e44dd8e",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6512189440,
"size" : 294912,
"uuid" : "502762ee-7aa7-306c-9dbd-88981a86bb78",
"path" : "\/usr\/lib\/system\/libdispatch.dylib",
"name" : "libdispatch.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6513950720,
"size" : 53248,
"uuid" : "386b0fc1-7873-3328-8e71-43269fd1b2c7",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6779043840,
"size" : 5627904,
"uuid" : "c2fd0f69-d72c-37a5-938e-1bd710c88431",
"path" : "\/usr\/lib\/swift\/libswiftCore.dylib",
"name" : "libswiftCore.dylib"
}
],
"sharedCache" : {
"base" : 6509494272,
"size" : 4220698624,
"uuid" : "3406ad1b-2469-30eb-9863-5dce861e6dea"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=665.0M resident=0K(0%) swapped_out_or_unallocated=665.0M(100%)\nWritable regions: Total=554.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=554.7M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nKernel Alloc Once 32K 1 \nMALLOC 539.2M 15 \nMALLOC guard page 96K 6 \nSTACK GUARD 56.2M 14 \nStack 14.9M 14 \n__AUTH 343K 67 \n__AUTH_CONST 4087K 149 \n__DATA 1912K 145 \n__DATA_CONST 4289K 151 \n__DATA_DIRTY 365K 58 \n__LINKEDIT 537.9M 2 \n__OBJC_RO 71.9M 1 \n__OBJC_RW 2199K 1 \n__TEXT 127.1M 158 \ndyld private memory 272K 2 \nmapped file 64K 1 \nshared memory 32K 2 \n=========== ======= ======= \nTOTAL 1.3G 788 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"logWritingSignature" : "e95fa7722ca28fb9b65eab9995e58d10b2b3595e",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6434420a89ec2e0a7a38bf5a",
"factorPackIds" : {
},
"deploymentId" : 240000011
},
{
"rolloutId" : "62745b8e85854550ad70b6e4",
"factorPackIds" : {
"SIRI_TTS_DEVICE_TRAINING" : "6539d7f333b9b7499c6f1b63"
},
"deploymentId" : 240000073
}
],
"experiments" : [
{
"treatmentId" : "45f4e2a5-551b-4bc2-a2dc-19c244dda8f8",
"experimentId" : "6643969b3099cf28e049862f",
"deploymentId" : 400000004
},
{
"treatmentId" : "2dffbe18-a39a-4f33-ada9-2cce30af39ca",
"experimentId" : "6384d56b96e8d228551ec182",
"deploymentId" : 400000032
}
]
}
}
This looks to be a crash in the Swift runtime. I'll see if I can reproduce it.
I uploaded the repo: https://github.com/patlux/swift-nio-crash
just tried the docker image and it seems to work
~/d/P/s/swift-nio-crash ❮❮❮ docker run --rm -v ${PWD}:/usr/src/app --workdir /usr/src/app swiftlang/swift:nightly-6.0-jammy swift run ✘ 130 main
warning: 'swift-system': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/usr/src/app/.build/checkouts/swift-system/Sources/System/CMakeLists.txt
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build of product 'swift-nio-crash' complete! (0.19s)
FileSystem::info() #1
FileSystem::info() #2
demise-of-dave.txt doesn't exist
Hello, world!
So either my swift setup is broken or the macos version is broken.
Interesting, I hadn't caught up with the fact that you were using a nightly toolchain. The beta xcode works fine.
This is very likely to be a regression on the mainline nightly toolchain. I'm loading up this toolchain now, but I suspect you'll need to file a bug report on Swift.
Ah right, I forgot that, the Xcode beta works fine for building and running on macos.
But the problem with the xcode beta is, that I can't use it for compiling a static executable for linux, because:
| `- error: compiled module was created by a different version of the compiler ''; rebuild 'Foundation' and try again: /Users/patwoz/Library/org.swift.swiftpm/swift-sdks/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-08-a_static-linux-0.0.1.artifactbundle/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-08-a_static-linux-0.0.1/swift-linux-musl/musl-1.2.5.sdk/aarch64/usr/lib/swift_static/linux-static/aarch64/Foundation.swiftmodule
But at least I can now develop with the xcode beta and use the docker image for compiling the static executable for linux.
Ok, I think this is an issue with the nightly toolchain. Can you please file this as a bug report against Swift directly? Thanks so much! :sparkles:
I did. Thanks for the help!
I'm new to swift and trying to compile my small swift server to a static library for linux. It seems it only works with swift v6, so I'm trying to use swift v6 with vapor, but it crashes whenever using
FileSystem.shared.info
.If you need more details, please ask and explain to me how I can provide it to you.
Thank you!
Expected behavior
No crash
Actual behavior
Steps to reproduce
main.swift
Package.swift
If possible, minimal yet complete reproducer code (or URL to code)
See above
SwiftNIO version/commit hash
System & version information
macOS 14.5 Swift v6 2024-06-13 and 2024-06-8