Search Issue Tracker

Fixed

Fixed in 2022.3.47f1, 6000.0.20f1, 7000.0.0a7

Votes

0

Found in

2022.3.31f1

6000.0.4f1

7000.0.0a1

Issue ID

UUM-73043

Regression

Yes

[iOS] Crash on "libsystem_kernel.dylib`__pthread_kill" when playing multiple videos

--

-

How to reproduce
1. Open the attached Project "video_crash_sample.zip"
2. Build and Run the Scene "SampleScene" on an iOS device
3. Wait for ~10sec

Reproducible with: 2022.3.31f1, 6000.0.4f1
Not reproducible with: 2021.3.39f1

Reproduced on:
- iPhone 13 Pro (iOS 16.6.1)
- iPad 6th Gen (iOS 17.2)
Not reproducible with:
- iPhone 7 Plus (iOS 14.6) (Errors are thrown stating failure to decode due to busy decoder)
- iPhone 13 (iOS 15.0) (Errors are thrown stating failure to decode due to busy decoder)
- iPad Pro (9.7 inch, WiFi) (iOS 14.8) (Errors are thrown stating failure to decode due to busy decoder, however, the App was killed due to high memory usage)

First lines of the stack trace:
* thread #17, name = 'Job.Worker 3', stop reason = signal SIGABRT
* frame #0: 0x00000002002f5578 libsystem_kernel.dylib`__pthread_kill + 8
frame #1: 0x0000000221170118 libsystem_pthread.dylib`pthread_kill + 268
frame #2: 0x00000001c8860178 libsystem_c.dylib`abort + 180
frame #3: 0x00000002210aebf8 libc++abi.dylib`abort_message + 132
frame #4: 0x000000022109e444 libc++abi.dylib`demangling_terminate_handler() + 348

Notes:
- An Error is thrown as the crash occurs: "Uncaught exception: NSInvalidArgumentException: *** -[AVAssetReaderTrackOutput initWithTrack:outputSettings:] invalid parameter not satisfying: track != nil"

  1. Resolution Note (fix version 6000.0.20f1):

    Improved error management to handle better situations where more videos are played than is supported by the specific device. Now, the error is reported both in the log and also via the VideoPlayer.errorReceived event.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.