Bug 260711 - [GStreamer] registerAppsinkWithWorkaroundsIfNeededCallOnce() should be callable from non-main threads
Summary: [GStreamer] registerAppsinkWithWorkaroundsIfNeededCallOnce() should be callab...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-25 06:47 PDT by Philippe Normand
Modified: 2023-09-01 07:26 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 Philippe Normand 2023-08-25 06:47:18 PDT
There is an ASSERT(isMainThread()) there but I see no motivation for this. Care to explain, Alicia?

This code might be triggered from worker threads in during WebCodecs initialization, that's why imported/w3c/web-platform-tests/webcodecs/video-decoder.crossOriginIsolated.https.any.worker.html crashes in Debug bots...
Comment 1 Philippe Normand 2023-08-25 07:09:31 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17069
Comment 2 EWS 2023-09-01 07:24:59 PDT
Committed 267550@main (c760465095dd): <https://commits.webkit.org/267550@main>

Reviewed commits have been landed. Closing PR #17069 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-09-01 07:26:14 PDT
<rdar://problem/114819848>