Closed Bug 1720397 Opened 3 years ago Closed 3 years ago

File -> Print crashes in [@ nsGlobalWindowOuter::Print]

Categories

(Thunderbird :: General, defect, P1)

Thunderbird 91
Unspecified
All

Tracking

(thunderbird91+ affected, thunderbird92 affected)

RESOLVED DUPLICATE of bug 1714639
Tracking Status
thunderbird91 + affected
thunderbird92 --- affected

People

(Reporter: clochrua, Unassigned)

References

Details

(Keywords: crash, topcrash-thunderbird)

Crash Data

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

Attempted to print an e-mail message
File -> Print

Actual results:

TB Crashes each time this is tried.

Expected results:

Display the print option.

You'll get a well constructed bug report from the crash reports like https://crash-stats.mozilla.org/report/index/1550c997-84c5-4b6d-87b1-e499b0210713 by clicking the bugzilla tab, and r+click the thunderbird link as follows

MOZ_CRASH Reason: MOZ_DIAGNOSTIC_ASSERT(cv)

Top 10 frames of crashing thread:

0 libxul.so nsGlobalWindowOuter::Print dom/base/nsGlobalWindowOuter.cpp:5331
1 libxul.so nsFrameLoader::PrintPreview dom/base/nsFrameLoader.cpp:3421
2 libxul.so mozilla::dom::FrameLoader_Binding::printPreview_promiseWrapper dom/bindings/FrameLoaderBinding.cpp:866
3 libxul.so bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ConvertExceptionsToPromises> dom/bindings/BindingUtils.cpp:3297
4 libxul.so js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:511
5 libxul.so Interpret js/src/vm/Interpreter.cpp:3226
6 libxul.so js::RunScript js/src/vm/Interpreter.cpp:395
7 libxul.so js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:543
8 libxul.so js::Call js/src/vm/Interpreter.cpp:588
9 libxul.so js::CallSelfHostedFunction js/src/vm/SelfHosting.cpp:1556

The first crash might be 90.0a1 buildid 20210506104219 bp-be798669-616a-49a7-a7ba-898b90210508 or 91.0a1 buildid 20210709103808 like bp-e4ddffa8-ab0c-4534-b7d6-784aa0210713

#1 crash for daily 91 and 92

Severity: -- → S2
Status: UNCONFIRMED → NEW
Crash Signature: [@ nsGlobalWindowOuter::Print]
Component: Untriaged → General
Ever confirmed: true
Flags: needinfo?(mkmelin+mozilla)
OS: Unspecified → All
Priority: -- → P1
Summary: TB 92.0a1 Daily - File -> Print crashes with Crash ID: bp-1550c997-84c5-4b6d-87b1-e499b0210713 → File -> Print crashes in [@ nsGlobalWindowOuter::Print]

clochrua, thanks for the report. Can you provide a sample message, using "Attach new file"? If not, does this happen for all messages, or just ones that have some characteristic, such as an attachment?

Flags: needinfo?(clochrua)

Wayne, just tried to print on the bugzilla e-mail from your comment 2 and same crash. Followed your advice, will "attach new file" in next comment and below is the stack trace:

Crash report: https://crash-stats.mozilla.org/report/index/5452574e-4841-4c82-8e9b-6d7bd0210714

MOZ_CRASH Reason: MOZ_DIAGNOSTIC_ASSERT(cv)

Top 10 frames of crashing thread:

0 libxul.so nsGlobalWindowOuter::Print dom/base/nsGlobalWindowOuter.cpp:5331
1 libxul.so nsFrameLoader::PrintPreview dom/base/nsFrameLoader.cpp:3421
2 libxul.so mozilla::dom::FrameLoader_Binding::printPreview_promiseWrapper dom/bindings/FrameLoaderBinding.cpp:866
3 libxul.so bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ConvertExceptionsToPromises> dom/bindings/BindingUtils.cpp:3297
4 libxul.so js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:511
5 libxul.so Interpret js/src/vm/Interpreter.cpp:3226
6 libxul.so js::RunScript js/src/vm/Interpreter.cpp:395
7 libxul.so js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:543
8 libxul.so js::Call js/src/vm/Interpreter.cpp:588
9 libxul.so js::CallSelfHostedFunction js/src/vm/SelfHosting.cpp:1556

Bill

Flags: needinfo?(clochrua)

When this started 5 days ago then it will be handled in bug 1714639. See also our port bug 1719625.

Hello,
re comment 4, I will enter my findings against bug 1714639
Bill

Depends on: 1714639

Probably dupe of bug 1714639.

Flags: needinfo?(mkmelin+mozilla)

This isn't showing up as a topcrash for 91 https://crash-stats.mozilla.org/topcrashers/?product=Thunderbird&version=91.0. In fact it doesn't show up at all - which can't be right

Version: Thunderbird 92 → Thunderbird 91

Print doesn't get very far in 91 - stuck in Preparing Preview. bug 1720713

I also have a crash in daily when trying to print one mail message. Gene Smith pointed me to this bug report. My dumps:
Submitted Crash Reports
Report ID Date Submitted
bp-8eaf0544-a5a6-4791-a353-bb17a0210714 7/14/2021, 8:36 AM
bp-e831f1f5-eafd-45b0-8aa7-301270210714 7/14/2021, 8:31 AM

After the first dump at 08:31, I duplicated the problem at 08:36. I normally do not print mail messages, and I have not tried to print any others.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.