iOS 26 Empty Stack Crash

When we compile our app using Xcode 26 and run it on iOS 26, we encounter a strange crash where the crashing thread shows no stack trace. After inspecting the registers, we have initially traced it to the Google Mobile Ads SDK. When we disable the initialization of the Google Mobile Ads SDK, the app no longer crashes.

However, running the Google Mobile Ads SDK demo app on iOS 26 alone does not cause any issues; the crash only occurs once it is integrated into our app. We also tried enabling Address Sanitizer and Zombie Objects but found no valuable clues.

Could you advise what other methods or tools we can use to further diagnose this issue? Additionally, when we compile the app with Xcode 15 and run it on iOS 26, everything works fine without crashes.

Answered by xc4ll0c in 858962022

Our project uses an order file, and everything works normally after removing it. However, the order file doesn’t contain any GAD-related symbols, so I’m not sure why it would affect the GoogleMobileAds code.

Accepted Answer

Our project uses an order file, and everything works normally after removing it. However, the order file doesn’t contain any GAD-related symbols, so I’m not sure why it would affect the GoogleMobileAds code.

That’s quite a crash report you’ve got there (-:

The immediate cause of the crash is that you’ve jumped to 0. Moreover, the link register is also 0, which is part of the reason you’re not getting backtraces.

Thread 0 crashed with ARM Thread State (64-bit):
…
x28: 0xffffffff76ffffff   fp: 0xffffffff76ffffff   lr: 0x0000000000000000
 sp: 0x000000016dbde1a0   pc: 0x0000000000000000 cpsr: 0x60000000

It’s hard to say how you got there, and why the combination of an order file and that third-party SDK is triggering it.

Can you reproduce this when you run the app directly from Xcode?


Oh, and what’s the deal with ___bsapmmachomanager_register_image_block_invoke in thread 20?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

iOS 26 Empty Stack Crash
 
 
Q