iOS crash in plugin.unityads.v4 / LevelPlay – com.ironsrc.InterstitialEvents_queue

I have a reproducible native crash on iOS. I’ve now obtained the iOS .ips crash report from a user.

Device:

  • iPad Pro 12.9" 6th generation (iPad14,5 / M2 / 8GB)

  • iPadOS 26.6.1 (23G83)

The app uses plugin.unityads.v4 and AdMob. I do not directly use IronSource, although I understand plugin.unityads.v4 now uses the LevelPlay/IronSource backend.

The iOS crash report shows:

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Termination Reason: SIGNAL 11 Segmentation fault

The faulting thread/queue is:

com.ironsrc.InterstitialEvents_queue

The relevant stack is:

_CFArrayReplaceValues
CFArrayAppendValue
_flattenPlist
_flattenPlist
_flattenPlist
__CFBinaryPlistWriteOrPresize
CFPropertyListWrite
CFPropertyListCreateData
_CFPrefsEncodeValueIntoMessage
_CFPrefsEncodeKeyValuePairsIntoMessage
-[CFPrefsPlistSource sendMessageSettingValues:forKeys:count:]
...
-[CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:]
_CFPreferencesSetAppValueWithContainerAndConfiguration
-[NSUserDefaults(NSUserDefaults) setObject:forKey:]

The crash report also contains repeated:

mach_vm_allocate_kernel failed within call to vm_map_enter

The actual termination is SIGSEGV rather than jetsam. Has anyone else seen this with the current plugin.unityads.v4 / LevelPlay framework?

More importantly, is there a known issue in the currently bundled LevelPlay SDK involving InterstitialEvents_queue / NSUserDefaults, or an updated plugin/SDK available?

I have the complete .ips file and can provide it if useful.

@solar_dev just released an update with updated sdk and addresses memory leak behind crashes

This will automatically get bundled in when we do our build, correct? It will fetch the latest version of all plugins we use in build.settings? I’m also using plugin.unityads.v4

1 Like

Yes this is correct

1 Like