Open Bug 1333342 Opened 4 years ago Updated 2 months ago
Crash [@ OOM | small ] during generating MSF file from many emails in Maildir format
. Memory leak . @ OOM | small
How to reproduce: 1. Generate a folder like below with Explorer C:\Users\<Windows user name>\AppData\Roaming\Thunderbird\Profiles\<Profile name>\Mail\Local Folders\foo\cur 2. Put many emails into the generated folder in Maildir format 3. Run Thunderbird 4. Select the folder to generate MSF file 5. Thunderbird crashed after several minutes Sometimes 1200 emails are OK, and at other time 1000 email are NG. So it depends on the condition. Crash reports: bp-ad27cdaa-770f-4806-b716-f54632170124 bp-c256ca32-4e45-441b-8a8f-78d072170124 bp-25dc17d4-da3b-4a04-ba4c-f781c2170124 bp-6b1067ad-c205-449d-8434-93eee2170124 bp-d8a14acd-51d4-4e21-a01c-93ca72170124
3 of the 4 are OOM | small. #3 Either there is a bad memory leak? (not closing files?) Or foul play. Please start *Windows'* safe mode with networking enabled - win7 https://support.microsoft.com/en-us/help/17419/windows-7-advanced-startup-options-safe-mode#start-computer-safe-mode=windows-7 Still In Windows safe mode, start thunderbird in safe mode - https://support.mozilla.org/kb/safe-mode-thunderbird Does problem go away?
I cannot change boot option because my machine using Thunderbird Nightly is not under my control for that setting. In case that folders "foo" and "bar" which have >1000 emails each (and MSF files are successfully generated), moving all emails from one folder to another is no problem.
You must have a very strong interest in maildir. You have several major extentions installed. At least please try starting Thunderbird in safe mode. Please also use the current nightly 54.0a1. Thanks Oh, and why are they making you run win7 in 32bit? That's pretty horrible.
(In reply to Wayne Mery (:wsmwk, NI for questions) from comment #3) > You have several major extentions installed. At least please try starting > Thunderbird in safe mode. Please also use the current nightly 54.0a1. Thanks I have tested Thunderbird in safe mode with the latest comm-central build. Build ID: 20170702030204 https://hg.mozilla.org/mozilla-central/rev/4d3de12dcdc539f14fcb06539da39fa7176c8955 And it is still reproduced. bp-b4e3f908-722c-4430-8786-9aec50170703 bp-76fee5df-b57c-48e4-8314-d13a80170703 bp-1703c2b3-f18b-4380-939d-4b5390170703 bp-9c0a1ef5-f3e0-4683-bd62-e97270170703 > Oh, and why are they making you run win7 in 32bit? That's pretty horrible. PCs assigned to me at the office is win7 in 32 bit. :-(
Crash reports other than OOM | small: bp-3e9d71fb-4d2b-4d28-a0cc-2e92f0170703 bp-266efbb6-9891-4f54-ab3c-3f7a40170703 bp-04deb6b1-8881-4ec3-93cb-a333d0170703 bp-0568b78c-d51b-4bbe-8dab-dd3e50170703 bp-b062f838-aa49-4240-b014-e0bc50170703 bp-d98a8c91-eb7a-469f-9ad7-61a750170703 bp-d435504e-09d4-4084-9a0f-ffe200170703 bp-98b531cd-6cdb-4d57-bb0c-d45800170703 bp-fe9148cc-686b-425c-9613-154e30170703 bp-76fee5df-b57c-48e4-8314-d13a80170703
Daniel is seeing this when viewing a folder bp-9acac2a3-6508-46fc-87e1-806c60170809 http://forums.mozillazine.org/viewtopic.php?f=39&t=3032305&sid=f3450df3e6ef57eea92a0c893ea7a4ed A different user "When repairing maildir folder with a lot of messages (about 30.000, overall size still below 4GB on HDD) Thunderbird has a memory leak resulting in near 2GB RAM usage before crash." bp-b86b3d45-4e54-4ce2-a456-dc46e0170801
Summary: Crash [@ OOM | small ] during generating MSF file from many emails in Maildir format. Memory leak? → Crash [@ OOM | small ] during generating MSF file from many emails in Maildir format. Memory leak.
> 2. Put many emails into the generated folder in Maildir format Note - I'm not sure this is expected to work. Most of the crashes are @ OOM | small but I'm not adding this to this bug report's crash signatures. As for the other signatures: Bug 1272230 4 crashes - Crash in CCGraphBuilder::BuildGraph - possible memory leak - no progress last 5 months and none likely in the near future Bug 1353702 2 crashes (possibly dependent on bug 1364543) - Crash in PtrToNodeMatchEntry (CompareCacheMatchEntry) and OOM | small during CC. memory leak? bp-b062f838-aa49-4240-b014-e0bc50170703 Bug 1353704 2 crashes - Crash in mozilla::mailnews::MsgDBReporter::GetPath - I doubt this will be actionable bp-d435504e-09d4-4084-9a0f-ffe200170703 Bug 1333038 1 crash - ref bug 1264302, bug 1284302 Crash in nsMsgLineStreamBuffer::ReadNextLine - probably not maildir related but should be actionable bp-fe9148cc-686b-425c-9613-154e30170703 RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U_WithStatus | GetFileAttributesW - 1 crash, no bug report bp-76fee5df-b57c-48e4-8314-d13a80170703
Summary: Crash [@ OOM | small ] during generating MSF file from many emails in Maildir format. Memory leak. → Crash [@ OOM | small ] during generating MSF file from many emails in Maildir format. Memory leak. @ OOM | small
Do you also see this problem if you use the beta from http://www.mozilla.org/thunderbird/channel/ ?
I checked the issue still occurred or not with Thunderbird 60.0a1 (20180219030201). And then I got OOM | small crash. b693e37d-9950-4a70-a4a0-33eb60180220
I checked with suggested beta build and the problem is still present. :(
I have the same problem - is there any way to repair/ build msf file without thunderbird crashing in the process??
(In reply to skrytka from comment #12) > I have the same problem - is there any way to repair/ build msf file without > thunderbird crashing in the process?? p.s. i have 32 GB ddr4 3200 RAM and maildir folder is on NVME SSD drive. I can't build msf file. I lost all of my emails
I have folder with mails (1 year, 70 000 mails) Now I copy 800-900 files to a temporary folder, repair the folder, transfer all the letters to the desired folder. If I have more than 1000 mails in folder - I got crash. But even if I have 900 mails sometimes I have situation than TB moves 800 mails, and remain still 100-120. They can not be migrated before the program is restarted. I'll continue copying for now, if I notice some other regularities then I'll write here.
Whiteboard: [maildirblocker?] → [closeme 2020-01-20][maildirblocker?]
Version: unspecified → 45
Whiteboard: [closeme 2020-01-20][maildirblocker?] → [maildirblocker?]
Flags: needinfo?(t.matsuu) → needinfo?(ishikawa)
You need to log in before you can comment on or make changes to this bug.