RESOLVED FIXED 224864
WebGL GPUP crashes when preparing for display due to off-thread WeakPtr access (IOSURFACE_SET_OWNERSHIP_IDENTITY)
https://bugs.webkit.org/show_bug.cgi?id=224864
Summary WebGL GPUP crashes when preparing for display due to off-thread WeakPtr acces...
Kimmo Kinnunen
Reported 2021-04-21 03:33:46 PDT
WebGL GPUP crashes when preparing for display due to off-thread WeakPtr access (IOSURFACE_SET_OWNERSHIP_IDENTITY)
Attachments
Patch (3.08 KB, patch)
2021-04-21 03:39 PDT, Kimmo Kinnunen
no flags
Kimmo Kinnunen
Comment 1 2021-04-21 03:39:08 PDT
Chris Dumez
Comment 2 2021-04-21 07:38:55 PDT
Comment on attachment 426666 [details] Patch r=me
EWS
Comment 3 2021-04-21 08:42:04 PDT
Committed r276363 (236841@main): <https://commits.webkit.org/236841@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 426666 [details].
Peng Liu
Comment 4 2021-04-21 09:59:18 PDT
Comment on attachment 426666 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=426666&action=review > Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp:50 > +#if HAVE(TASK_IDENTITY_TOKEN) Is the macro here correct? Do we need to use HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY)? or maybe both?
Chris Dumez
Comment 5 2021-04-21 10:08:10 PDT
Comment on attachment 426666 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=426666&action=review >> Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp:50 >> +#if HAVE(TASK_IDENTITY_TOKEN) > > Is the macro here correct? Do we need to use HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY)? or maybe both? Why?
Peng Liu
Comment 6 2021-04-21 10:13:53 PDT
Comment on attachment 426666 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=426666&action=review >>> Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp:50 >>> +#if HAVE(TASK_IDENTITY_TOKEN) >> >> Is the macro here correct? Do we need to use HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY)? or maybe both? > > Why? There will be a compiling error like "xxx is not used" if HAVE(TASK_IDENTITY_TOKEN) is true while HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY) is false.
Peng Liu
Comment 7 2021-04-21 12:06:34 PDT
Will be fixed in https://bugs.webkit.org/show_bug.cgi?id=224881.(In reply to Peng Liu from comment #6) > Comment on attachment 426666 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=426666&action=review > > >>> Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp:50 > >>> +#if HAVE(TASK_IDENTITY_TOKEN) > >> > >> Is the macro here correct? Do we need to use HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY)? or maybe both? > > > > Why? > > There will be a compiling error like "xxx is not used" if > HAVE(TASK_IDENTITY_TOKEN) is true while > HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY) is false. FYI. It will be fixed in https://bugs.webkit.org/show_bug.cgi?id=224881.
Radar WebKit Bug Importer
Comment 8 2021-04-22 18:25:45 PDT
Note You need to log in before you can comment on or make changes to this bug.