Startup crash about 13 seconds after starting even in safe mode @ nsCharTraits<T>::length via Corrupted global-messages-db.sqlite?
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
People
(Reporter: rtfrekola, Unassigned)
References
Details
(Keywords: crash)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0
Steps to reproduce:
I started Thunderbird (whether in normal or in safe mode, it still crashes every time).
What I did not do, is equally important. I did not change Thunderbird settings in any way. I did not change the linux settings in any way. Both my Ubuntu 20.04 LTS and Thunderbird (currently version 102.4.2) have been working well for a long time. I ran the operating system updates about a week before Thunderbird began crashing.
Note also that the very first time Thunderbird crashed, both the computer and Thunderbird had been on for quite some time (without issues), I had been writing an email for about half an hour and was adding recipients to the BCC field. After this Thunderbird has been crashing even if do nothing with it.
Since this crashing began, I wanted to be sure the problem was not with the hard disk. I had verified with SMART that the hard disk was HEALTHY and with badblocks that there were none on the disk.
Actual results:
Initially Thunderbird works normally. It loads all the new emails, handles automatic email relocation process for a set of emails, and even allows sending emails, if done very quickly. About 13 seconds after starting, Thunderbird window disappears and Mozilla Crash Reporter appears, stating "Thunderbird had a problem and crashed."
Expected results:
Thunderbird should run without crashing.
The latest Crash ID: bp-bca8ad6f-9d98-4042-82cf-722ed0221230
Comment 1•2 years ago
|
||
Are your other recent crashes nsCharTraits<T>::length ? If not, please post all your recent crash IDs.
Does deleting global-messages-db.sqlite from the Thunderbird profile directory help, as suggested in Bug 1174324?
Reporter | ||
Comment 2•2 years ago
|
||
Thank you Wayne for looking into this. Sorry for delay on my part - fighting a nasty cold.
I didn't see Bug 1174324 until after I had submitted my crash report. Then, it says "Thunderbird startup crash in OOM". My Thunderbird does not crash at startup, but a bit later. If OOM refers to out of memory, I don't even have any memory issues (at least my computer does not).
I tried the fix, though, and it helped. The size of global-messages-db.sqlite went down from 1.4 GB to 175 MB. Thunderbird is no longer crashing. Thank you!
Still regarding the other issue, I don't know where the "nsCharTraits<T>::length" came into my headline or even what it means. I do know every crash happened in the same way. Maybe I don't need to post all crash IDs now that the problem seems to have been solved.
Reporter | ||
Comment 3•2 years ago
|
||
I checked quite a few of these crashes over the past week and they all mentioned that "nsCharTraits<T>::length".
Comment 4•2 years ago
|
||
Thanks for the info.
Yes, OOM does refer to out of memory - typically the application ran out of memory. For Bug 1174324 some users experience OOM, but some do not.
nsCharTraits refers to the area of code involved.
bp-bca8ad6f-9d98-4042-82cf-722ed0221230
0 libc.so.6 __strlen_avx2
1 libxul.so nsCharTraits<char>::length(char const*) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/xpcom/string/nsCharTraits.h:423
1 libxul.so nsTSubstring<char>::Append(char const*, unsigned long, std::nothrow_t const&) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/xpcom/string/nsTSubstring.cpp:741
2 libxul.so nsTSubstring<char>::Append(char const*, unsigned long) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/xpcom/string/nsTSubstring.cpp:730
3 libxul.so nsMailtoUrl::ParseMailtoUrl(char*) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/comm/mailnews/compose/src/nsSmtpUrl.cpp:0
4 libxul.so nsMailtoUrl::ParseUrl() /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/comm/mailnews/compose/src/nsSmtpUrl.cpp:271
5 libxul.so nsMailtoUrl::SetSpecInternal(nsTSubstring<char> const&) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/comm/mailnews/compose/src/nsSmtpUrl.cpp:236
6 libxul.so BaseURIMutator<nsMailtoUrl>::InitFromSpec(nsTSubstring<char> const&) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/obj-x86_64-linux-gnu/dist/include/nsIURIMutator.h:86
6 libxul.so nsMailtoUrl::Mutator::SetSpec(nsTSubstring<char> const&, nsIURIMutator**) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/comm/mailnews/compose/src/nsSmtpUrl.h:65
7 libxul.so NS_MutateURI::SetSpec(nsTSubstring<char> const&) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/obj-x86_64-linux-gnu/dist/include/nsIURIMutator.h:460
7 libxul.so nsMailtoUrl::NewMailtoURI(nsTSubstring<char> const&, nsIURI*, nsIURI**) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/comm/mailnews/compose/src/nsSmtpUrl.cpp:570
8 libxul.so NS_NewMailnewsURI(nsIURI**, nsTSubstring<char> const&, char const*, nsIURI*) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/comm/mailnews/base/src/nsNewMailnewsURI.cpp:68
9 libxul.so NS_NewURI(nsIURI**, nsTSubstring<char> const&, char const*, nsIURI*) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/netwerk/base/nsNetUtil.cpp:1996
10 libxul.so NS_NewURI(nsIURI**, nsTSubstring<char> const&, mozilla::NotNull<mozilla::Encoding const*>, nsIURI*) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/netwerk/base/nsNetUtil.cpp:1718
11 libxul.so NS_NewURI(nsIURI**, nsTSubstring<char16_t> const&, mozilla::NotNull<mozilla::Encoding const*>, nsIURI*) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/netwerk/base/nsNetUtil.cpp:1738
12 libxul.so nsGenericHTMLElement::GetURIAttr(nsAtom*, nsAtom*, nsIURI**) const /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/dom/html/nsGenericHTMLElement.cpp:1587
13 libxul.so nsGenericHTMLElement::GetHrefURIForAnchors() const /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/dom/html/nsGenericHTMLElement.cpp:603
14 libxul.so mozilla::dom::Link::GetURI() const /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/dom/base/Link.cpp:147
14 libxul.so mozilla::dom::Link::LinkState() const /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/dom/base/Link.cpp:109
15 libxul.so
mozilla
::dom::Document::FlushPendingLinkUpdates()
/build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/dom/base/Document.cpp:13055
16 libxul.so mozilla::detail::RunnableMethodArguments<>::applyImpl<mozilla::dom::Document, void (mozilla::dom::Document::)(), , >(mozilla::dom::Document, void (mozilla::dom::Document::)(), mozilla::Tuple<>&, std::integer_sequence<unsigned long, ()...>) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/obj-x86_64-linux-gnu/dist/include/nsThreadUtils.h:1147
16 libxul.so mozilla::detail::RunnableMethodArguments<>::apply<mozilla::dom::Document, void (mozilla::dom::Document::)()>(mozilla::dom::Document*, void (mozilla::dom::Document::)()) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/obj-x86_64-linux-gnu/dist/include/nsThreadUtils.h:1153
16 libxul.so mozilla::detail::RunnableMethodImpl<mozilla::dom::Document, void (mozilla::dom::Document::*)(), true, (mozilla::RunnableKind)0, >::Run() /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/obj-x86_64-linux-gnu/dist/include/nsThreadUtils.h:1200
17 libxul.so IdleRunnableWrapper::Run() /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/xpcom/threads/nsThreadUtils.cpp:309
18 libxul.so mozilla::RunnableTask::Run() /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/xpcom/threads/TaskController.cpp:475
19 libxul.so mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/xpcom/threads/TaskController.cpp:788
20 libxul.so mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /build/thunderbird-rW5zyH/thunderbird-102.4.2+build2/xpcom/threads/TaskController.cpp:662
Comment 6•1 year ago
|
||
We can reopen this if you are still crashing
Description
•