Bug 1913311 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

crashes are found in https://treeherder.mozilla.org/logviewer?job_id=470390514&repo=try&lineNumber=1391 on the Windows platform. I suspect this happens on all kinds of platforms. Below is the crash stack.

```
[task 2024-08-14T15:44:45.170Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.170Z] 15:44:45     INFO - 16  xul.dll!nsThread::ThreadFunc(void*) [nsThread.cpp:2aa70dfdf82c75386a02320758a8203ff51c02e3 : 370 + 0x6]
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      eip = 0x64c49da0    esp = 0x150ffd00    ebp = 0x150ffdfc    ebx = 0x0000000a
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      esi = 0x150ffd18    edi = 0x1269c1b4
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO - 17  nss3.dll!_PR_NativeRunThread(void*) [pruthr.c:2aa70dfdf82c75386a02320758a8203ff51c02e3 : 399 + 0xe]
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      eip = 0x714db0c4    esp = 0x150ffe04    ebp = 0x150ffe20    ebx = 0x1269c1b0
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      esi = 0x0d757190    edi = 0x0d757240
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO - 18  nss3.dll!pr_root(void*) [w95thred.c:2aa70dfdf82c75386a02320758a8203ff51c02e3 : 139 + 0xe]
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      eip = 0x714ccfe6    esp = 0x150ffe28    ebp = 0x150ffe30    ebx = 0x74ec59a0
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      esi = 0x0d757190    edi = 0x04b9b548
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO - 19  ucrtbase.dll!thread_start<unsigned int (__stdcall*)(void *),1> + 0x42
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      eip = 0x74ec59e3    esp = 0x150ffe38    ebp = 0x150ffe68    ebx = 0x74ec59a0
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      esi = 0x714ccfd0    edi = 0x04b9b548
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO - 20  kernel32.dll!BaseThreadInitThunk + 0x18
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      eip = 0x75a57ba9    esp = 0x150ffe70    ebp = 0x150ffe78    ebx = 0x74ec59a0
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      esi = 0x714ccfd0    edi = 0x04b9b548
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO - 21  mozglue.dll!mozilla::interceptor::FuncHook<mozilla::interceptor::WindowsDllInterceptor<mozilla::interceptor::VMSharingPolicyShared>,void (*)(int, void *, void *) __attribute__((fastcall))>::operator()(int&, void*&, void*&) const [nsWindowsDllInterceptor.h:2aa70dfdf82c75386a02320758a8203ff51c02e3 : 150]
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -     Found by: inlining
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO - 22  mozglue.dll!patched_BaseThreadInitThunk(int, void*, void*) [WindowsDllBlocklist.cpp:2aa70dfdf82c75386a02320758a8203ff51c02e3 : 562 + 0x13]
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      eip = 0x718fe520    esp = 0x150ffe80    ebp = 0x150ffeac    ebx = 0x74ec59a0
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      esi = 0x714ccfd0    edi = 0x04b9b548
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO - 23  ntdll.dll!__RtlUserThreadStart + 0x2a
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      eip = 0x7728c10b    esp = 0x150ffeb4    ebp = 0x150fff04    ebx = 0x04b9b548
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      esi = 0x75a57b90    edi = 0x74ec59a0
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO - 24  ntdll.dll!_RtlUserThreadStart + 0x1a
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      eip = 0x7728c08f    esp = 0x150fff0c    ebp = 0x150fff14    ebx = 0x04b9b548
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      esi = 0x75a57b90    edi = 0x74ec59a0
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -     Found by: call frame info
```
The [`MOZ_ASSERT(mDecoder)`](https://searchfox.org/mozilla-central/rev/71aada9d4055e420f91f3d0fa107f0328763e40b/dom/media/webcodecs/DecoderAgent.cpp#244) crash was found in https://treeherder.mozilla.org/logviewer?job_id=470390514&repo=try&lineNumber=1391 on the Windows platform. I suspect this happens on all kinds of platforms. Below is the crash stack.

```
[task 2024-08-14T15:44:45.170Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.170Z] 15:44:45     INFO - 16  xul.dll!nsThread::ThreadFunc(void*) [nsThread.cpp:2aa70dfdf82c75386a02320758a8203ff51c02e3 : 370 + 0x6]
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      eip = 0x64c49da0    esp = 0x150ffd00    ebp = 0x150ffdfc    ebx = 0x0000000a
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      esi = 0x150ffd18    edi = 0x1269c1b4
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO - 17  nss3.dll!_PR_NativeRunThread(void*) [pruthr.c:2aa70dfdf82c75386a02320758a8203ff51c02e3 : 399 + 0xe]
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      eip = 0x714db0c4    esp = 0x150ffe04    ebp = 0x150ffe20    ebx = 0x1269c1b0
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      esi = 0x0d757190    edi = 0x0d757240
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO - 18  nss3.dll!pr_root(void*) [w95thred.c:2aa70dfdf82c75386a02320758a8203ff51c02e3 : 139 + 0xe]
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      eip = 0x714ccfe6    esp = 0x150ffe28    ebp = 0x150ffe30    ebx = 0x74ec59a0
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      esi = 0x0d757190    edi = 0x04b9b548
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO - 19  ucrtbase.dll!thread_start<unsigned int (__stdcall*)(void *),1> + 0x42
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      eip = 0x74ec59e3    esp = 0x150ffe38    ebp = 0x150ffe68    ebx = 0x74ec59a0
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      esi = 0x714ccfd0    edi = 0x04b9b548
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO - 20  kernel32.dll!BaseThreadInitThunk + 0x18
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      eip = 0x75a57ba9    esp = 0x150ffe70    ebp = 0x150ffe78    ebx = 0x74ec59a0
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -      esi = 0x714ccfd0    edi = 0x04b9b548
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.171Z] 15:44:45     INFO - 21  mozglue.dll!mozilla::interceptor::FuncHook<mozilla::interceptor::WindowsDllInterceptor<mozilla::interceptor::VMSharingPolicyShared>,void (*)(int, void *, void *) __attribute__((fastcall))>::operator()(int&, void*&, void*&) const [nsWindowsDllInterceptor.h:2aa70dfdf82c75386a02320758a8203ff51c02e3 : 150]
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -     Found by: inlining
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO - 22  mozglue.dll!patched_BaseThreadInitThunk(int, void*, void*) [WindowsDllBlocklist.cpp:2aa70dfdf82c75386a02320758a8203ff51c02e3 : 562 + 0x13]
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      eip = 0x718fe520    esp = 0x150ffe80    ebp = 0x150ffeac    ebx = 0x74ec59a0
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      esi = 0x714ccfd0    edi = 0x04b9b548
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO - 23  ntdll.dll!__RtlUserThreadStart + 0x2a
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      eip = 0x7728c10b    esp = 0x150ffeb4    ebp = 0x150fff04    ebx = 0x04b9b548
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      esi = 0x75a57b90    edi = 0x74ec59a0
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -     Found by: call frame info
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO - 24  ntdll.dll!_RtlUserThreadStart + 0x1a
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      eip = 0x7728c08f    esp = 0x150fff0c    ebp = 0x150fff14    ebx = 0x04b9b548
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -      esi = 0x75a57b90    edi = 0x74ec59a0
[task 2024-08-14T15:44:45.172Z] 15:44:45     INFO -     Found by: call frame info
```

Back to Bug 1913311 Comment 0