Closed Bug 1685084 Opened 5 years ago Closed 3 years ago

Crash in [@ shutdownhang | JS::Zone::clearKeptObjects] via CycleCollectedJSContext

Categories

(MailNews Core :: Networking: IMAP, defect)

Unspecified
All
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Robert_Hartmann, Unassigned)

References

Details

(Keywords: crash)

Crash Data

Windows 10 running TB for sync IMAP, has shown after a time of doing nothing the Windows login screen: After a while I decide to stopp TB, so I login to Windows again
and close TB-Mainwindow. I didn't had a look if IMAP operations were completed.
After some minutes TB crash notification shows

Crash report: https://crash-stats.mozilla.org/report/index/57266f3f-d647-465d-bf24-619210210105

MOZ_CRASH Reason: MOZ_CRASH(Shutdown hanging before starting.)

Top 10 frames of crashing thread:

0 xul.dll JS::Zone::clearKeptObjects js/src/gc/Zone.cpp:984
1 xul.dll JS::ClearKeptObjects js/src/jsapi.cpp:1406
2 xul.dll mozilla::CycleCollectedJSContext::AfterProcessMicrotasks xpcom/base/CycleCollectedJSContext.cpp:489
3 xul.dll mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint xpcom/base/CycleCollectedJSContext.cpp:583
4 xul.dll mozilla::CycleCollectedJSContext::BeforeProcessTask xpcom/base/CycleCollectedJSContext.cpp:443
5 xul.dll XPCJSContext::BeforeProcessTask js/xpconnect/src/XPCJSContext.cpp:1335
6 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1101
7 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:501
8 xul.dll nsThread::Shutdown xpcom/threads/nsThread.cpp:891
9 xul.dll mozilla::net::nsSocketTransportService::ShutdownThread netwerk/base/nsSocketTransportService2.cpp:792

On all releases of 78 except beta.

Odd that it doesn't show up on beta until 79 buildid 20200720112803 bp-1f1a5ef0-300d-4dee-9050-147a60200731

Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash
OS: Windows 10 → All
See Also: → 1669836

(In reply to Robert Hartmann from comment #0)

Windows 10 running TB for sync IMAP, has shown after a time of doing nothing the Windows login screen:

Are you saying it looks like a sync was in progress? Or only that you use imap?

Flags: needinfo?(Robert_Hartmann)

Well, I cannot remember any more ...
But from my description in this bug 1685084 comment 0
I could not remeber at time of reporting that bug, too.

I think a sync process could be active at crashing time - but maybe not.

But defenitiv a sync was in progress at time of windows show the login screen.

Flags: needinfo?(Robert_Hartmann)

Let's assume imap. 50% increase since mid-January

Component: General → Networking: IMAP
Product: Thunderbird → MailNews Core
Summary: Crash in [@ shutdownhang | JS::Zone::clearKeptObjects] → Crash in [@ shutdownhang | JS::Zone::clearKeptObjects] via CycleCollectedJSContext
Depends on: 1175168

Robert,
91.2.1 shipped on Oct 22.
Have you had any crashes when using 91.2.1? Or in the past two weeks with any version?
If so, which crash IDs?

Flags: needinfo?(Robert_Hartmann)
Depends on: 1742991

Robert?

(In reply to Wayne Mery (:wsmwk) from comment #5)

Robert,
91.2.1 shipped on Oct 22.
Have you had any crashes when using 91.2.1? Or in the past two weeks with any version?
If so, which crash IDs?

Hard to say for certain, but looks like version 91 crash rate was half that of version 78

Severity: -- → S4
Whiteboard: [closeme 2022-02-01]

This crashes are not from 91.2.1 but from two days ago:

  • Thunderbird 91.4.1 Crash Report [@ GraphWalker<ScanBlackVisitor>::DoWalk ] bp-22942b04-1100-44cc-9754-bbe271220112 suggests Bug 500105 - Crash @ GraphWalker
    0 xul.dll GraphWalker<ScanBlackVisitor>::DoWalk /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:1302
    1 xul.dll GraphWalker<ScanBlackVisitor>::Walk /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:1282
    2 xul.dll nsCycleCollector::ScanBlackNodes /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:2934
    3 xul.dll nsCycleCollector::ScanRoots /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:2962
    4 xul.dll nsCycleCollector::Collect /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3430
    5 xul.dll nsCycleCollector_collectSlice /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3923
    6 xul.dll nsJSContext::RunCycleCollectorSlice /builds/worker/checkouts/gecko/dom/base/nsJSEnvironment.cpp:1409
    7 xul.dll mozilla::CCGCScheduler::CCRunnerFired /builds/worker/checkouts/gecko/dom/base/nsJSEnvironment.cpp:1543
    8 xul.dll ?_Do_call@?$_Func_impl_no_alloc@P6A_NVTimeStamp@mozilla@@@Z_NV12@@std@@EAE_N$$QAVTimeStamp@mozilla@@@Z ?:
    9 xul.dll mozilla::IdleTaskRunner::Run /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:109

  • Thunderbird 91.4.1 Crash Report [@ XPCWrappedNativeScope::TraceWrappedNativesInAllScopes ] bp-ed8c4ae3-09a5-419e-8330-3a3f11220112
    0 xul.dll XPCWrappedNativeScope::TraceWrappedNativesInAllScopes /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeScope.cpp:252
    1 xul.dll XPCJSRuntime::TraceAdditionalNativeGrayRoots /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSRuntime.cpp:703
    2 xul.dll mozilla::CycleCollectedJSRuntime::TraceNativeGrayRoots /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSRuntime.cpp:1391
    3 xul.dll mozilla::CycleCollectedJSRuntime::TraceGrayJS /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSRuntime.cpp:981
    4 xul.dll js::gc::GCRuntime::bufferGrayRoots /builds/worker/checkouts/gecko/js/src/gc/RootMarking.cpp:542
    5 xul.dll AutoRunParallelTask::run /builds/worker/checkouts/gecko/js/src/gc/GC.cpp:4044
    6 xul.dll js::GCParallelTask::runTask /builds/worker/checkouts/gecko/js/src/gc/GCParallelTask.cpp:156

Flags: needinfo?(Robert_Hartmann)

We will want to know if you have any crashes on 91.5.1 or newer, i.e. if fixed by Bug 1742991 - crash nsXPCWrappedJS::AddRef

Whiteboard: [closeme 2022-02-01]

Add "request information from myself" just as a reminder, to write here if TB 91.5.1 or newer crashes in the next near time.

Flags: needinfo?(Robert_Hartmann)

(In reply to Robert Hartmann from comment #9)

Add "request information from myself" just as a reminder, to write here if TB 91.5.1 or newer crashes in the next near time.

no crash in the last 7 days.

Thanjs for the update

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(Robert_Hartmann)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.