[ Legend: Modified register | Code | Heap | Stack | String ] registers ──── x0 : 0x0 x1 : 0x0 x2 : 0x105ace8b8 → x3 : 0x1ea191bc8 x4 : 0x5 x5 : 0xd20 x6 : 0x600003c3cd20 x7 : 0x1 x8 : 0x39751 x9 : 0x130a0c040 x10 : 0x130a1c040 x11 : 0x7ffff x12 : 0xf8c6 x13 : 0x7a011f4d7f90d932 x14 : 0x1000001e8250589 x15 : 0x1e8250588 → <__NSCFString+0> x16 : 0x190318a00 → Swift.Int+0> x17 : 0xe513000180590a08 x18 : 0x0 x19 : 0x60000322d520 x20 : 0x600003c02860 x21 : 0x0 x22 : 0x600003c02850 x23 : 0x1 x24 : 0x600003c3cd20 x25 : 0xb x26 : 0x105afb0c0 → x27 : 0x105ace8b8 → x28 : 0xc fp : 0x16d9cecf0 lr : 0x1057a2664 → of function signature specialization Swift.String in Tokenizers.PreTrainedTokenizer.decode(tokens: Swift.Array) -> Swift.String, Argument Types : [Tokenizers.PreTrainedTokenizer]> of generic specialization , Swift.String> of Swift.Collection.map<τ_0_0>((τ_0_0.Element) throws -> τ_1_0) throws -> Swift.Array<τ_1_0>+148> sp : 0x16d9cec90 pc : 0x1057a26e8 → of function signature specialization Swift.String in Tokenizers.PreTrainedTokenizer.decode(tokens: Swift.Array) -> Swift.String, Argument Types : [Tokenizers.PreTrainedTokenizer]> of generic specialization , Swift.String> of Swift.Collection.map<τ_0_0>((τ_0_0.Element) throws -> τ_1_0) throws -> Swift.Array<τ_1_0>+280> → (" "?) cpsr : [n z C v q ssbs pan dit ge e a i f m] stack ──── 0x16d9cec90│+0000: 0x0000000000000000 ← $sp 0x16d9cec98│+0008: 0x0000600003c02860 0x16d9ceca0│+0010: 0x0000000105acf1b8 → 0x16d9ceca8│+0018: 0x0000600003c3cd20 0x16d9cecb0│+0020: 0x0000000105acf1b8 → 0x16d9cecb8│+0028: 0x0000000105afa9f0 → 0x16d9cecc0│+0030: 0x0000000000039751 0x16d9cecc8│+0038: 0x0000000133137950 code ──── threads ──── thread #1: tid = 0xfc167e, 0x00000001804ea1f4 libsystem_kernel.dylib`mach_msg2_trap + 8, queue = 'com.apple.main-thread' thread #3: tid = 0xfc1805, 0x00000001804ebea4 libsystem_kernel.dylib`__workq_kernreturn + 8 thread #4: tid = 0xfc1806, 0x00000001057a26e8 LLM`specialized Collection.map(_:) [inlined] Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value at :0, queue = 'com.apple.root.user-initiated-qos.cooperative', stop reason = Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value thread #5: tid = 0xfc1808, 0x00000001804ed9ec libsystem_kernel.dylib`__psynch_cvwait + 8 thread #6: tid = 0xfc1809, 0x00000001804ed9ec libsystem_kernel.dylib`__psynch_cvwait + 8 thread #7: tid = 0xfc180a, 0x00000001804ebea4 libsystem_kernel.dylib`__workq_kernreturn + 8 thread #8: tid = 0xfc1818, 0x00000001804ea1f4 libsystem_kernel.dylib`mach_msg2_trap + 8, name = 'com.apple.NSEventThread' thread #9: tid = 0xfc18ca, 0x00000001804ebea4 libsystem_kernel.dylib`__workq_kernreturn + 8 thread #10: tid = 0xfc192c, 0x00000001804ebea4 libsystem_kernel.dylib`__workq_kernreturn + 8 trace ──── [#0] 0x1057a26e8 → function signature specialization of function signature specialization Swift.String in Tokenizers.PreTrainedTokenizer.decode(tokens: Swift.Array) -> Swift.String, Argument Types : [Tokenizers.PreTrainedTokenizer]> of generic specialization , Swift.String> of Swift.Collection.map((A.Element) throws -> A1) throws -> Swift.Array() [#1] 0x1057a26e8 → function signature specialization of function signature specialization Swift.String in Tokenizers.PreTrainedTokenizer.decode(tokens: Swift.Array) -> Swift.String, Argument Types : [Tokenizers.PreTrainedTokenizer]> of generic specialization , Swift.String> of Swift.Collection.map((A.Element) throws -> A1) throws -> Swift.Array($0=null self=0x600003c02850) [#2] 0x1057a26e8 → function signature specialization of function signature specialization Swift.String in Tokenizers.PreTrainedTokenizer.decode(tokens: Swift.Array) -> Swift.String, Argument Types : [Tokenizers.PreTrainedTokenizer]> of generic specialization , Swift.String> of Swift.Collection.map((A.Element) throws -> A1) throws -> Swift.Array() [#3] 0x10579f298 → Tokenizers.PreTrainedTokenizer.decode(tokens: Swift.Array) -> Swift.String() [#4] 0x10579f288 → Tokenizers.PreTrainedTokenizer.decode(tokens: Swift.Array) -> Swift.String(tokens=null self=0x600003c02850) [#5] 0x10579f580 → protocol witness for Tokenizers.Tokenizer.decode(tokens: Swift.Array) -> Swift.String in conformance Tokenizers.PreTrainedTokenizer : Tokenizers.Tokenizer in Tokenizers() [#6] 0x1025d8290 → (9) suspend resume partial function for LLMEval.LLMEvaluator.generate(prompt: Swift.String) async -> ()(prompt=null self=0x600003a18000) [#7] 0x1025d643c → (2) await resume partial function for closure #1 @Sendable () async -> () in LLMEval.ContentView.generate() -> ()(self=null) [#8] 0x1025db7f4 → closure #1 @Sendable () async -> () in LLMEval.ContentView.generate() -> ()partial apply forwarder with unmangled suffix ".93TQ0_"() [#9] 0x1025d9670 → (1) await resume partial function for generic specialization <()> of reabstraction thunk helper <τ_0_0, τ_0_1 where τ_0_0: Swift.Sendable, τ_0_1 == Swift.Never> from @escaping @callee_guaranteed @Sendable @async () -> (@out τ_0_0) to @escaping @callee_guaranteed @async () -> (@out τ_0_0, @error @owned Swift.Error)() [#10] 0x1025db7e8 → reabstraction thunk helper <τ_0_0, τ_0_1 where τ_0_0: Swift.Sendable, τ_0_1 == Swift.Never> from @escaping @callee_guaranteed @Sendable @async () -> (@out τ_0_0) to @escaping @callee_guaranteed @async () -> (@out τ_0_0, @error @owned Swift.Error)generic specialization <()> of partial apply forwarder with unmangled suffix ".98TQ0_"()