Crash in shutdownhang | __psynch_cvwait | _pthread_cond_wait | pthread_cond_signal_thread_np | <name omitted> | nsXULWindow::ShowModal [Mac] (engimail/password/expunge enabled on shutdown))
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
People
(Reporter: wsmwk, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: crash, topcrash-thunderbird)
Crash Data
Attachments
(1 file)
23.91 KB,
image/png
|
Details |
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
Reporter | ||
Comment 4•7 years ago
|
||
Reporter | ||
Comment 5•6 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #4 April 2018)
#1 crash for Mac beta so definitely not gone.
Still #1 crash for Mac. So bug 1257058 was not a substantial help
Reporter | ||
Comment 6•6 years ago
|
||
Very strong decline Sept-Dec 2018. But then in mid-Jan a big spike which continues today, as seen in the graph https://crash-stats.mozilla.com/signature/?product=Thunderbird&signature=shutdownhang%20%7C%20__psynch_cvwait%20%7C%20_pthread_cond_wait%20%7C%20pthread_cond_signal_thread_np&date=%3E%3D2018-09-24T13%3A43%3A00.000Z&date=%3C2019-03-24T13%3A43%3A00.000Z#graphs
So what changed?
Reporter | ||
Comment 7•5 years ago
|
||
Still #1 crash and #11 overall for 60.8.0. Approx same for 68.0.
One person has reported imap expunge on shutdown as causing crashes.
Comment 9•5 years ago
|
||
Adding signature for macOS Catalina (10.15).
Comment 10•5 years ago
|
||
This bug might benefit from an analysis using a HookCase hook library (https://github.com/steven-michaud/HookCase).
Comment 11•5 years ago
|
||
These crashes seems to be happening more frequently on macOS Catalina than on earlier versions of macOS.
Comment 12•5 years ago
|
||
Note that these crashes also happen a lot in Firefox, so this bug isn't exclusively a Thunderbird problem.
Updated•5 years ago
|
Reporter | ||
Comment 13•5 years ago
|
||
Can you reproduce the crash using steps of bug 1257058 comment 0?
Comment 14•5 years ago
|
||
I haven't tested that STR. And given how complex the testcase is to set up, I won't be trying it anytime soon.
I did try the simplified STR from bug 1257058 comment 24, and had no hang, or any other problems.
Reporter | ||
Comment 15•5 years ago
|
||
Thanks Steven.
m_kato, are you able to see the crash comments of the past month for this bug and the signature for bug 1524247, and correlate this still happens for passwords? And if not, is there some other correlation?
Comment 16•5 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #15)
Thanks Steven.
m_kato, are you able to see the crash comments of the past month for this bug and the signature for bug 1524247, and correlate this still happens for passwords? And if not, is there some other correlation?
bp-ff6e7b2b-01a0-481d-8cb7-9f88d0191125 is waiting nsImapProtocol::AuthLogin(char const*, nsTString<char16_t> const&, unsigned long long)
. Sicne OAuth2ThreadHelper::GetXOAuth2String
, I guess that users uses Google's imap or calendar. But I don't know whether this issue is fixed.
So yes, this is waiting password.
Comment 17•5 years ago
|
||
Tried to reproduce with TB 72.0a1 (2019-11-29) (64-bit) on Linux.
Two IMAP accounts, one of them Gmail with Oauth2 authentication. No master password, no stored passwords.
Upon TB start, closed the Gmail Outh2 prompt, and hit Ok for the IMAP password prompt.
No crash upon TB shutdown.
Reporter | ||
Comment 18•5 years ago
|
||
The original signatures end abruptly ~December 3, and these begin:
- ~200 per day - shutdownhang | __psynch_cvwait | _pthread_cond_wait | pthread_cond_signal_thread_np | <name omitted> | nsThread::Shutdown | nsThreadManager::Shutdown
- ~50 per day - shutdownhang | __psynch_cvwait | _pthread_cond_wait | pthread_cond_signal_thread_np | <name omitted> | nsXULWindow::ShowModal
Comment 19•5 years ago
•
|
||
The original signatures end abruptly ~December 3, and these begin:
That's when pthread_cond_signal_thread_np got added to the prefix list.
Reporter | ||
Comment 21•5 years ago
|
||
Steven, thanks for pointing that out.
So we have new signatures (in order of frequency from the topcrash list of 68.4.1) :
- shutdownhang | __psynch_cvwait | _pthread_cond_wait | pthread_cond_signal_thread_np | <name omitted> | mozilla::detail::MutexImpl::unlock | nsThread::Shutdown | nsThreadManager::Shutdown
- shutdownhang | __psynch_cvwait | _pthread_cond_wait | pthread_cond_signal_thread_np | <name omitted> | DebugDump
- shutdownhang | __psynch_cvwait | _pthread_cond_wait | pthread_cond_signal_thread_np | <name omitted> | nsThread::Shutdown | nsTextFormatter::dosprintf::HEX
- shutdownhang | __psynch_cvwait | _pthread_cond_wait | pthread_cond_signal_thread_np | <name omitted> | js::jit::GetPropIRGenerator::tryAttachWindowProxy
- shutdownhang | __psynch_cvwait | _pthread_cond_wait | pthread_cond_signal_thread_np | <name omitted> | imp_removeBlock
- shutdownhang | __psynch_cvwait | _pthread_cond_wait | mozilla::detail::MutexImpl::unlock | pthread_cond_signal_thread_np | <name omitted> | mozilla::detail::MutexImpl::unlock | nsThread::Shutdown | nsThreadManager::Shutdown
Comment 22•4 years ago
|
||
Reporter | ||
Comment 23•4 years ago
|
||
Anje, do you still see this crash?
Unlike bug 1524247, this bug's signature does not exist for version 78.
shutdownhang | __psynch_cvwait | _pthread_cond_wait | pthread_cond_signal_thread_np | <name omitted> | nsThread::Shutdown | nsThreadManager::Shutdown
Comment 24•4 years ago
|
||
I did not experience that crash. It was a user in Support forum, but cannot locate that forum question. Not seen any recent evidence or report of it.
Reporter | ||
Updated•4 years ago
|
Description
•