locked
Xamarin iOS crash investigation RRS feed

  • Question

  • User384295 posted

    I'm not able to get much out of the crash report which I've symbolicated. Here is the report

    `Incident Identifier: 194E4550-9960-4GE3-80DA-15AK82D5A87A CrashReporter Key: 5e32d0e2b3e4c39de75cfde181542605eb0348ft Hardware Model: iPhone11,2 Process: MyApp.iOS [15551] Path: /private/var/containers/Bundle/Application/523E6A7F-A84F-476E-B5MD-5BA55264A06A/MyApp.iOS.app/MyApp.iOS Identifier: com.location.company Version: 1 (1.0.0) AppStoreTools: 10G3 AppVariant: 1:iPhone11,2:12 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.location.company [797]

    Date/Time: 2019-08-26 10:14:26.8651 -0500 Launch Time: 2019-08-26 10:14:26.5247 -0500 OS Version: iPhone OS 12.4 (16G77) Baseband Version: 1.06.02 Report Version: 104

    Exception Type: EXCCRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXCCORPSE_NOTIFY Triggered by Thread: 0

    Thread 0 name: Thread 0 Crashed: 0 libsystemkernel.dylib 0x00000001991a90cc pthreadkill + 8 1 libsystemc.dylib 0x00000001991021f4 _abort + 156 (abort.c:131) 2 libsystemc.dylib 0x0000000199102158 abort + 156 (abort.c:102) 3 MyApp.iOS 0x00000001041edf88 xamarinprintf + 20766600 (runtime.m:2536) 4 MyApp.iOS 0x0000000104110928 monoinvokeunhandledexceptionhook + 19859752 (exception.c:1282) 5 MyApp.iOS 0x00000001040b3a64 monohandleexceptioninternal + 19479140 (mini-exceptions.c:2674) 6 MyApp.iOS 0x00000001040b427c monoresumeunwind + 19481212 (mini-exceptions.c:3424) 7 MyApp.iOS 0x00000001040aa194 monoarmresumeunwind + 19440020 (exceptions-arm64.c:432) 8 MyApp.iOS 0x0000000102f59718 llvmresumeunwindtrampoline + 168 9 MyApp.iOS 0x0000000103a508e0 XamariniOSUIKitUIApplicationMainstringintptrintptr + 12781792 (UIApplication.cs:0) 10 MyApp.iOS 0x00000001040c3ef4 monojitruntimeinvoke + 19545844 (mini-runtime.c:3120) 11 MyApp.iOS 0x000000010414e9ac monoruntimeinvokechecked + 20113836 (object.c:2960) 12 MyApp.iOS 0x0000000104153d74 monoruntimeexecmainchecked + 20135284 (object.c:0) 13 MyApp.iOS 0x00000001040a9720 monojitexec + 19437344 (driver.g.c:1236) 14 MyApp.iOS 0x00000001041f463c xamarin_main + 20792892 (monotouch-main.m:0) 15 MyApp.iOS 0x0000000102e5d380 main + 250752 (main.m:97) 16 libdyld.dylib 0x000000019905cfd8 start + 4

    Thread 1: 0 libsystempthread.dylib 0x0000000199227dc0 startwqthread + 0

    Thread 2 name: Thread 2: 0 libsystemkernel.dylib 0x00000001991a8ed4 psynchcvwait + 8 1 libc++.1.dylib 0x00000001987b0990 std::1::conditionvariable::wait(std::1::uniquelock&) + 28 (threadingsupport:278) 2 JavaScriptCore 0x00000001a0953874 void std::1::conditionvariableany::wait >(std::1::uni... + 104 (conditionvariable:204) 3 JavaScriptCore 0x00000001a09578c8 bmalloc::Scavenger::threadRunLoop() + 172 (conditionvariable:213) 4 JavaScriptCore 0x00000001a0957064 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 16 (Scavenger.cpp:359) 5 JavaScriptCore 0x00000001a0958a8c void* std::1::threadproxy1::tuple1::uniqueptr1::threadstruct, st... + 44 (typetraits:4345) 6 libsystempthread.dylib 0x000000019921f908 pthreadbody + 132 (pthread.c:857) 7 libsystempthread.dylib 0x000000019921f864 _pthreadstart + 48 (pthread.c:884) 8 libsystempthread.dylib 0x0000000199227dcc threadstart + 4

    Thread 3 name: Thread 3: 0 libsystemkernel.dylib 0x00000001991a8ed4 psynchcvwait + 8 1 JavaScriptCore 0x00000001a0919ac0 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 84 (ThreadingPthreads.cpp:520) 2 JavaScriptCore 0x00000001a0900350 WTF::ParkingLot::parkConditionallyImpl(void const, WTF::ScopedLambda const&, WTF::Scope... + 1892 (ParkingLot.cpp:596) 3 JavaScriptCore 0x00000001a08ef870 WTF::LockAlgorithmCFRunLoopObserver, unsigned long, void) + 48 (WebCoreThread.mm:468) 6 CoreFoundation 0x00000001995a60e8 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 36 (CFRunLoop.c:1822) 7 CoreFoundation 0x00000001995a0be0 __CFRunLoopDoObservers + 416 (CFRunLoop.c:1932) 8 CoreFoundation 0x00000001995a131c __CFRunLoopRun + 1688 (CFRunLoop.c:3018) 9 CoreFoundation 0x00000001995a0964 CFRunLoopRunSpecific + 452 (CFRunLoop.c:3247) 10 WebCore 0x00000001a24afec0 RunWebThread(void) + 560 (WebCoreThread.mm:625) 11 libsystempthread.dylib 0x000000019921f908 _pthreadbody + 132 (pthread.c:857) 12 libsystempthread.dylib 0x000000019921f864 _pthreadstart + 48 (pthread.c:884) 13 libsystempthread.dylib 0x0000000199227dcc threadstart + 4

    Thread 4 name: Thread 4: 0 libsystemkernel.dylib 0x00000001991a8ed4 _psynchcvwait + 8 1 MyApp.iOS 0x00000001041cb9b0 threadfunc + 20625840 (mono-os-mutex.h:174) 2 libsystempthread.dylib 0x000000019921f908 _pthreadbody + 132 (pthread.c:857) 3 libsystempthread.dylib 0x000000019921f864 _pthreadstart + 48 (pthread.c:884) 4 libsystempthread.dylib 0x0000000199227dcc threadstart + 4

    Thread 5 name: Thread 5: 0 libsystemkernel.dylib 0x000000019919dc9c semaphorewaittrap + 8 1 MyApp.iOS 0x000000010417cc10 startwrapperinternal + 20302864 (threads.c:1155) 2 MyApp.iOS 0x000000010417ca94 startwrapper + 20302484 (threads.c:1217) 3 libsystempthread.dylib 0x000000019921f908 _pthreadbody + 132 (pthread.c:857) 4 libsystempthread.dylib 0x000000019921f864 _pthreadstart + 48 (pthread.c:884) 5 libsystempthread.dylib 0x0000000199227dcc threadstart + 4

    Thread 6: 0 libsystempthread.dylib 0x0000000199227dc0 startwqthread + 0

    Thread 7: 0 libsystempthread.dylib 0x0000000199227dc0 startwqthread + 0

    Thread 8 name: Thread 8: 0 libsystemkernel.dylib 0x000000019919dc60 machmsgtrap + 8 1 CoreFoundation 0x00000001995a6520 CFRunLoopServiceMachPort + 240 (CFRunLoop.c:2615) 2 CoreFoundation 0x00000001995a11c4 _CFRunLoopRun + 1344 (CFRunLoop.c:2971) 3 CoreFoundation 0x00000001995a0964 CFRunLoopRunSpecific + 452 (CFRunLoop.c:3247) 4 Foundation 0x0000000199f81f3c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 (NSRunLoop.m:367) 5 Foundation 0x0000000199f81dc4 -[NSRunLoop(NSRunLoop) runUntilDate:] + 100 (NSRunLoop.m:411) 6 UIKitCore 0x00000001c6b2936c -[UIEventFetcher threadMain] + 140 (UIEventFetcher.m:606) 7 Foundation 0x0000000199f80b3c -[NSThread main] + 72 (NSThread.m:1212) 8 Foundation 0x000000019a0b6e14 _NSThreadstart_ + 988 (NSThread.m:1175) 9 libsystempthread.dylib 0x000000019921f908 _pthreadbody + 132 (pthread.c:857) 10 libsystempthread.dylib 0x000000019921f864 _pthreadstart + 48 (pthread.c:884) 11 libsystempthread.dylib 0x0000000199227dcc threadstart + 4

    Thread 9: 0 libsystempthread.dylib 0x0000000199227dc0 startwqthread + 0

    Thread 10 name: Thread 10: 0 libsystemkernel.dylib 0x00000001991a8ed4 psynchcvwait + 8 1 MyApp.iOS 0x00000001041d9bc8 monooscondtimedwait + 20683720 (mono-os-mutex.c:75) 2 MyApp.iOS 0x0000000104186150 monow32handletimedwaitsignalhandle + 20341072 (w32handle.c:758) 3 MyApp.iOS 0x0000000104186028 monow32handlewaitone + 20340776 (w32handle.c:879) 4 MyApp.iOS 0x0000000104186260 monow32handlewaitmultiple + 20341344 (w32handle.c:914) 5 MyApp.iOS 0x00000001041796f0 vesicallSystemThreadingWaitHandleWaitinternal + 20289264 (threads.c:2126) 6 MyApp.iOS 0x0000000102e91ed8 wrappermanagedtonativeSystemThreadingWaitHandleWaitinternalintptrintboolint + 168 7 MyApp.iOS 0x0000000103076094 mscorlibSystemThreadingWaitHandleWaitOneNativeSystemRuntimeInteropServicesSafeHandleuintboolbool + 2449556 (WaitHandle.cs:0) 8 MyApp.iOS 0x00000001040c3ef4 monojitruntimeinvoke + 19545844 (mini-runtime.c:3120) 9 MyApp.iOS 0x000000010414e9ac monoruntimeinvokechecked + 20113836 (object.c:2960) 10 MyApp.iOS 0x000000010415386c monoruntimedelegatetryinvoke + 20133996 (object.c:4233) 11 MyApp.iOS 0x000000010417ccd0 startwrapperinternal + 20303056 (threads.c:1165) 12 MyApp.iOS 0x000000010417ca94 startwrapper + 20302484 (threads.c:1217) 13 libsystempthread.dylib 0x000000019921f908 _pthreadbody + 132 (pthread.c:857) 14 libsystempthread.dylib 0x000000019921f864 _pthreadstart + 48 (pthread.c:884) 15 libsystempthread.dylib 0x0000000199227dcc threadstart + 4 ... `

    The app runs fine over the simulators and it just that I've started getting the crash as it was uploaded over the App Store.

    Thursday, August 29, 2019 12:47 PM

All replies

  • User369979 posted

    We could only find something went wrong and called abort to stop your application from the logs. Nothing useful exception information could point out what causes this crash. You'd better debug your application on a real physical device to find out the root cause instead of releasing it to catch the logs.

    Friday, August 30, 2019 8:01 AM
  • User384295 posted

    @LandLu Thanks for looking into this. I actually have tested this over physical devices too but couldn't reproduce it not even after the release. I've been getting dozens of same crash reports and couldn't get anything out of the logs.

    Friday, August 30, 2019 10:04 AM
  • User369979 posted

    @saqib_qhan If you can't reproduce it at debugging mode we don't know what happened on your side.

    Monday, September 2, 2019 10:19 AM