I am getting dozens of crash reports for my app exclusively for devices running an iOS 14 beta version. The crash logs (see attached) indicate the actual crash on Thread 0. The other common denominator between all the crashes is that NetServiceBrowser is involved (see Thread 13). Does anyone know how _CFAssertMismatchedTypeID fits into this?
Thread 0 & 1 are both symptoms of what may be the root cause, keeping in mind that 'mismatched' IDs can also mean multiple methods named the same.
Time to do some sleuthing on your end, and if still no joy, you might need to go thru and use unique names, instead of defaults, in all applicable instances.
Still no joy, file bugs against the beta(s) and keep checking/seeing if when 14 goes public, the crashes go silent.
Good luck.
Time to do some sleuthing on your end, and if still no joy, you might need to go thru and use unique names, instead of defaults, in all applicable instances.
Still no joy, file bugs against the beta(s) and keep checking/seeing if when 14 goes public, the crashes go silent.
Good luck.
For me it was rescanning for a service type while an identical service scan was already in progress. Stopping the previous scan first solved the issue and the _CFAssertMismatchedTypeID crash went away.
Can you post the full crash report? The version you have above is missing the Binary Images section, and that makes it hard to do anything useful with it.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
@matzewagner Did you make any progress with this? Stuck with same error but no calls to NetServiceBrowser?
Perhaps you could post your crash report?Stuck with same error
ps Use the text attachment feature to prevent it from clogging up the timeline.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
I suffered from the same error. The crash stack like below. I use the Multipeer Connectivity. I don't know why this happens. I can't reproduce it . it may happen by accident. Someone can help me ?Thank you very much.
Date/Time: 2020-10-14 14:11:19.1092 +0000
Launch Time: 2020-10-14 14:07:11.7500 +0000
OS Version: iPhone OS 14.0 (18A373)
Release Type: User
Baseband Version: 5.00.00
Report Version: 104
Exception Type: EXCBREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000188eac4c4
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [3212]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 CoreFoundation 0x0000000188eac4c4 CFAssertMismatchedTypeID + 108 (CFRuntime.c:934)
1 CoreFoundation 0x0000000188eac4bc CFAssertMismatchedTypeID + 100 (CFRuntime.c:933)
2 CoreFoundation 0x0000000188dbdb0c CFRunLoopSourceInvalidate + 300 (CFRuntimeInternal.h:118)
3 CFNetwork 0x00000001894655b0 BrowserCancel(CFNetServiceBrowser*) + 76 (CFNetServiceBrowser.c:178)
4 CoreFoundation 0x0000000188dc1240 CFRUNLOOPISCALLINGOUTTOASOURCE0PERFORMFUNCTION + 24 (CFRunLoop.c:1967)
5 CoreFoundation 0x0000000188dc1140 CFRunLoopDoSource0 + 204 (CFRunLoop.c:2011)
6 CoreFoundation 0x0000000188dc04ec CFRunLoopDoSources0 + 356 (CFRunLoop.c:2056)
7 CoreFoundation 0x0000000188dbaa40 CFRunLoopRun + 776 (CFRunLoop.c:2925)
8 CoreFoundation 0x0000000188dba200 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242)
9 GraphicsServices 0x000000019eeb5598 GSEventRunModal + 160 (GSEvent.c:2259)
10 UIKitCore 0x000000018b680004 -[UIApplication run] + 1052 (UIApplication.m:3270)
11 UIKitCore 0x000000018b6855d8 UIApplicationMain + 164 (UIApplication.m:4739)
12 ExMessager 0x00000001027b21f8 0x102714000 + 647672
13 libdyld.dylib 0x0000000188a99598 start + 4
Thread 1 name:
Thread 1:
0 libsystemkernel.dylib 0x00000001b37b972c psynchcvwait + 8
1 libsystempthread.dylib 0x00000001ce71c330 pthreadcondwait$VARIANT$mp + 1180 (pthreadcond.c:636)
2 libc.1.dylib 0x000000019c703e0c std::1::conditionvariable::wait(std::1::uniquelock<std::1::mutex>&) + 24 (threadingsupport:390)
3 JavaScriptCore 0x00000001928fd53c void std::1::conditionvariableany::wait<std::1::uniquelock<bmalloc::Mutex> >(std::1::uniquelock<bmalloc::Mutex>&) + 108 (conditionvariable:203)
4 JavaScriptCore 0x0000000192901ea0 bmalloc::Scavenger::threadRunLoop() + 240 (conditionvariable:212)
5 JavaScriptCore 0x00000001929018e4 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 12 (Scavenger.cpp:395)
6 JavaScriptCore 0x0000000192902fc4 void* std::1::threadproxy<std::1::tuple<std::1::uniqueptr<std::1::threadstruct, std::1::defaultdelete<std::1::_threadstruct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scaveng... + 44 (typetraits:3545)
7 libsystempthread.dylib 0x00000001ce722b70 pthreadstart + 288 (pthread.c:880)
8 libsystempthread.dylib 0x00000001ce727880 threadstart + 8
Thread 2 name:
Thread 2:
0 libsystemkernel.dylib 0x00000001b37968c4 machmsgtrap + 8
1 libsystemkernel.dylib 0x00000001b3795cc8 machmsg + 72 (machmsg.c:103)
2 CoreFoundation 0x0000000188dc074c _CFRunLoopServiceMachPort + 376 (CFRunLoop.c:2641)
3 CoreFoundation 0x0000000188dbabd0 CFRunLoopRun + 1176 (CFRunLoop.c:2974)
4 CoreFoundation 0x0000000188dba200 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242)
5 WebCore 0x0000000195a99e6c RunWebThread(void*) + 672 (WebCoreThread.mm:625)
6 libsystempthread.dylib 0x00000001ce722b70 pthreadstart + 288 (pthread.c:880)
7 libsystempthread.dylib 0x00000001ce727880 threadstart + 8
Date/Time: 2020-10-14 14:11:19.1092 +0000
Launch Time: 2020-10-14 14:07:11.7500 +0000
OS Version: iPhone OS 14.0 (18A373)
Release Type: User
Baseband Version: 5.00.00
Report Version: 104
Exception Type: EXCBREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000188eac4c4
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [3212]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 CoreFoundation 0x0000000188eac4c4 CFAssertMismatchedTypeID + 108 (CFRuntime.c:934)
1 CoreFoundation 0x0000000188eac4bc CFAssertMismatchedTypeID + 100 (CFRuntime.c:933)
2 CoreFoundation 0x0000000188dbdb0c CFRunLoopSourceInvalidate + 300 (CFRuntimeInternal.h:118)
3 CFNetwork 0x00000001894655b0 BrowserCancel(CFNetServiceBrowser*) + 76 (CFNetServiceBrowser.c:178)
4 CoreFoundation 0x0000000188dc1240 CFRUNLOOPISCALLINGOUTTOASOURCE0PERFORMFUNCTION + 24 (CFRunLoop.c:1967)
5 CoreFoundation 0x0000000188dc1140 CFRunLoopDoSource0 + 204 (CFRunLoop.c:2011)
6 CoreFoundation 0x0000000188dc04ec CFRunLoopDoSources0 + 356 (CFRunLoop.c:2056)
7 CoreFoundation 0x0000000188dbaa40 CFRunLoopRun + 776 (CFRunLoop.c:2925)
8 CoreFoundation 0x0000000188dba200 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242)
9 GraphicsServices 0x000000019eeb5598 GSEventRunModal + 160 (GSEvent.c:2259)
10 UIKitCore 0x000000018b680004 -[UIApplication run] + 1052 (UIApplication.m:3270)
11 UIKitCore 0x000000018b6855d8 UIApplicationMain + 164 (UIApplication.m:4739)
12 ExMessager 0x00000001027b21f8 0x102714000 + 647672
13 libdyld.dylib 0x0000000188a99598 start + 4
Thread 1 name:
Thread 1:
0 libsystemkernel.dylib 0x00000001b37b972c psynchcvwait + 8
1 libsystempthread.dylib 0x00000001ce71c330 pthreadcondwait$VARIANT$mp + 1180 (pthreadcond.c:636)
2 libc.1.dylib 0x000000019c703e0c std::1::conditionvariable::wait(std::1::uniquelock<std::1::mutex>&) + 24 (threadingsupport:390)
3 JavaScriptCore 0x00000001928fd53c void std::1::conditionvariableany::wait<std::1::uniquelock<bmalloc::Mutex> >(std::1::uniquelock<bmalloc::Mutex>&) + 108 (conditionvariable:203)
4 JavaScriptCore 0x0000000192901ea0 bmalloc::Scavenger::threadRunLoop() + 240 (conditionvariable:212)
5 JavaScriptCore 0x00000001929018e4 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 12 (Scavenger.cpp:395)
6 JavaScriptCore 0x0000000192902fc4 void* std::1::threadproxy<std::1::tuple<std::1::uniqueptr<std::1::threadstruct, std::1::defaultdelete<std::1::_threadstruct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scaveng... + 44 (typetraits:3545)
7 libsystempthread.dylib 0x00000001ce722b70 pthreadstart + 288 (pthread.c:880)
8 libsystempthread.dylib 0x00000001ce727880 threadstart + 8
Thread 2 name:
Thread 2:
0 libsystemkernel.dylib 0x00000001b37968c4 machmsgtrap + 8
1 libsystemkernel.dylib 0x00000001b3795cc8 machmsg + 72 (machmsg.c:103)
2 CoreFoundation 0x0000000188dc074c _CFRunLoopServiceMachPort + 376 (CFRunLoop.c:2641)
3 CoreFoundation 0x0000000188dbabd0 CFRunLoopRun + 1176 (CFRunLoop.c:2974)
4 CoreFoundation 0x0000000188dba200 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242)
5 WebCore 0x0000000195a99e6c RunWebThread(void*) + 672 (WebCoreThread.mm:625)
6 libsystempthread.dylib 0x00000001ce722b70 pthreadstart + 288 (pthread.c:880)
7 libsystempthread.dylib 0x00000001ce727880 threadstart + 8
This looks like the issue discussed over on this thread.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"