Closed Bug 1630597 Opened 4 years ago Closed 2 years ago

Thunderbird Crash in [@ shutdownhang | RtlAcquireSRWLockExclusive | mozilla::detail::RunnableFunction<T>::Run] getting new messages after startup

Categories

(Thunderbird :: General, defect)

Desktop
Windows 10
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Robert_Hartmann, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: crash)

Crash Data

crash after click on restart TB-Button in updating process (TB nightly 77.0a1) while mails in IMAP-Folders are going to be synchronised

This bug is for crash report bp-81b6ecf4-c4c2-4f7e-a7dd-878390200414.

Top 10 frames of crashing thread:

0 ntdll.dll RtlAcquireSRWLockExclusive 
1 xul.dll mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:1785:54'>::Run xpcom/threads/nsThreadUtils.h:557
2 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1220
3 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:481
4 xul.dll nsThread::Shutdown xpcom/threads/nsThread.cpp:909
5 xul.dll mozilla::net::nsSocketTransportService::ShutdownThread netwerk/base/nsSocketTransportService2.cpp:791
6 xul.dll mozilla::net::nsIOService::SetOffline netwerk/base/nsIOService.cpp:1248
7 xul.dll mozilla::net::nsIOService::Observe netwerk/base/nsIOService.cpp:1532
8 xul.dll nsObserverList::NotifyObservers xpcom/ds/nsObserverList.cpp:65
9 xul.dll nsObserverService::NotifyObservers xpcom/ds/nsObserverService.cpp:292

significantly higher crash rate for 68.x compared to 60.x. #87 crash for 68.7.0

Component: Untriaged → General
Keywords: crash

#68 crash for 77.0b3. ESR crash rank still in the 80s (unchanged)

Robert, Have you seen the crash since when using a newer version?

Flags: needinfo?(Robert_Hartmann)

If you mean crashes while "press restart button in update process while mails are downloaded" : yes
If you mean exactly that stack trace: no

I noticed that mayby "beta" is waiting until all mails are downloaded before button is clickable.

Last update-related crashes are "Thunderbird 82.0a1 Crash Report [@ AsyncShutdownTimeout | profile-change-teardown | Extension shutdown: wetransfer@extensions.thunderbird.net ]" linked in bug report bug 1559448 comment 6 (https://bugzilla.mozilla.org/show_bug.cgi?id=1559448#c6)

Flags: needinfo?(Robert_Hartmann)
See Also: → 1559448
See Also: → 1669836

Crash rate dropped by half over the past two weeks - correlating to releasing 78.8.1? But still a topcrash.

Wonder if this is related to bug 1638638

See Also: → 1638638

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

Crash rate dropped by half over the past two weeks - correlating to releasing 78.8.1? But still a topcrash.

Apparently a 1 week down turn blip when that comment was made, because in the last four months in fact the crash rate increased 40%

may be related - may be not: Thunderbird 92 ; using Master password ; using PGP ; using IMAP ; using Calendar

bug 1726633 => Crash in [@ shutdownhang | mozilla::detail::MutexImpl::lock | nsThread::Shutdown | mozilla::dom::workerinternals::RuntimeService::ShutdownIdleThreads]

Crash report: https://crash-stats.mozilla.org/report/index/fb47cd56-b775-47e4-afa4-081210210819

MOZ_CRASH Reason: Shutdown hanging at step profile-change-net-teardown. Something is blocking the main-thread.

Top 10 frames of crashing thread:

0 ntdll.dll NtWaitForAlertByThreadId 
1 ntdll.dll RtlAcquireSRWLockExclusive 
2 mozglue.dll mozilla::detail::MutexImpl::lock mozglue/misc/Mutex_windows.cpp:22
3 xul.dll mozilla::ThreadEventQueue::HasPendingEvent xpcom/threads/ThreadEventQueue.cpp:177
4 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1059
5 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:466
6 xul.dll nsThread::Shutdown xpcom/threads/nsThread.cpp:840
7 xul.dll static mozilla::dom::workerinternals::RuntimeService::ShutdownIdleThreads dom/workers/RuntimeService.cpp:1446
8 xul.dll nsTimerImpl::Fire xpcom/threads/nsTimerImpl.cpp:618
9 xul.dll nsTimerEvent::Run xpcom/threads/TimerThread.cpp:248
Flags: needinfo?(Robert_Hartmann)

#7 crash for 91.2.1, #9 for 78.14.0 - so version 91 ranking is higher. And volume is 25% higher in the past month (500 per day)

Ranks fifth in list of shutdown crashes

bp-ffae8eb5-35a3-451c-ad93-340490211031 94 beta (has cardbook extension)
bp-01a6b63b-9438-496b-a770-8286f0211027 95.0a1 (has blur add-on)

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [tbshutcrash #5]

Robert are you still crashing in the last 3-4 weeks with beta? (not counting bug 1726633)
If yes, please post your crash IDs.

Flags: needinfo?(Robert_Hartmann)
Summary: Crash in [@ shutdownhang | RtlAcquireSRWLockExclusive | mozilla::detail::RunnableFunction<T>::Run] → Crash in [@ shutdownhang | RtlAcquireSRWLockExclusive | mozilla::detail::RunnableFunction<T>::Run] getting new messages after startup

This crashes are not from beta:
Thunderbird 91.4.1 Crash Report [@ GraphWalker<ScanBlackVisitor>::DoWalk ] bp-22942b04-1100-44cc-9754-bbe271220112
Thunderbird 91.4.1 Crash Report [@ XPCWrappedNativeScope::TraceWrappedNativesInAllScopes ] bp-ed8c4ae3-09a5-419e-8330-3a3f11220112

Flags: needinfo?(Robert_Hartmann)

Thanks for the update:

With some recent major patches, it will be far more interesting if you get any crashes when Thunderbird 98 beta comes out in a month.

Summary: Crash in [@ shutdownhang | RtlAcquireSRWLockExclusive | mozilla::detail::RunnableFunction<T>::Run] getting new messages after startup → Thunderbird Crash in [@ shutdownhang | RtlAcquireSRWLockExclusive | mozilla::detail::RunnableFunction<T>::Run] getting new messages after startup
See Also: → 1726633

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

Thanks for the update:

With some recent major patches, it will be far more interesting if you get any crashes when Thunderbird 98 beta comes out in a month.

#20 crash for beta 101, #7 crash for 91.9.1

See Also: → 1629669

(In reply to Robert Hartmann from comment #11)

This crashes are not from beta:
Thunderbird 91.4.1 Crash Report [@ GraphWalker<ScanBlackVisitor>::DoWalk ] bp-22942b04-1100-44cc-9754-bbe271220112
Thunderbird 91.4.1 Crash Report [@ XPCWrappedNativeScope::TraceWrappedNativesInAllScopes ] bp-ed8c4ae3-09a5-419e-8330-3a3f11220112

Are you still crashing with version 102? Or any other version?

This signature is extremely rare in version 102, so no longer a topcrash. Perhaps this continued in version 102 as bug 1749142
But then then entire shutdown crash space is now highly fragmented.

Depends on: 1749142
Flags: needinfo?(Robert_Hartmann)
Whiteboard: [tbshutcrash #5]

Also bug 1638638 is very rare for version 102.

I doubt these are still actionable, but if you are still crashing, please post an update.

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