Bug 261427 - REGRESSION(267780@main): [ Ventura+ wk1 ] media/track/track-in-band-mode.html is consistently crashing.
Summary: REGRESSION(267780@main): [ Ventura+ wk1 ] media/track/track-in-band-mode.html...
Status: RESOLVED DUPLICATE of bug 259485
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-11 13:51 PDT by Ben Schwartz
Modified: 2023-09-12 15:34 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Schwartz 2023-09-11 13:51:39 PDT
media/track/track-in-band-mode.html

This test (previously only a flaky failure on macOS and iOS with a regression at 140045@main) is now consistently failing on macOS wk1.

HISTORY:

https://results.webkit.org/?suite=layout-tests&test=media%2Ftrack%2Ftrack-in-band-mode.html&platform=mac&platform=ios

CRASH LOG (preview):

2023-09-08 05:03:38.572 DumpRenderTree[59858:22213158] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007ff80da3318a __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff80d55942b objc_exception_throw + 48
	2   CoreFoundation                      0x00007ff80db0d3ca -[__NSCFString characterAtIndex:].cold.1 + 0
	3   CoreFoundation                      0x00007ff80d9608ae -[__NSArrayM objectAtIndex:] + 142
	4   AVFCore                             0x00007ff82288b3d2 -[AVMediaSelectionOption _updateDisplayNameWithLocale:fallingBackToMatchingUndeterminedAndMultilingual:context:] + 96
	5   AVFCore                             0x00007ff82288b32a -[AVMediaSelectionOption _displayNameWithLocale:fallingBackToMatchingUndeterminedAndMultilingual:] + 42
...
)
libc++abi: terminating due to uncaught exception of type NSException

CRASH LOG URL:

https://build.webkit.org/results/Apple-Ventura-Debug-WK1-Tests/267782@main%20(3437)/media/track/track-in-band-mode-crash-log.txt

REPRODUCIBILITY:

I was able to reproduce this issue on macOS Ventura (13.5, 22G74/arm64) ToT on a constant basis by using the following command:

run-webkit-tests -1 --verbose --clobber-old-results --child-processes 1 media/track/track-in-band-duplicate-tracks-when-source-changes.html media/track/track-in-band-mode.html

REGRESSION:

Using contextual information (unable to perform a true bisection due to build failures), I'm inferring that the regression point is 267780@main (as the changes at this point seem directly related to the issue).

NOTE:

The test crash depends on media/track/track-in-band-duplicate-tracks-when-source-changes.html being run first.
Comment 1 Radar WebKit Bug Importer 2023-09-11 13:51:50 PDT
<rdar://problem/115311763>
Comment 2 Ben Schwartz 2023-09-11 14:06:34 PDT
Correction: crash is present on Ventura+ wk1.
Comment 3 EWS 2023-09-11 14:19:50 PDT
Test gardening commit 267879@main (b84c512b4417): <https://commits.webkit.org/267879@main>

Reviewed commits have been landed. Closing PR #17667 and removing active labels.
Comment 4 Ryan Haddad 2023-09-12 15:34:52 PDT
This looks like https://bugs.webkit.org/show_bug.cgi?id=259485

*** This bug has been marked as a duplicate of bug 259485 ***