alexhaugland / moonlight-ios

GameStream client for iOS/tvOS
GNU General Public License v3.0
35 stars 10 forks source link

Manual Fix #17

Open goast-ai[bot] opened 1 month ago

goast-ai[bot] commented 1 month ago

Link to Goast Fix

  1. /Limelight/Network/ServerInfoResponse.m Update the populateHost: method to ensure that properties marked with @MainActor are accessed on the main thread by dispatching the updates to the main thread.

Stack Trace

Incident Identifier: 780AB7BC-3C40-401A-BA23-BEDF9BDA644A
Hardware Model:      RealityDevice14,1
Process:             Moonlight Vision [13783]
Path:                /private/var/containers/Bundle/Application/2761EE38-EC8A-47E6-960A-A619728CB2B4/Moonlight Vision.app/Moonlight Vision
Identifier:          com.moonlight-stream-beta.Moonlight-Vision
Version:             9.0.1 (13)
AppStoreTools:       15F31c
AppVariant:          1:RealityDevice14,1:1.1
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.moonlight-stream-beta.Moonlight-Vision [1098]

Date/Time:           2024-07-16 17:20:01.0721 -0400
Launch Time:         2024-07-16 17:18:20.5764 -0400
OS Version:          xrOS 2.0 (22N5277g)
Release Type:        Beta
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000260492f08
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [13783]

Triggered by Thread:  7

Thread 0 name:
Thread 0:
0   libsystem_kernel.dylib          0x0000000261221084 0x26121e000 + 12420
1   libsystem_pthread.dylib         0x000000026130c22c 0x261307000 + 21036
2   SwiftUICore                     0x00000001ab9776a8 0x1ab974000 + 13992
3   SwiftUICore                     0x00000001ab9775f0 0x1ab974000 + 13808
4   SwiftUICore                     0x00000001abe28830 0x1ab974000 + 4933680
5   SwiftUI                         0x00000001aa4b831c 0x1a9fd0000 + 5145372
6   SwiftUI                         0x00000001aa4b83dc 0x1a9fd0000 + 5145564
7   UIKitCore                       0x0000000247a952c0 0x247698000 + 4182720
8   UIKitCore                       0x00000002484ba5a4 0x247698000 + 14820772
9   UIKitCore                       0x00000002484b9a80 0x247698000 + 14817920
10  CoreFoundation                  0x0000000198f609dc 0x198ed9000 + 555484
11  CoreFoundation                  0x0000000198f60920 0x198ed9000 + 555296
12  CoreFoundation                  0x0000000198f60040 0x198ed9000 + 553024
13  CoreFoundation                  0x0000000198f5a310 0x198ed9000 + 529168
14  CoreFoundation                  0x0000000198f59b64 0x198ed9000 + 527204
15  GraphicsServices                0x00000001dc8f1518 0x1dc8ee000 + 13592
16  UIKitCore                       0x00000002485970b4 0x247698000 + 15724724
17  UIKitCore                       0x000000024859baf4 0x247698000 + 15743732
18  SwiftUI                         0x00000001aac508c8 0x1a9fd0000 + 13109448
19  SwiftUI                         0x00000001aac505cc 0x1a9fd0000 + 13108684
20  SwiftUI                         0x00000001aa83ae30 0x1a9fd0000 + 8826416
21  Moonlight Vision                0x00000001043b9578 static MainWrapper.main() + 76 (MoonlightVisionApp.swift:21)
22  Moonlight Vision                0x00000001043b9578 static MainWrapper.$main() + 76 (<compiler-generated>:17)
23  Moonlight Vision                0x00000001043b9578 main + 88 (MoonlightVisionApp.swift:0)
24  dyld                            0x000000025aa679fc 0x25aa66000 + 6652

Thread 1:
0   libsystem_pthread.dylib         0x00000002613117b4 0x261307000 + 42932

Thread 2:
0   libsystem_pthread.dylib         0x00000002613117b4 0x261307000 + 42932

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib          0x000000026121f508 0x26121e000 + 5384
1   libsystem_kernel.dylib          0x000000026122761c 0x26121e000 + 38428
2   libsystem_kernel.dylib          0x00000002612278a4 0x26121e000 + 39076
3   libsystem_kernel.dylib          0x00000002612276f0 0x26121e000 + 38640
4   CoreFoundation                  0x0000000198f601dc 0x198ed9000 + 553436
5   CoreFoundation                  0x0000000198f5a484 0x198ed9000 + 529540
6   CoreFoundation                  0x0000000198f59b64 0x198ed9000 + 527204
7   Foundation                      0x000000019dab8c60 0x19d2c4000 + 8342624
8   Foundation                      0x000000019dab8e8c 0x19d2c4000 + 8343180
9   UIKitCore                       0x00000002486525c0 0x247698000 + 16491968
10  Foundation                      0x000000019dadee04 0x19d2c4000 + 8498692
11  libsystem_pthread.dylib         0x0000000261308848 0x261307000 + 6216
12  libsystem_pthread.dylib         0x00000002613117c8 0x261307000 + 42952

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib          0x0000000261221610 0x26121e000 + 13840
1   CoreFoundation                  0x0000000198f6fb94 0x198ed9000 + 617364
2   libsystem_pthread.dylib         0x0000000261308848 0x261307000 + 6216
3   libsystem_pthread.dylib         0x00000002613117c8 0x261307000 + 42952

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib          0x000000026121f484 0x26121e000 + 5252
1   caulk                           0x0000000256f61620 0x256f51000 + 67104
2   caulk                           0x0000000256f68c74 0x256f51000 + 97396
3   caulk                           0x0000000256f68c24 0x256f51000 + 97316
4   libsystem_pthread.dylib         0x0000000261308848 0x261307000 + 6216
5   libsystem_pthread.dylib         0x00000002613117c8 0x261307000 + 42952

Thread 6 name:
Thread 6:
0   libsystem_kernel.dylib          0x000000026121f484 0x26121e000 + 5252
1   caulk                           0x0000000256f61620 0x256f51000 + 67104
2   caulk                           0x0000000256f68c74 0x256f51000 + 97396
3   caulk                           0x0000000256f68c24 0x256f51000 + 97316
4   libsystem_pthread.dylib         0x0000000261308848 0x261307000 + 6216
5   libsystem_pthread.dylib         0x00000002613117c8 0x261307000 + 42952

Thread 7 name:
Thread 7 Crashed:
0   libswiftCore.dylib              0x0000000260492f08 0x26045c000 + 225032
1   StopwatchSupport                0x000000023fd989c0 0x23fcb8000 + 920000
2   StopwatchSupport                0x000000023fd98ba8 0x23fcb8000 + 920488
3   UIKitCore                       0x000000024825de68 0x247698000 + 12344936
4   UIKitCore                       0x0000000247c591c0 0x247698000 + 6033856
5   UIKitCore                       0x0000000247c57e48 0x247698000 + 6028872
6   SwiftUI                         0x00000001aa798be0 0x1a9fd0000 + 8162272
7   SwiftUI                         0x00000001aa79409c 0x1a9fd0000 + 8143004
8   SwiftUI                         0x00000001aa78c298 0x1a9fd0000 + 8110744
9   SwiftUI                         0x00000001aa785618 0x1a9fd0000 + 8082968
10  SwiftUI                         0x00000001aa252a38 0x1a9fd0000 + 2632248
11  SwiftUICore                     0x00000001ac3c0d9c 0x1ab974000 + 10800540
12  SwiftUI                         0x00000001ab333148 0x1a9fd0000 + 20328776
13  SwiftUI                         0x00000001aa283b40 0x1a9fd0000 + 2833216
14  SwiftUI                         0x00000001aa2973f4 0x1a9fd0000 + 2913268
15  SwiftUICore                     0x00000001abe28200 0x1ab974000 + 4932096
16  SwiftUICore                     0x00000001abe26eec 0x1ab974000 + 4927212
17  SwiftUI                         0x00000001aa24d908 0x1a9fd0000 + 2611464
18  SwiftUI                         0x00000001aa296cd4 0x1a9fd0000 + 2911444
19  SwiftUI                         0x00000001aa292c38 0x1a9fd0000 + 2894904
20  SwiftUICore                     0x00000001ac044ab8 0x1ab974000 + 7146168
21  SwiftUICore                     0x00000001ac04351c 0x1ab974000 + 7140636
22  SwiftUICore                     0x00000001ac0b641c 0x1ab974000 + 7611420
23  SwiftUICore                     0x00000001ac042994 0x1ab974000 + 7137684
24  SwiftUICore                     0x00000001ac0425bc 0x1ab974000 + 7136700
25  SwiftUI                         0x00000001aa234af0 0x1a9fd0000 + 2509552
26  SwiftUICore                     0x00000001abc10898 0x1ab974000 + 2738328
27  SwiftUI                         0x00000001aa2762b0 0x1a9fd0000 + 2777776
28  AttributeGraph                  0x00000001bc7e1fd4 0x1bc7d7000 + 45012
29  AttributeGraph                  0x00000001bc7e285c 0x1bc7d7000 + 47196
30  AttributeGraph                  0x00000001bc7eac9c 0x1bc7d7000 + 81052
31  AttributeGraph                  0x00000001bc801500 0x1bc7d7000 + 173312
32  SwiftUICore                     0x00000001abee1fcc 0x1ab974000 + 5693388
33  SwiftUICore                     0x00000001abadd928 0x1ab974000 + 1481000
34  AttributeGraph                  0x00000001bc7e1fd4 0x1bc7d7000 + 45012
35  AttributeGraph                  0x00000001bc7e285c 0x1bc7d7000 + 47196
36  AttributeGraph                  0x00000001bc7eac9c 0x1bc7d7000 + 81052
37  AttributeGraph                  0x00000001bc801500 0x1bc7d7000 + 173312
38  SwiftUICore                     0x00000001ac0dd6e0 0x1ab974000 + 7771872
39  SwiftUICore                     0x00000001abadceec 0x1ab974000 + 1478380
40  AttributeGraph                  0x00000001bc7e1fd4 0x1bc7d7000 + 45012
41  AttributeGraph                  0x00000001bc7e285c 0x1bc7d7000 + 47196
42  AttributeGraph                  0x00000001bc7f0b2c 0x1bc7d7000 + 105260
43  SwiftUICore                     0x00000001ac0267b8 0x1ab974000 + 7022520
44  SwiftUICore                     0x00000001aba74a84 0x1ab974000 + 1051268
45  SwiftUICore                     0x00000001ac044264 0x1ab974000 + 7144036
46  SwiftUICore                     0x00000001ac044160 0x1ab974000 + 7143776
47  libswiftObservation.dylib       0x0000000260b3b8f0 0x260b34000 + 30960
48  libswiftObservation.dylib       0x0000000260b415e4 0x260b34000 + 54756
49  libswiftObservation.dylib       0x0000000260b4193c 0x260b34000 + 55612
50  libswiftObservation.dylib       0x0000000260b40048 0x260b34000 + 49224
51  libswiftObservation.dylib       0x0000000260b40728 0x260b34000 + 50984
52  libswiftObservation.dylib       0x0000000260b3b000 0x260b34000 + 28672
53  Moonlight Vision                0x00000001043c3e0c @objc TemporaryHost.name.setter + 172
54  Moonlight Vision                0x00000001043af420 -[ServerInfoResponse populateHost:] + 144 (ServerInfoResponse.m:23)
55  Moonlight Vision                0x00000001043a8d08 -[DiscoveryWorker discoverHost] + 440 (DiscoveryWorker.m:108)
56  Moonlight Vision                0x00000001043a8938 -[DiscoveryWorker main] + 36 (DiscoveryWorker.m:37)
57  Foundation                      0x000000019da87770 0x19d2c4000 + 8140656
58  Foundation                      0x000000019da83a6c 0x19d2c4000 + 8125036
59  Foundation                      0x000000019da8802c 0x19d2c4000 + 8142892
60  Foundation                      0x000000019da87c54 0x19d2c4000 + 8141908
61  libdispatch.dylib               0x000000026109dc78 0x26108b000 + 76920
62  libdispatch.dylib               0x000000026108f2cc 0x26108b000 + 17100
63  libdispatch.dylib               0x0000000261092600 0x26108b000 + 30208
64  libdispatch.dylib               0x0000000261091cf8 0x26108b000 + 27896
65  libdispatch.dylib               0x00000002610a0604 0x26108b000 + 87556
66  libdispatch.dylib               0x00000002610a0e08 0x26108b000 + 89608
67  libsystem_pthread.dylib         0x000000026130a560 0x261307000 + 13664
68  libsystem_pthread.dylib         0x00000002613117bc 0x261307000 + 42940

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib          0x000000026121f49c 0x26121e000 + 5276
1   libdispatch.dylib               0x000000026108f8c0 0x26108b000 + 18624
2   libdispatch.dylib               0x000000026108fe90 0x26108b000 + 20112
3   libdispatch.dylib               0x00000002610a03ec 0x26108b000 + 87020
4   libsystem_pthread.dylib         0x0000000261308848 0x261307000 + 6216
5   libsystem_pthread.dylib         0x00000002613117c8 0x261307000 + 42952

Thread 9:
0   libsystem_pthread.dylib         0x00000002613117b4 0x261307000 + 42932

Thread 10:
0   libsystem_pthread.dylib         0x00000002613117b4 0x261307000 + 42932

Thread 11:
0   libsystem_pthread.dylib         0x00000002613117b4 0x261307000 + 42932

Thread 7 crashed with ARM Thread State (64-bit):
    x0: 0x00000003003f6108   x1: 0x0000000200000003   x2: 0x0000000000000000   x3: 0x00000003013d75c0
    x4: 0x00000003013d7600   x5: 0x0000000000000013   x6: 0x0000000000000020   x7: 0x0000000000000000
    x8: 0xfffffffe00000000   x9: 0x0000000200000003  x10: 0x0000000000000003  x11: 0x00000000000035a0
   x12: 0x00000000000007fb  x13: 0x00000000000007fd  x14: 0x00000000f900f890  x15: 0x00000000f8e0f098
   x16: 0x00000000f9000000  x17: 0x0000000000000090  x18: 0x0000000000000000  x19: 0x000000023fe1d350
   x20: 0x00000003003f6100  x21: 0x0000000000000000  x22: 0x000000000000000b  x23: 0x0000000000000032
   x24: 0x00000000000001c4  x25: 0x000000023fe26df0  x26: 0xf000000000000049  x27: 0x0000000000000000
   x28: 0x000000016baf6cf0   fp: 0x000000016baf6c60   lr: 0x0000000260492f08
    sp: 0x000000016baf6b90   pc: 0x0000000260492f08 cpsr: 0x60001000
   esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
        0x10438c000 -         0x104507fff Moonlight Vision arm64  <d6fab41c666131428e99e5376bd869ee> /private/var/containers/Bundle/Application/2761EE38-EC8A-47E6-960A-A619728CB2B4/Moonlight Vision.app/Moonlight Vision
        0x10481c000 -         0x104827fff libobjc-trampolines.dylib arm64e  <8dee8bf622db3ef49aaa5f3be600cd51> /usr/lib/libobjc-trampolines.dylib
        0x104bd0000 -         0x104e5bfff OpenSSL arm64  <bc2cd45e384733e4a5b1a3d992a5302c> /private/var/containers/Bundle/Application/2761EE38-EC8A-47E6-960A-A619728CB2B4/Moonlight Vision.app/Frameworks/OpenSSL.framework/OpenSSL
        0x116554000 -         0x11655bfff MRUIKit arm64e  <bd27f24e58aa3f6c811bc69131174228> /System/Library/AccessibilityBundles/MRUIKit.axbundle/MRUIKit
        0x116570000 -         0x116573fff StopwatchSupport arm64e  <a4b89c3737cd339e81fba7a31dfae0eb> /System/Library/AccessibilityBundles/StopwatchSupport.axbundle/StopwatchSupport
        0x198ed9000 -         0x199418fff CoreFoundation arm64e  <e02cae99c78c369f98d8dbd520e15a3a> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
        0x19d2c4000 -         0x19dfb5fff Foundation arm64e  <4f050070e9323c6eb5f86c55375fb032> /System/Library/Frameworks/Foundation.framework/Foundation
        0x1a9fd0000 -         0x1ab87ffff SwiftUI arm64e  <e407153501e2385b831fc1f89b7c3797> /System/Library/Frameworks/SwiftUI.framework/SwiftUI
        0x1ab974000 -         0x1ac54dfff SwiftUICore arm64e  <f24fecff5d8e3a86a0700cc39e428db6> /System/Library/Frameworks/SwiftUICore.framework/SwiftUICore
        0x1bc7d7000 -         0x1bc818fff AttributeGraph arm64e  <5f8ad7831453322baa6a3344c204bfad> /System/Library/PrivateFrameworks/AttributeGraph.framework/AttributeGraph
        0x1dc8ee000 -         0x1dc8f6fff GraphicsServices arm64e  <94b5537c35373c558b41bc469b740dc3> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
        0x23fcb8000 -         0x23fe66fff StopwatchSupport arm64e  <59d50d061f1935fd9d075d2baa08ef26> /System/Library/PrivateFrameworks/StopwatchSupport.framework/StopwatchSupport
        0x247698000 -         0x2494c8fff UIKitCore arm64e  <1201d9ace921350ca93a2c0ea17e2aa9> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
        0x256f51000 -         0x256f77fff caulk arm64e  <1c4cbc67544e354b927799a48724d38f> /System/Library/PrivateFrameworks/caulk.framework/caulk
        0x25aa66000 -         0x25aade497 dyld arm64e  <d62e6baf0b0d3624a9a863a49bdb57ed> /usr/lib/dyld
        0x26045c000 -         0x2609e3fff libswiftCore.dylib arm64e  <ae0ff02a8ea436f0ba4cd812132e4b53> /usr/lib/swift/libswiftCore.dylib
        0x260b34000 -         0x260b43ff7 libswiftObservation.dylib arm64e  <0c3cb6dacd2b32fc8a151f8f8fdc8058> /usr/lib/swift/libswiftObservation.dylib
        0x26108b000 -         0x2610cffff libdispatch.dylib arm64e  <6236c73d01d1349f9a11064968936427> /usr/lib/system/libdispatch.dylib
        0x261120000 -         0x26119dff7 libsystem_c.dylib arm64e  <4ddd43eb54913129b809c60d2dc1506a> /usr/lib/system/libsystem_c.dylib
        0x26121e000 -         0x261256ff7 libsystem_kernel.dylib arm64e  <aec55840a4663d4f88e29de54a867afc> /usr/lib/system/libsystem_kernel.dylib
        0x261307000 -         0x261312ffb libsystem_pthread.dylib arm64e  <4e375ea2f5963c958947c4bf232455f9> /usr/lib/system/libsystem_pthread.dylib

EOF
goast-ai[bot] commented 1 month ago

NEW FEATURES