locked
WatchOS apps keep crashing when running on hardware RRS feed

  • Question

  • User57553 posted

    Hi, have been running on Xamarin.iOS version 13.2 for quite some time and have a pretty basic Apple Watch app which was working very smoothly until I did an update to the latest Xamarin.iOS 13.14 version. Suddenly my watch app, and as a matter of fact all sample watch apps, keep crashing on start. In simulator everything's working as expected. Does anyone else experience something similar? This is my configuration: Visual Studio Enterprise 2019 for Mac Version 8.5 (build 3183) Mono Framework MDK Runtime: Mono 6.8.0.123 (2019-10/1d0d939dc30) (64-bit) Package version: 608000123 Xamarin.iOS Version: 13.14.1.39 (Visual Studio Enterprise)

    Hardware iPhone 11 Pro Max with iOS 13.4 Apple Watch S4 with WatchOS 6.1

    This is the log I was able to pull out from the test watch app:

    Thread 0 name: tid407 Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libsystemkernel.dylib 0x21450c70 _pthreadkill + 8 1 libsystempthread.dylib 0x214cd980 pthreadkill + 220 2 libsystemc.dylib 0x213a46f4 abort + 100 3 ...CSessionAppWatchOSExtension 0x04ace56c printcallback(char const*, int) + 6137196 (runtime.m:1218) 4 ...CSessionAppWatchOSExtension 0x04ac56e8 monoegglogvnofree + 6100712 (goutput.c:150) 5 ...CSessionAppWatchOSExtension 0x04ac5738 monoegglog + 6100792 (goutput.c:165) 6 ...CSessionAppWatchOSExtension 0x04ab7c4c monothreadstransitiondoblocking + 6044748 (mono-threads-state-machine.c:725) 7 ...CSessionAppWatchOSExtension 0x04ab5648 monothreadsentergcsaferegionunbalancedwithinfo + 6035016 (mono-threads-coop.c:324) 8 ...CSessionAppWatchOSExtension 0x04a20674 monogcpthreadcreate + 5424756 (sgen-mono.c:2432) 9 ...CSessionAppWatchOSExtension 0x04ab6aa4 monothreadplatformcreatethread + 6040228 (mono-threads-posix.c:101) 10 ...CSessionAppWatchOSExtension 0x04a43edc createthread + 5570268 (threads.c:1384) 11 ...CSessionAppWatchOSExtension 0x04a4397c monothreadcreateinternal + 5568892 (threads.c:1474) 12 ...CSessionAppWatchOSExtension 0x0499a098 monogcinitfinalizerthread + 4874392 (gc.c:1002) 13 ...CSessionAppWatchOSExtension 0x04ad55ac -[XamarinGCSupport init] + 6165932 (monotouch-main.m:199) 14 ...CSessionAppWatchOSExtension 0x04ad5984 xamarinmain + 6166916 (monotouch-main.m:462) 15 ...CSessionAppWatchOSExtension 0x044fc504 xamarinwatchextension_main + 34052 (main.m:47) 16 libdyld.dylib

    Sunday, March 29, 2020 2:28 PM

All replies

  • User369978 posted

    Please raise this issue on github for better support : https://github.com/xamarin/xamarin-macios/issues , It's better to attach the reproduction .

    Monday, March 30, 2020 6:48 AM