Bug 1794360 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.

Crash report: https://crash-stats.mozilla.org/report/index/c0579800-80b0-42d3-a020-e181d0221009

Reason: ```EXCEPTION_ACCESS_VIOLATION_READ```

Top 10 frames of crashing thread:
```
0 xul.dll mozilla::dom::ImageBitmap::CreateFromCloneData dom/canvas/ImageBitmap.cpp:832
1 xul.dll mozilla::dom::StructuredCloneHolder::CustomReadTransferHandler dom/base/StructuredCloneHolder.cpp:1200
2 xul.dll mozilla::dom:: dom/base/StructuredCloneHolder.cpp:118
3 xul.dll ReadStructuredClone js/src/vm/StructuredClone.cpp:765
4 xul.dll JSAutoStructuredCloneBuffer::read js/src/vm/StructuredClone.cpp:3943
5 xul.dll mozilla::dom::StructuredCloneHolder::Read dom/base/StructuredCloneHolder.cpp:385
6 xul.dll mozilla::dom::MessageEventRunnable::DispatchDOMEvent dom/workers/MessageEventRunnable.cpp:74
7 xul.dll mozilla::dom::MessageEventRunnable::WorkerRun dom/workers/MessageEventRunnable.cpp:139
8 xul.dll mozilla::dom::WorkerRunnable::Run dom/workers/WorkerRunnable.cpp:377
9 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1199
```
This looks like the effect of an out-of-memory situation that we didn't properly address earlier in the code flow:
* We're accessing a NULL pointer
* All crashes have very low amounts of commit space left
It's likely that the allocation of an object failed at some point and returned NULL and then we crashed trying to access it.
Crash report: https://crash-stats.mozilla.org/report/index/c0579800-80b0-42d3-a020-e181d0221009

Reason: ```EXCEPTION_ACCESS_VIOLATION_READ```

Top 10 frames of crashing thread:
```
0 xul.dll mozilla::dom::ImageBitmap::CreateFromCloneData dom/canvas/ImageBitmap.cpp:832
1 xul.dll mozilla::dom::StructuredCloneHolder::CustomReadTransferHandler dom/base/StructuredCloneHolder.cpp:1200
2 xul.dll mozilla::dom:: dom/base/StructuredCloneHolder.cpp:118
3 xul.dll ReadStructuredClone js/src/vm/StructuredClone.cpp:765
4 xul.dll JSAutoStructuredCloneBuffer::read js/src/vm/StructuredClone.cpp:3943
5 xul.dll mozilla::dom::StructuredCloneHolder::Read dom/base/StructuredCloneHolder.cpp:385
6 xul.dll mozilla::dom::MessageEventRunnable::DispatchDOMEvent dom/workers/MessageEventRunnable.cpp:74
7 xul.dll mozilla::dom::MessageEventRunnable::WorkerRun dom/workers/MessageEventRunnable.cpp:139
8 xul.dll mozilla::dom::WorkerRunnable::Run dom/workers/WorkerRunnable.cpp:377
9 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1199
```
This looks like the effect of an out-of-memory situation that we didn't properly address earlier in the code flow:
* We're accessing a NULL pointer
* All crashes have very low amounts of commit space left

It's likely that the allocation of an object failed at some point and returned NULL and then we crashed trying to access it.

Back to Bug 1794360 Comment 0