Continuous crashes after/during startup @ strlen | nsTSubstring<T>::Append after the last two updates -> corrupt new profile?
I am using a new freshly installed Win10. Since copying the profile from my work PC was not an option, I decided to just set up all my mailboxes from scratch. The first day, everything was fine, but starting from the next day thunderbird started crashing all the time. It will load, partially check the emails and then crash.
I waited for the latest update - didn't fix it. I removed the old profile, installed and set everything up again - and got the very same behavior. My thunderbird doesn't last even 30 sec working.
There are no addons or dictionaries. It's totally clean. There are only 3 mailboxes with a lot of emails in them. Please, advise how to fix it.
Thanks in advance!
Zmodyfikowany przez Wayne Mery w dniu
Wszystkie odpowiedzi (12)
Could you add the crash id/number here? https://support.mozilla.org/en-US/kb/thunderbird-crashes
Zmodyfikowany przez svlad2009 w dniu
Report ID Submitted bp-be6ddf9c-be08-49ab-bdcd-ae4030200920 1 minute ago bp-05a6b0a6-de7c-4de6-b448-d30420200920 1 minute ago bp-f28da5f1-095f-4ebf-96b8-8a82d0200920 4 hours ago bp-fbf6f46c-4b45-4f6b-8ff5-729210200920 5 hours ago bp-e5a0e1f5-40ce-40e9-8b3d-41e4b0200920 5 hours ago bp-807c1e38-b89a-41be-bd4d-5f9ae0200920 5 hours ago bp-882847ca-1627-4957-adf0-d279a0200920 5 hours ago
I was trying to attach a screenshot of the latest crash report, but it looks like it's too heavy.
Reporter, Are you working with attachments?
@tritanster: try to change mail.imap.use_envelope_cmd (from prefs.js file) to false (from true). Would this stop the crashes? Also, please reply to Wayne and also try to mention as many details as possible ref those accounts and the "actions" that you think TB is supposed to do right before to crash
@Wayne Mery: Some of the emails do contain attachments. However, this did not cause any problems just a few months ago on Win 7 and earlier versions of Thunderbird. Unfortunately, that PC is not available to me at the moment. Mind that I still see the new emails downloaded, it's just that I don't have time to read them because the application crashes. I'm suspecting that the old emails were already downloaded, before it started crashing. The crashes started after a reboot (second time) and after hibernation (first time). The first time, all the emails were downloaded for sure and at least one account was compacted.
The first time, the crashes started with me trying to add an extra dictionary. The application crashed in the process and never recovered.
But the second time I did not add anything. Uninstalled everything, removed the profiles... and still the same.
@FfTh202009 There's no such line in that file in my profile. I tried adding user_pref("mail.imap.use_envelope_cmd", false); in the general preference section (i.e. after the mail.identity...) and the line was overwritten and removed after the application crashed again.
I also tried setting the check_new_mail to false to see if it's because of downloads. But that didn't change.
I have no idea, what action other than is the problem. The Mery made a good point about the possible weight.
I'm using 2 gmail accounts and one outlook web-server.
I'm going to put aside the old profile and start a new one with just one account and see what happens. _________ Many thanks to both of you!
You will not find mail.imap.use_envelope_cmd in prefs.js You will need to use "config editor" (open preferences and type in config editor). Right click in the list of settings and do New + boolean.
Oh, thanks. I didn't know that.
Now I did a clean reinstall of the latest TB version (the profile it crashed with was generated using the previous version and kept crashing after an update) and am gradually introducing the new accounts one by one (i.e. adding the new one only if the previous is fully downloaded). This is to test if it's really crashing from all the downloads if I set up several accounts simultaneously.
For now, I did one gmail account and TB is not jet crashing for now. I started a second gmail now.
What I noticed is that, due to several gmail updates that I did not pay attention to, a number of labels and folders got exposed over IMAP and TB was downloading a lot of duplicated data. For instance, in folders Inbox and All mail. And labels were duplicating another part of emails present in both of these folders.
So after downloading all of this, my profile weighted 9Gb just for 1 account. Previous profile with all 3 accounts weighed 23Gb apparently. Which is ridiculous.
To fix this, I removed all unnecessary folder exposure over IMAP. The first gmail account is now reduced to under 3Gb.
@Wayne Mery: Thanks for pointing out the possible weight issues! If not fixing the problem, it will at least save some disk space.
I'll see if I have any of these issues with the Outlook server. So far I did not have crashes, I'll report back when I have all the accounts downloaded.
I patch is in progress at https://bugzilla.mozilla.org/show_bug.cgi?id=1625685 Whether that would fix your issue(s) remains to be seen. Do you still have the original profile?
Yes, I copied the crashing profile just in case.
And my fresh TB is crashing again. I started downloading the Outlook mailbox and there's like 10 years of emails, which was not a problem before, but apparently now is.
It didn't crash until some time into the download. Not sure what's happening there. I was trying the fix suggested above, but I was not fast enough to use config editor - the application crashed faster(
So I went to the profile and relocated the corresponding IMAP folder then started the TB again. That fixed the issue. I've set up the mail.imap.use_envelope_cmd boolean as instructed. And TB is now downloading everything from the beginning. I also noticed that my antivirus ESET Internet Security is complaining about some attachments. But so it's for now.
I'll report on the results.
Fresh crashes if you need them: bp-17da6d5b-efb4-4bb9-abc0-540050200921 1 minute ago bp-cb324501-5947-442b-b561-7dad70200921 2 minutes ago bp-3b2cc222-3bab-431f-b1c2-c18000200921 4 minutes ago bp-dbaca056-6f0e-46a0-824c-b672a0200921 5 minutes ago bp-af03d3bc-4efd-4317-9f4a-4342a0200921 5 minutes ago bp-d2eeb9df-d675-499e-86aa-a49060200921 6 minutes ago bp-5bb6cd37-e211-4c0c-8cb9-59dc90200921
Alright, I more or less localized the issue. It's a folder "_Import" that contained an archive of all emails older than 5 years.
According to the status bar, it contained smth like 9k emails + an extra folder with emails sent. When I initiated it's download the TB crashed after some time. So I assume that the mail.imap.use_envelope_cmd did not help.
On the restart, the status bar suddenly showed that TB is re-downloading the Inbox folder that was fully synced before with a corresponding message "up to date".
Here are the related crashes: bp-76af25b8-d8bc-4468-8243-22f680200921 bp-f6b308c0-b6d4-4450-b564-ee2fa0200921 bp-f4bb9fff-10fb-4093-9985-7577a0200921
I checked the IMAP folder in my profile and saw that files related to _Import folder look strange. Unlike other folders which had 2 associated files, this one had 4: _Import-1 _Import-1.msf _Import-1.sbd _Import.msf This "-1" suffix is not present in any other folder name.
In the older profiles, -1 was present in Sent and Drafts. And _Import is the only folder with and .sbd file for it. I'll test tomorrow if the problem is in the nested folder. Then if not, I'll check if it's the folder name with the special character.
When I removed the corresponding files from IMAP folder, restarted TB, and immediately unsubscribed from this folder, the crashes stopped. But TB really re-downloaded the Inbox folder with 19k of emails and did not crash.
____
My post from earlier is stuck waiting for Mod. The answer to your question is: yes, I have the old profile saved.
Zmodyfikowany przez tritanster w dniu
Thanks for investigating. Anything useful you can post to the bug report will be extremely helpful. And testcase data will be ideal.
Here are what my experiments seem to suggest (I'm not 100% sure that the status bar is showing all the messages timely, I'll comment on it later).
Subscribing to a folder with a nested folder that is not subscribed does not seem to trigger the creation of a folder or download. Is it supposed to be like that?
Subscribing to both - does. Subscribing to the same _Import folder when the nested folder is removed - triggers both creation and download.
There is nothing wrong with the previously nested folder, but TB crashed again while/after downloading the single _Import folder. I removed associated with _Import files - crashes stopped.
Renamed _Import -> Import, TB is crashing again, although the emails seem to be downloaded. Here are the latest crashes' IDs:
bp-9e1594df-bbbb-4d89-a285-0cf830200922 bp-16fa9ee1-fbc2-4342-8c02-2459e0200922 bp-c92d72d2-f680-41a3-86a5-a01ec0200922 bp-ca214cd3-7c33-4697-8c13-8aa1d0200922 bp-43a29de8-24af-44d4-aff2-d97d10200922
Mind that the fix suggested above is still on and my antivirus is complaining about several files there (supposedly it removes it, not so sure about it). Antivirus does not provide the name of the file or topic of the email to see what's up there.
I switched off the email check in my antivirus and downloaded the folder again -> TB crashed. bp-e9e6288f-b834-4a8c-879f-ae5aa0200922 bp-f42fe6c2-75e6-47c6-b5e7-3c2e70200922
I'm up for testing further. It's just I don't know what to test now.
Unfortunately, I don't think I can provide you with folder files at the moment, due to the privacy policy of my employer. I'll have to ask about it.