JavaScriptCore bmalloc::VMHeap::grow() Crash

Originator:roland.huhn
Number:rdar://27129179 Date Originated:01.07.2016
Status:Unresolved Resolved:
Product:iOS Product Version:iOS 9+
Classification:Crash Reproducible:Hard
 
Summary:
We have a high traffic app with a lot of html content and ads. The app gets into low memory issues where this crash is likely to happen.

Steps to Reproduce:
Hard to reproduce also on our side, but our 100k userbase is experiencing it a lot, especially on older devices.

Expected Results:
Should not crash. We are freeing up memory when we receive memory warnings, but we sometimes don't get memory warnings.
Webkit or the underlying OS should be able to free up memory for heap.

Actual Results:
The app crashes with this stacktrace:

Crashed: WebThread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000bbadbeef
 Raw Text
0	JavaScriptCore	
bmalloc::VMHeap::grow() + 115
1
libsystem_kernel.dylib	
mmap + 74
41
libsystem_pthread.dylib	
thread_start + 8

Version:
iOS 9+

Notes:


Configuration:
Any device with iOS 9+

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!