Bug 1663131 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/4ad12d75-43fe-4cb6-876e-779e30200904

Top 10 frames of crashing thread:
```
0 xul.dll nsWrapperCache::GetWrapper const dom/base/nsWrapperCacheInlines.h:27
1 xul.dll mozilla::dom::PrintCallback::Call dom/bindings/HTMLCanvasElementBinding.cpp:48
2 xul.dll mozilla::dom::HTMLCanvasElement::CallPrintCallback dom/html/HTMLCanvasElement.cpp:502
3 xul.dll mozilla::detail::RunnableMethodImpl< xpcom/threads/nsThreadUtils.h:1240
4 xul.dll mozilla::SchedulerGroup::Runnable::Run xpcom/threads/SchedulerGroup.cpp:146
5 xul.dll mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal xpcom/threads/TaskController.cpp:512
6 xul.dll mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:83:7'>::Run xpcom/threads/nsThreadUtils.h:577
7 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1234
8 xul.dll mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:87
9 xul.dll MessageLoop::RunHandler ipc/chromium/src/base/message_loop.cc:327
```
Same steps as in Bug 1663129 but it seems that this time has generated a new signature.

Will get back and update this bug description as well.
Crash report: https://crash-stats.mozilla.org/report/index/4ad12d75-43fe-4cb6-876e-779e30200904

Top 10 frames of crashing thread:
```
0 xul.dll nsWrapperCache::GetWrapper const dom/base/nsWrapperCacheInlines.h:27
1 xul.dll mozilla::dom::PrintCallback::Call dom/bindings/HTMLCanvasElementBinding.cpp:48
2 xul.dll mozilla::dom::HTMLCanvasElement::CallPrintCallback dom/html/HTMLCanvasElement.cpp:502
3 xul.dll mozilla::detail::RunnableMethodImpl< xpcom/threads/nsThreadUtils.h:1240
4 xul.dll mozilla::SchedulerGroup::Runnable::Run xpcom/threads/SchedulerGroup.cpp:146
5 xul.dll mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal xpcom/threads/TaskController.cpp:512
6 xul.dll mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:83:7'>::Run xpcom/threads/nsThreadUtils.h:577
7 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1234
8 xul.dll mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:87
9 xul.dll MessageLoop::RunHandler ipc/chromium/src/base/message_loop.cc:327
```
**Affected versions**
* 82.0a1 (BuildId:20200903151816)
* 81.0b6 (BuildId:20200903205131) - This crash signature is not encountered in B6 but B6 crashes (with a different signature) as well with the same steps - See Bug 1663134

**Affected platforms**
* Windows 10 64bit
* Ubuntu 18.04 64bit
* macOS 10.14 

**Steps to reproduce**
* On my main profile it seems that simply clicking print leads to a tab crash:
1. Launch Firefox.
2. Access the following [link](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiqxvveoM_rAhWoThUIHXDBDfgQFjAAegQIBBAB&url=https%3A%2F%2Fhumanitas.ro%2Fassets%2Fpdf%2FGoethe_Faust.pdf&usg=AOvVaw0KHiwxFdWSrOdM2qgnQhwC)
3. Click the print button.

**Additional Steps**
* On new profiles, in order to reproduce this issue with ease you need to: 
1. Launch Firefox.
2. Access the following [link](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiqxvveoM_rAhWoThUIHXDBDfgQFjAAegQIBBAB&url=https%3A%2F%2Fhumanitas.ro%2Fassets%2Fpdf%2FGoethe_Faust.pdf&usg=AOvVaw0KHiwxFdWSrOdM2qgnQhwC)
3. Spam open an close (the print button) via esc keyboard

**Expected result**
* Firefox is stable.

**Actual result**
* Tab crash

**Regression Window**
* This is a regression.
* Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b74ab1682deaf69e9d0eac0fb9c29e7e7a5a7a0b&tochange=85e7a3055098f2f8f8d7abc59d7f0d6215e47984
* Possible Regressor: Bug 1662426

**Additional Information**
*  For further information regarding this issue please observe the attached screencast.
* On my main profile I’ve encountered the crash signature mentioned in 1663129 (same steps) only once
* [Suggested Severity] S1- I think that this is S1 :(

Back to Bug 1663131 Comment 0