Help, WebView crash random in iOS 15.6 above

Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00000001df4c6f24 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x0000000218bec298 _pthread_cond_wait + 1236 (pthread_cond.c:636) 2 JavaScriptCore 0x00000001b2c3cc20 ***::ParkingLot::parkConditionallyImpl(void const*, ***::ScopedLambda<bool ()> const&, ***::ScopedLambda<void ()> const&, ***::TimeWithDynamicClockType const&) + 1844 (ThreadingPOSIX.cpp:622) 3 WebKit 0x00000001b682a220 bool ***::Condition::waitUntilUncheckedWTF::Lock(***::Lock&, ***::TimeWithDynamicClockType const&) + 196 (ParkingLot.h:82) 4 WebKit 0x00000001b69fe8e0 IPC::Connection::waitForMessage(IPC::MessageName, unsigned long long, IPC::Timeout, ***::OptionSetIPC::WaitForOption) + 520 (Condition.h:77) 5 WebKit 0x00000001b6ad0144 WebKit::RemoteLayerTreeDrawingAreaProxy::waitForDidUpdateActivityState(unsigned long long) + 172 (Connection.h:633) 6 WebKit 0x00000001b6c3074c WebKit::WebPageProxy::dispatchActivityStateChange() + 2108 (WebPageProxy.cpp:2379)

Well, that’s new. Your crash report includes this:

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: RUNNINGBOARD 0xd00d2bad 

RUNNINGBOARD refers to RunningBoard, aka runningboardd, a system process that manages assertions [1]. I’m using the word assertion in the same way as I use it in UIApplication Background Task Notes. The termination reason, 0xd00d2bad (“dude, too bad”) indicates that RunningBoard has decided your process is misbehaving and has deliberately killed it. The reason is not one of the ones we document in Understanding the exception types in a crash report and I’ve filed a bug to get that fixed (r. 101671015). However, it seems to indicate that RunningBoard killed the process because it’s using too many assertions.

I’m not sure if there’s anything you can do about this. Anyway, let’s start with a simple question: How frequently are you seeing this crash?

Share and Enjoy

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

[1] It’s also present on macOS, where it has a man page.

Help, WebView crash random in iOS 15.6 above
 
 
Q