macOS Crash in [@ glrWriteTextureData]
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
People
(Reporter: aryx, Unassigned)
References
Details
(Keywords: crash)
Crash Data
The crash volume multiplied with the release of Firefox 137.0. Crashes are on macOS with 44% of crashes on 12.7.6 21H1320.
Crash report: https://crash-stats.mozilla.org/report/index/cc0c1fd2-9866-4810-86cf-89d810250408
Reason:
EXC_BAD_ACCESS / KERN_PROTECTION_FAILURE
Top 10 frames:
0 libsystem_platform.dylib _platform_memmove$VARIANT$Haswell
1 ? @0x00007000129b7c8f
2 AppleIntelBDWGraphicsGLDriver glrWriteTextureData
3 GLEngine glTexSubImage2D_Exec
4 GLEngine glTexSubImage2D_PackThread
5 libGL.dylib glTexSubImage2D
6 XUL mozilla::gl::GLContext::fTexSubImage2D(unsigned int, int, int, int, int, int,... gfx/gl/GLContext.h:1704
6 XUL mozilla::DoTexSubImage(mozilla::gl::GLContext*, StrongGLenum<TexImageTargetDe... dom/canvas/WebGLTextureUpload.cpp:656
7 XUL mozilla::webgl::DoTexOrSubImage(bool, mozilla::gl::GLContext*, StrongGLenum<T... dom/canvas/TexUnpackBlob.cpp:493
8 XUL mozilla::webgl::TexUnpackSurface::TexOrSubImage(bool, bool, mozilla::WebGLTex... dom/canvas/TexUnpackBlob.cpp:1137
| Reporter | ||
Comment 1•1 year ago
|
||
Kelsey, could you take a look?
Updated•11 months ago
|
Comment 3•11 months ago
|
||
(In reply to Steven Michaud [:smichaud] (Retired) from comment #2)
I bet this bug is related to bug 1963920.
I've confirmed this with my HookCase hook library for bug 1963920. Both bugs happen copying past the end of a Mozilla-created buffer, which is the source buffer for the memcpy() operations.
Comment 4•11 months ago
|
||
Typical crash stack:
Crashing Thread (29), Name: CanvasRenderer
Frame Module Signature Source Trust
0 libsystem_platform.dylib _platform_memmove$VARIANT$Haswell context
Ø 1 None @0x00007000035d2c2f cfi
2 AppleIntelKBLGraphicsGLDriver glrWriteTextureData frame_pointer
3 GLEngine glTexImage2D_Exec cfi
4 libGL.dylib glTexImage2D cfi
5 XUL mozilla::gl::GLContext::raw_fTexImage2D(unsigned int, int, int, int, int, int, unsigned int, unsigned int, void const*) gfx/gl/GLContext.h:1688 cfi
6 XUL mozilla::gl::GLContext::fTexImage2D(unsigned int, int, int, int, int, int, unsigned int, unsigned int, void const*) gfx/gl/GLContext.cpp:2417 cfi
7 XUL mozilla::DoTexImage(mozilla::gl::GLContext*, StrongGLenum<TexImageTargetDetails>, int, mozilla::webgl::DriverUnpackInfo const*, int, int, int, void const*) dom/canvas/WebGLTextureUpload.cpp:637 cfi
8 XUL mozilla::webgl::DoTexOrSubImage(bool, mozilla::gl::GLContext*, StrongGLenum<TexImageTargetDetails>, int, mozilla::webgl::DriverUnpackInfo const*, int, int, int, int, int, int, void const*) dom/canvas/TexUnpackBlob.cpp:496 cfi
9 XUL mozilla::webgl::TexUnpackSurface::TexOrSubImage(bool, bool, mozilla::WebGLTexture*, int, mozilla::webgl::DriverUnpackInfo const*, int, int, int, mozilla::webgl::PackingInfo const&, unsigned int*) const dom/canvas/TexUnpackBlob.cpp:1137 cfi
10 XUL mozilla::WebGLTexture::TexImage(unsigned int, unsigned int, mozilla::avec3<unsigned int> const&, mozilla::webgl::PackingInfo const&, mozilla::webgl::TexUnpackBlobDesc const&) dom/canvas/WebGLTextureUpload.cpp:1110 cfi
11 XUL mozilla::WebGLContext::TexImage(unsigned int, unsigned int, mozilla::avec3<unsigned int>, mozilla::webgl::PackingInfo const&, mozilla::webgl::TexUnpackBlobDesc const&) const dom/canvas/WebGLContextTextures.cpp:206 cfi
12 XUL mozilla::HostWebGLContext::TexImage(unsigned int, unsigned int, mozilla::avec3<unsigned int> const&, mozilla::webgl::PackingInfo const&, mozilla::webgl::TexUnpackBlobDesc const&) const dom/canvas/HostWebGLContext.h:579 inlined
12 XUL mozilla::dom::WebGLParent::RecvTexImage(unsigned int, unsigned int, mozilla::avec3<unsigned int> const&, mozilla::webgl::PackingInfo const&, mozilla::webgl::TexUnpackBlobDesc&&) dom/canvas/WebGLParent.cpp:108 cfi
13 XUL mozilla::dom::PWebGLParent::OnMessageReceived(IPC::Message const&) ipc/ipdl/PWebGLParent.cpp:471 cfi
14 XUL mozilla::gfx::PCanvasManagerParent::OnMessageReceived(IPC::Message const&) ipc/ipdl/PCanvasManagerParent.cpp:261 cfi
15 XUL mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) ipc/glue/MessageChannel.cpp:1789 inlined
15 XUL mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::UniquePtr<IPC::Message, mozilla::DefaultDelete<IPC::Message> >) ipc/glue/MessageChannel.cpp:1716 inlined
15 XUL mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) ipc/glue/MessageChannel.cpp:1507 inlined
15 XUL mozilla::ipc::MessageChannel::MessageTask::Run() ipc/glue/MessageChannel.cpp:1607 cfi
16 XUL nsThread::ProcessNextEvent(bool, bool*) xpcom/threads/nsThread.cpp:1153 inlined
16 XUL NS_ProcessNextEvent(nsIThread*, bool) xpcom/threads/nsThreadUtils.cpp:480 cfi
17 XUL mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) ipc/glue/MessagePump.cpp:299 cfi
18 XUL MessageLoop::RunInternal() ipc/chromium/src/base/message_loop.cc:369 inlined
18 XUL MessageLoop::RunHandler() ipc/chromium/src/base/message_loop.cc:362 inlined
18 XUL MessageLoop::Run() ipc/chromium/src/base/message_loop.cc:344 cfi
19 XUL nsThread::ThreadFunc(void*) xpcom/threads/nsThread.cpp:366 cfi
20 libnss3.dylib _pt_root nsprpub/pr/src/pthreads/ptthread.c:191 cfi
21 libsystem_pthread.dylib _pthread_start cfi
22 libsystem_pthread.dylib thread_start cfi
How to search for this bug's crashes:
Comment 5•11 months ago
|
||
The bug is linked to a topcrash signature, which matches the following criterion:
- Top 5 desktop browser crashes on Mac on release
For more information, please visit BugBot documentation.
Comment 6•10 months ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:ahale, since the bug has recent activity, could you have a look please?
For more information, please visit BugBot documentation.
Comment 7•10 months ago
|
||
Based on the topcrash criteria, the crash signature linked to this bug is not a topcrash signature anymore.
For more information, please visit BugBot documentation.
Comment 8•10 months ago
|
||
This bug should be fixed by bug 1966083.
Updated•9 months ago
|
Description
•