Debugging

RSS for tag

Discover and resolve issues with your app.

Posts under Debugging tag

200 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

UIManagedDocument hangs the main thread
Under certain circumstances UIManagedDocument blocks the main thread: I encountered this with situation when two different external writers in quick succession request coordinated write on the document’s file. After the 1st writer finishes its work, UIManagedDocument starts the revert process, and if at the same time the 2nd writer requests coordinated write, it seems that the coordinator allows the 2nd writer to begin, but then everything hangs: on Main thread UIManagedDocument waits for coordinated read, while the 2nd writer never reaches its writer block. The problem occurs only on iOS, I get it on iPad. I have a sample project, one of the tests result, spindump from the failed test: https://www.dropbox.com/scl/fo/qm40ano3kz15lucjj1zx3/h?rlkey=2029ge5moou7ghaqqnklsp7us&dl=0 Open the project and start the test on iPad (there is only one test: testExternalWrite), the problem may occur inconsistently. I submitted a report in Feedback Assistant like a month ago—no reaction. If somebody has time to take a look and say something, thank you very much!
2
0
475
Aug ’23
EXC_BAD_ACCESS (SIGSEGV)
Hi I am having repeated crashes when using a Filemaker database that was until recently, stable. From what little I can gather it seems to be a memory issue but can anyone help me identify where it is occurring or what is causing it? Here is the crash report. Many thanks Dom The latest crash report
0
0
369
Aug ’23
Crash on pushViewController with [NSNull set]: unrecognized selector
I have an app where I just created a new, working viewController in a separate project. I copy/pasted the code and xibs (several subviews) into the new project. All compiles fine. Relevant code: `let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil) //let nextViewController = storyBoard.instantiateViewController(withIdentifier: "NewManualGlyphVC") as! NewManualPickGlyphViewController //old Selector let nextViewController = storyBoard.instantiateViewController(withIdentifier: "GlyphSelectVC") as! GlyphSelectViewController //new Selector self.navigationController?.pushViewController(nextViewController, animated: true) ` The commented out line was the vector to the old, working VC. The new code crashes inside the push. the new nextViewController is fine, the Xcode quick view shows the expected view, and the navController is also just fine. The reported error is: `myApp[42661:963870] -[NSNull set]: unrecognized selector sent to instance 0x7ff86599bc30 ` Environment is Xcode 14.3.1 compiled to ios13, target device iOS 16. Any thoughts? Thanks!!
3
0
463
Aug ’23
ReactNative app crashes on launch when downloaded from AppCenter
My ReactNative app works fine when I run it locally via Xcode in a simulator or on phone. However, when I use AppCenter to build the app and download it for testing, it crashes on launch with the following crash exception (I've attached complete crash report as a .txt file): Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: SIGNAL 6 Abort trap: 6 Terminating Process: budget [1014] Triggered by Thread: 0 Application Specific Information: abort() called Kernel Triage: VM - (arg = 0x0) pmap_enter retried due to resource shortage VM - (arg = 0x0) pmap_enter retried due to resource shortage VM - (arg = 0x0) pmap_enter retried due to resource shortage Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libsystem_kernel.dylib 0x1f8771578 __pthread_kill + 8 1 libsystem_pthread.dylib 0x2195ec118 pthread_kill + 268 2 libsystem_c.dylib 0x1c0cdc178 abort + 180 3 libswiftCore.dylib 0x104690028 swift::fatalError(unsigned int, char const*, ...) + 56 4 libswiftCore.dylib 0x1046881c8 checkVersion() + 60 5 dyld 0x1d8d731cc invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const::$_0::operator()() const + 168 6 dyld 0x1d8da5af0 invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 172 7 dyld 0x1d8d4c8a0 invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 528 8 dyld 0x1d8d4bc18 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 296 9 dyld 0x1d8d4b1b0 dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 192 10 dyld 0x1d8d9e8dc dyld3::MachOFile::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, bool&) block_pointer) const + 160 11 dyld 0x1d8d570bc dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 432 12 dyld 0x1d8d538d8 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 448 13 dyld 0x1d8d4fd4c dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 220 14 dyld 0x1d8d4fd28 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 184 15 dyld 0x1d8d4fd28 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 184 16 dyld 0x1d8d73258 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const::$_1::operator()() const + 112 17 dyld 0x1d8d556a0 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 304 18 dyld 0x1d8d8b244 dyld4::APIs::runAllInitializersForMain() + 340 19 dyld 0x1d8d5f03c dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3404 crashreport.txt 20 dyld 0x1d8d5ccdc start + 1948
2
0
1.2k
Aug ’23
Built app crashes on Open, works on Simulator
This is the crash log from device Last Exception Backtrace: 0 CoreFoundation 0x1da0cc288 __exceptionPreprocess + 220 1 libobjc.A.dylib 0x1f2dfb744 objc_exception_throw + 60 2 celsius 0x1030e4a18 RCTFormatError + 2378264 (RCTAssert.m:166) 3 celsius 0x102f002b4 +[CodePush ensureBinaryBundleExists] + 393908 (CodePush.m:370) 4 celsius 0x102eff79c +[CodePush bundleURLForResource:withExtension:subdirectory:bundle:] + 391068 (CodePush.m:159) 5 celsius 0x1030e6dd8 -[RCTBridge setUp] + 2387416 (RCTBridge.m:344) 6 celsius 0x1030e6620 -[RCTBridge initWithDelegate:bundleURL:moduleProvider:launchOptions:] + 2385440 (RCTBridge.m:212) 7 celsius 0x102ea5ff8 -[AppDelegate application:didFinishLaunchingWithOptions:] + 24568 (AppDelegate.m:38) 8 UIKitCore 0x1dc7d6a44 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 340 9 UIKitCore 0x1dc9bda78 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3572 10 UIKitCore 0x1dc9a6678 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1180 11 UIKitCore 0x1dc8041a8 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 152 12 UIKitCore 0x1dc65e57c _UIScenePerformActionsWithLifecycleActionMask + 104 13 UIKitCore 0x1dc789090 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216 14 UIKitCore 0x1dc8a8fe0 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 248 15 UIKitCore 0x1dcae7c58 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 772 16 UIKitCore 0x1dca731e0 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340 17 UIKitCore 0x1dc65f368 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 196 18 UIKitCore 0x1dc71f3c0 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 892 19 UIKitCore 0x1dc66126c _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 276 20 UIKitCore 0x1dc74b544 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 384 21 UIKitCore 0x1dcbd0240 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.615 + 776 22 UIKitCore 0x1dc68f64c -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 256 23 UIKitCore 0x1dc6d2fac -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 288 24 UIKitCore 0x1dc808fac -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 584 25 UIKitCore 0x1dc749808 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 388 26 FrontBoardServices 0x1ec2fb294 -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 440 27 FrontBoardServices 0x1ec321090 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.215 + 128 28 FrontBoardServices 0x1ec2dc308 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240 29 FrontBoardServices 0x1ec2dd958 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 372 30 libdispatch.dylib 0x1d9d33a30 _dispatch_client_callout + 20 31 libdispatch.dylib 0x1d9d374e0 _dispatch_block_invoke_direct + 264 32 FrontBoardServices 0x1ec2ddc70 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 48 33 FrontBoardServices 0x1ec2dd040 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 34 FrontBoardServices 0x1ec2e1700 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 35 CoreFoundation 0x1da0ee414 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28 36 CoreFoundation 0x1da0ff1a0 __CFRunLoopDoSource0 + 208 37 CoreFoundation 0x1da038694 __CFRunLoopDoSources0 + 268 38 CoreFoundation 0x1da03e05c __CFRunLoopRun + 828 39 CoreFoundation 0x1da051bc8 CFRunLoopRunSpecific + 600 40 GraphicsServices 0x1f61bc374 GSEventRunModal + 164 41 UIKitCore 0x1dc9c5b58 -[UIApplication _run] + 1100 42 UIKitCore 0x1dc747090 UIApplicationMain + 364 43 celsius 0x102ea63b8 main + 25528 (main.m:14) 44 dyld 0x1039d9da4 start + 520
2
0
386
Aug ’23
Assistance with back trace
Hi all. Could somebody help me interpret this backtrace from a highly frequent crash please? 0 libsystem_platform.dylib 0x61e4 _os_unfair_lock_recursive_abort + 36 1 libsystem_platform.dylib 0x101c _os_unfair_lock_lock_slow + 284 2 CoreFoundation 0xce36c CFSocketInvalidate + 132 3 CFNetwork 0x168144 _CFNetworkErrorGetLocalizedDescription + 314896 4 CoreFoundation 0x16da8 CFArrayApplyFunction + 72 5 CFNetwork 0x145468 _CFNetworkErrorGetLocalizedDescription + 172340 6 CoreFoundation 0x7cf34 _CFRelease + 284 7 CoreFoundation 0xce6a0 CFSocketInvalidate + 952 8 CFNetwork 0x151eb8 _CFNetworkErrorGetLocalizedDescription + 224132 9 CoreFoundation 0x43758 _CFStreamClose + 108 10 CocoaAsyncSocket 0xcad8 -[GCDAsyncSocket closeWithError:] + 200 11 CocoaAsyncSocket 0x10a04 -[GCDAsyncSocket doReadEOF] + 292 12 CocoaAsyncSocket 0xf3f0 __66-[GCDAsyncSocket setupReadAndWriteSourcesForNewlyConnectedSocket:]_block_invoke + 76 13 libdispatch.dylib 0x3eac _dispatch_client_callout + 20 14 libdispatch.dylib 0x7330 _dispatch_continuation_pop + 504 15 libdispatch.dylib 0x1a908 _dispatch_source_invoke + 1588 16 libdispatch.dylib 0xb40c _dispatch_lane_serial_drain + 372 17 libdispatch.dylib 0xc0a4 _dispatch_lane_invoke + 384 18 libdispatch.dylib 0x16cdc _dispatch_workloop_worker_thread + 648 19 libsystem_pthread.dylib 0xddc _pthread_wqthread + 288 20 libsystem_pthread.dylib 0xb7c start_wqthread + 8
10
0
985
Sep ’23
How to symbolicate macCatalyst X86-64 crash files on M1/2
Got some crashes in Xcode Organizer from a macCatalyst app and they are not symbolicated. The crashes are from an X86-64 machine, and my work machine is M1. When trying to symbolicate them in Organizer I get an error: "Unable to Symbolicate Crash - An error occurred attempting to symbolicate crash. Unable to locate dSYMs for ...". It makes sense, as I only run the app on M1, and maybe the X86-64 was not built on this machine. I then went to download the dSYM file from AppStoreConnect/TestFlight/Build Metadata, but there is no "Download dSYM" link, even though the app page says "Includes Symbols Yes". I then tried to compile the app for "AnyMac (Mac Catalyst, Apple Silicon, Intel)", and now I get a binary with two images, the arm64 and the x86, but the UUID of x86 image is different than the one from the crash file. How can I get the original dSYM to symbolicate crashes from production?
0
0
408
Aug ’23
Query encountered an error: SwiftData.SwiftDataError(_error: SwiftData.SwiftDataError._Error.unsupportedPredicate) swiftdata
I am working on a SwiftData app, and when I query any of the ones with the Predicate (NOT Predicate) I get Query encountered an error: SwiftData.SwiftDataError(_error: SwiftData.SwiftDataError._Error.unsupportedPredicate). The code for my file is below. import SwiftData import SwiftUI struct timeListView: View { @Environment(\.modelContext) var modelContext @Query(sort: \Time.date, order: .reverse) var times: [Time] @Query(filter: #Predicate<Time> { time in time.unfortime! < 6000 }, sort: \Time.date, order: .reverse) var timesSub60: [Time] @Query(filter: #Predicate<Time> { time in time.unfortime! < 3000 }, sort: \Time.date, order: .reverse) var timesSub30: [Time] @Query(filter: #Predicate<Time> { time in time.unfortime! < 2000 }, sort: \Time.date, order: .reverse) var timesSub20: [Time] @Query(filter: #Predicate<Time> { time in time.unfortime! < 1000 }, sort: \Time.date, order: .reverse) var timesSub10: [Time] @Query(filter: #Predicate<Time> { time in time.unfortime! < 500 }, sort: \.date, order: .reverse) var timesSub5: [Time] @Query(sort: \Time.date, order: .forward) var timesOldest: [Time] @Query(sort: \Time.unfortime, order: .forward) var timesBest: [Time] @Query(filter: #Predicate<Session> { session in session.selected == true }) var selectedSession: [Session] @State var forTime: String = "" @State var formattedTimes: [String] = [] @State var sort: [Time] = [] @Binding var showDate: Bool private var columns: [GridItem] { return [ .init(.adaptive(minimum: 85, maximum: 85)) ] } // format date and display var body: some View { NavigationStack { VStack { HStack { if showDate { showDateList() } else { noDateList() } } Spacer() } .toolbar { ToolbarItem { Menu { Section("Sort") { Button("Newest") { sort = times } Button("Best") { sort = timesBest } Button("Oldest") { sort = timesOldest } Button("Sub 60") { sort = timesSub60 } Button("Sub 30") { sort = timesSub30 } Button("Sub 20") { sort = timesSub20 } Button("Sub 10") { sort = timesSub10 } Button("Sub 5") { sort = timesSub5 } } } label: { Label("Menu", systemImage: "line.3.horizontal.decrease.circle") } .menuOrder(.fixed) } } .navigationTitle("Times") } } private func getDate(time: Time) { let date = time.date! let calendar = Calendar.current let hour = calendar.component(.hour, from: date) let minute = calendar.component(.minute, from: date) let second = calendar.component(.second, from: date) let timeToFormatComponents = DateComponents(calendar: calendar, year: calendar.component(.year, from: date), month: calendar.component(.month, from: date), day: calendar.component(.day, from: date), hour: hour, minute: minute, second: second) let timeToFormat = timeToFormatComponents.date! let formatter = DateFormatter() formatter.dateFormat = "M/dd/yy', 'h:mm a" forTime = formatter.string(from: timeToFormat) } @ViewBuilder func showDateList() -> some View { List { ForEach(sort) { time in if time.session == selectedSession[0] { NavigationLink(destination: timeDetailView(time: time)) { HStack { Text(time.time!) .onAppear { getDate(time: time) time.formatted = forTime } Spacer() Text(time.formatted!) }.swipeActions { Button("Delete", role: .destructive) { modelContext.delete(time) } } } .buttonStyle(.plain) } } } .onAppear { sort = times } } @ViewBuilder func noDateList() -> some View { LazyVGrid(columns: columns, spacing: 0) { ForEach(sort) { time in if time.session == selectedSession[0] { NavigationLink(destination: timeDetailView(time: time)) { TimeBoxView(time.time ?? "Not Found") .frame(minWidth: 100) .padding() .onAppear { getDate(time: time) time.formatted = forTime } } .buttonStyle(.plain) } } } .onAppear { sort = times } } } #Preview { timeListView(showDate: .constant(true)) .modelContainer( for: [Time.self]) } Any help appreciated.
0
0
676
Aug ’23
Dictionary objectForKey Crashing on Older Devices After Software Update
My apps were working fine and suddenly started crashing on older devices. I have iPhone 7 Plus to test and after updating it to 15.7.8, the installed apps which were working before started crashing. The specific code where they are crashing is if([testStats objectForKey:TEST_STATS_ARRAY]) { statArray = [testStats objectForKey:TEST_STATS_ARRAY]; } else { statArray = [[NSMutableArray alloc] init]; [testStats setValue:statArray forKey:TEST_STATS_ARRAY]; }
2
0
435
Aug ’23
Error when trying to run built RN app on physical device
Incident Identifier: ED46E3D9-8FEE-4F60-89C8-DBABECDC0A15 CrashReporter Key: f3a1a4a0d7c8eb77112f52e6dc1bdcbb56d53eab Hardware Model: iPhone12,8 Process: celsius [614] Path: /private/var/containers/Bundle/Application/05BF68D0-9F01-4D6D-8E85-C8A360934CEF/celsius.app/celsius Identifier: network.celsius.wallet Version: 5.3.0 (155) AppStoreTools: 13F17a Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: network.celsius.wallet [453] Date/Time: 2023-08-30 08:39:47.6470 +0200 Launch Time: 2023-08-30 08:39:47.5198 +0200 OS Version: iPhone OS 15.6 (19G71) Release Type: User Baseband Version: 3.04.01 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Application Specific Information: abort() called Last Exception Backtrace: 0 CoreFoundation 0x19e568288 __exceptionPreprocess + 220 1 libobjc.A.dylib 0x1b7297744 objc_exception_throw + 60 2 celsius 0x10274ca18 0x102508000 + 2378264 3 celsius 0x1025682b4 0x102508000 + 393908 4 celsius 0x10256779c 0x102508000 + 391068 5 celsius 0x10274edd8 0x102508000 + 2387416 6 celsius 0x10274e620 0x102508000 + 2385440 7 celsius 0x10250dff8 0x102508000 + 24568 8 UIKitCore 0x1a0c72a44 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 340 9 UIKitCore 0x1a0e59a78 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3572 10 UIKitCore 0x1a0e42678 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1180 11 UIKitCore 0x1a0ca01a8 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 152 12 UIKitCore 0x1a0afa57c _UIScenePerformActionsWithLifecycleActionMask + 104 13 UIKitCore 0x1a0c25090 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216 14 UIKitCore 0x1a0d44fe0 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 248 15 UIKitCore 0x1a0f83c58 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 772 16 UIKitCore 0x1a0f0f1e0 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340 17 UIKitCore 0x1a0afb368 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 196 18 UIKitCore 0x1a0bbb3c0 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 892 19 UIKitCore 0x1a0afd26c _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 276 20 UIKitCore 0x1a0be7544 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 384 21 UIKitCore 0x1a106c240 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.615 + 776 22 UIKitCore 0x1a0b2b64c -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 256 23 UIKitCore 0x1a0b6efac -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 288 24 UIKitCore 0x1a0ca4fac -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 584 25 UIKitCore 0x1a0be5808 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 388 26 FrontBoardServices 0x1b0797294 -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 440 27 FrontBoardServices 0x1b07bd090 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.215 + 128 28 FrontBoardServices 0x1b0778308 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240 29 FrontBoardServices 0x1b0779958 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 372 30 libdispatch.dylib 0x19e1cfa30 _dispatch_client_callout + 20 31 libdispatch.dylib 0x19e1d34e0 _dispatch_block_invoke_direct + 264 32 FrontBoardServices 0x1b0779c70 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48 33 FrontBoardServices 0x1b0779040 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 34 FrontBoardServices 0x1b077d700 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 35 CoreFoundation 0x19e58a414 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 36 CoreFoundation 0x19e59b1a0 __CFRunLoopDoSource0 + 208 37 CoreFoundation 0x19e4d4694 __CFRunLoopDoSources0 + 268 38 CoreFoundation 0x19e4da05c __CFRunLoopRun + 828 39 CoreFoundation 0x19e4edbc8 CFRunLoopRunSpecific + 600 40 GraphicsServices 0x1ba658374 GSEventRunModal + 164 41 UIKitCore 0x1a0e61b58 -[UIApplication _run] + 1100 42 UIKitCore 0x1a0be3090 UIApplicationMain + 364 43 celsius 0x10250e3b8 0x102508000 + 25528 44 dyld 0x103035da4 start + 520
2
0
398
Aug ’23
App crashes in review but works in Simulator
My app crashed for the second time in review but works in simulator. It crashes on launch in their case and I cannot understand why. Has anyone experienced this before? This is their response: We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue. Review device details: crashlog-4DBE4887-AA02-4574-A3C3-9A450D8673B1.txt crashlog-6DD96649-66A9-4935-8FD5-B046DA8E8D8A.txt Device type: iPhone OS version: iOS 16.6
3
0
451
Aug ’23
pthread_kill crash
I was reading that this crash is likely due to a incorrect variable assignment, does that align with this output? If so, how can I determine where/what variable is being assigned? Or where should I be looking instead? I've been unable to reproduce the crash so far. Thread 20 Crashed: 0 libsystem_kernel.dylib 0x00000001cc615578 __pthread_kill (libsystem_kernel.dylib) 1 libsystem_c.dylib 0x0000000195480178 abort (libsystem_c.dylib) 2 libswiftCore.dylib 0x00000001880a8b98 swift::fatalError(unsigned int, char const*, ...) (libswiftCore.dylib) 3 libswiftCore.dylib 0x00000001880a8bb8 swift::warningv(unsigned int, char const*, char*) (libswiftCore.dylib) 4 libswiftCore.dylib 0x000000018809eb80 swift::swift_dynamicCastFailure(swift::TargetMetadata&lt;swift::InProcess&gt; const*, swift::TargetMetadata&lt;swift::InProcess&gt; const*, char const*) (libswiftCore.dylib) 5 libswiftCore.dylib 0x000000018809ebfc swift::_conformsToProtocol(swift::OpaqueValue const*, swift::TargetMetadata&lt;swift::InProcess&gt; const*, swift::TargetProtocolDescriptorRef&lt;swift::InProcess&gt;, swift::TargetWitnessTable&lt;swift::InProcess&gt; const**) (libswiftCore.dylib) 6 libswiftCore.dylib 0x000000018809fd14 swift_dynamicCastClassUnconditionalImpl(void const*, swift::TargetClassMetadata&lt;swift::InProcess, swift::TargetAnyClassMetadataObjCInterop&lt;swift::InProcess&gt;&gt; const*, char const*, unsigned int, unsigned int) (libswiftCore.dylib)
7
0
883
Oct ’23