Gloda loops high CPU. Error console gloda.index_msg WARN "Observed header that claims to be gloda indexed but that gloda has never heard of during compaction". Activity mgr: "Determining which messages to index". Repair moves issue to a different folder.
Categories
(MailNews Core :: Database, defect)
Tracking
(thunderbird_esr6069+ fixed, thunderbird68 fixed, thunderbird69 fixed, thunderbird70 fixed)
People
(Reporter: merike, Assigned: jorgk-bmo)
References
(Regression)
Details
(Keywords: perf, regression, regressionwindow-wanted, Whiteboard: [regression:TB54?/TB55?])
Attachments
(4 files, 2 obsolete files)
(deleted),
text/plain
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
jorgk-bmo
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•8 years ago
|
||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Reporter | ||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Reporter | ||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Comment 26•7 years ago
|
||
Updated•7 years ago
|
Comment 27•7 years ago
|
||
Reporter | ||
Comment 29•7 years ago
|
||
Comment 30•7 years ago
|
||
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
Comment 33•7 years ago
|
||
Comment 34•7 years ago
|
||
Comment 35•7 years ago
|
||
Comment 37•6 years ago
|
||
Comment 39•6 years ago
|
||
Comment 40•6 years ago
|
||
Comment 41•6 years ago
|
||
Comment 42•6 years ago
|
||
Comment 43•6 years ago
|
||
Comment 44•6 years ago
|
||
Comment 45•6 years ago
|
||
Comment 46•6 years ago
|
||
Comment 47•6 years ago
|
||
Comment 48•6 years ago
|
||
Comment 49•6 years ago
|
||
Comment 50•6 years ago
|
||
workaround |
Comment 51•6 years ago
|
||
Comment 52•6 years ago
|
||
Comment 53•6 years ago
|
||
Comment 54•6 years ago
|
||
Comment 55•6 years ago
|
||
Comment 56•6 years ago
|
||
Reporter | ||
Comment 57•6 years ago
|
||
Comment 58•6 years ago
|
||
Comment 59•6 years ago
|
||
Comment 60•6 years ago
|
||
Comment 61•6 years ago
|
||
Comment 62•6 years ago
|
||
Reporter | ||
Comment 63•6 years ago
|
||
Comment 64•6 years ago
|
||
Comment 65•6 years ago
|
||
Updated•6 years ago
|
Comment 67•6 years ago
|
||
Comment 68•6 years ago
|
||
Comment 69•6 years ago
|
||
Comment 70•6 years ago
|
||
Comment 71•6 years ago
|
||
Comment 72•6 years ago
|
||
Updated•6 years ago
|
Comment 73•6 years ago
|
||
Comment 74•6 years ago
|
||
Comment 75•6 years ago
|
||
Comment 77•6 years ago
|
||
I'm seeing these issues as well. Using version 60.4.0. Error rate in the console is one line per second, for the same mail.
Likely cause in my case is a plugin called Awesome Auto Archive (in fact, I came accross this issue while trying to troubleshoot why the plugin stopped archiving my mails months ago).
Apart from using Thunderbirds "archive" function, I am also using the plugin to move mail from my server's draft and sentmail folders to my local account. The fact that I'm getting those Gloda errors for those two local folders only is hardly a coincidence.
(So this basically is a +1 for comment 10, that this issue can be triggered by using alternative means to move mails between folders.)
Comment 78•6 years ago
|
||
I have not seen any Gloda errors in 65.0b3 (20190121) since installation (keeping the error console open 100%). Same for 65.0b2. I do see the issue 711204 (While viewing mail from list ...). Since I don't see ANY Gloda error (much less the infinite repeats), it would appear that the problem is fixed (not just the symptom). If the fix then re-exposed 711204, that's ok.
Later today, I'll try to get the build for 65.0b3 into mozregression and beat on it a while. If it breaks, I'll post.
Comment 79•6 years ago
|
||
I'm still stuck with this issue in 65.0b3. Now eating between 70% of the CPU for hours without ever stopping
Comment 80•6 years ago
|
||
Saw this issue in 65.0b4 "in the wild" this morning. Ran regression against several 2019-01 builds and was able to fail at least 2 (2019-01-25, 2019-01-28). Have to be careful to reset error filter. Apparently, if the Gloda errors are filtered out, they do not affect PC performance as much, giving the false impression that there are no errors.
Comment 81•6 years ago
|
||
Saw this again this morning on 66.0b1, with a permanent 70% CPU.
Interestingly, the first line in the Activity window just shows: null
Comment 82•6 years ago
|
||
Still the same in 67.0b
Comment 83•6 years ago
|
||
Agree. Seems to happen more often now. Happened a few minutes ago while auto-compressing at "wake up."
Comment 84•6 years ago
|
||
Combination of the Gloda problem higher frequency and the new "wakeup" delay is making 67.0b1 unusable.
Comment 85•6 years ago
|
||
No need to regression test 67.0b2. It goes into Gloda spin spontaneously and often. Repair folder sometimes stops it for a while.
Comment 86•6 years ago
|
||
Aceman, I think testing a try build with a backout of bug 1337872 might be useful. Can you produce with for us?
doug does not reproduce using 2017-02-11 build per comment 47, and also mgoldey from bug 1406653. Which implies bug 1337872 may be at fault
Assignee | ||
Comment 87•6 years ago
|
||
Hmm, so according to comment #47, 2017-02-11 didn't fail, but 2017-02-12 did?
So https://hg.mozilla.org/comm-central/pushloghtml?startdate=2017-02-11&enddate=2017-02-13
Well, I wonder if we can back out https://hg.mozilla.org/comm-central/rev/0186ecd2dfab4e5754de6f88ddd988f4bff990dc from bug 1337872, or whether we re-introduce a feature M-C has removed since and the whole thing will fall apart.
We should look into where the errors from comment #69 and bug 1406653 comment #13 come from.
Comment 88•6 years ago
|
||
67.0b3 no change. The new "feature" cleanup process that runs at wake-up is just about guaranteed to set off the Gloda loop.
Comment 89•6 years ago
|
||
Alta88, you are poking in gloda these days, may you know what this error is talking about?
Comment 90•6 years ago
|
||
I'm using TB 60.6.1 on a Win 10 box. Was responding today to request from Aceman regarding bug 1305207. In testing for that bug I experienced the gloda bug described above. I got the infinite loop going with this msg:
gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://pooder@mail.../Inbox sketchy key: 93867544 subject: A service reminder for your Subaru
I deleted that email about my Subaru, which was near oldest in that Inbox, tested, looped again, so deleted the next email... Repeated a few times until it no longer threw that error. (It is curious that the indicated email was never the oldest, but 2 or 3 before oldest.)
I am no longer getting the gloda loop. Seems I stumbled into it and now it won't repeat. Perhaps corrupted db that regenerated, dunno. If want to know more let me know, I may have a few other details that might be of use...
(BTW, I swear by, not at, TB. Won't use anything else.)
Comment 91•6 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #87)
Hmm, so according to comment #47, 2017-02-11 didn't fail, but 2017-02-12 did?
So https://hg.mozilla.org/comm-central/pushloghtml?startdate=2017-02-11&enddate=2017-02-13Well, I wonder if we can back out https://hg.mozilla.org/comm-central/rev/0186ecd2dfab4e5754de6f88ddd988f4bff990dc from bug 1337872, or whether we re-introduce a feature M-C has removed since and the whole thing will fall apart.
Yeah, iterator is gone - Bug 1098412 - Remove iterator and the legacy Iterator constructor in version 57 https://bugzilla.mozilla.org/show_bug.cgi?id=1098412#c35
Comment 92•5 years ago
|
||
goodcomment key |
(In reply to :aceman from comment #89)
Alta88, you are poking in gloda these days, may you know what this error is talking about?
The 'sketchy key' error is easy to reproduce; I haven't seen any cpu intense looping - it could be because the folder is marked dirty in certain cases. Gloda assumes per folder headerMessageID is unique, which is certainly not guaranteed, and the cause of that error; gloda compaction cleanup assumes messageKey increments by 1, which is also false (for imap at least) and leaves junk in the db. Gloda assuming headerMessageID is unique per folder means if you copy something into another folder, it will only be found in the original folder, on search.
Gloda has no transactional integrity as it listens for changes, and is always 'sweeping things up'. Forget about true db concepts like 2 phased commits in the system as a whole.
Compacting, repairing the folder, and rebuilding the gloda db is unfortunately the only way to achieve a true synced state across the db and msgDatabase and message store.
Edit: clarify headerMessageID.
Comment 93•5 years ago
|
||
(In reply to MHW from comment #90)
I'm using TB 60.6.1 on a Win 10 box. Was responding today to request from Aceman regarding bug 1305207. In testing for that bug I experienced the gloda bug described above. I got the infinite loop going with this msg:
gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://pooder@mail.../Inbox sketchy key: 93867544 subject: A service reminder for your Subaru
I deleted that email about my Subaru, which was near oldest in that Inbox, tested, looped again, so deleted the next email... Repeated a few times until it no longer threw that error. (It is curious that the indicated email was never the oldest, but 2 or 3 before oldest.)
I am no longer getting the gloda loop. Seems I stumbled into it and now it won't repeat. Perhaps corrupted db that regenerated, dunno. If want to know more let me know, I may have a few other details that might be of use...
(BTW, I swear by, not at, TB. Won't use anything else.)
I am now getting gloda errors. I have updated to TB 60.7.0. I have browser console open with mailnews.database.dbcache.logging.dump and
mailnews.database.dbcache.logging.console set to Show. The following repeats indefinitely until I close TB and restart it.
2019-05-22 23:12:12 gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://WallaceWebDesign.../Orders sketchy key: 228 subject: The Salseria: A New Order has Arrived (00110)
I had deleted that email from a folder, emptied trash then compacted folders. CPU was normal until compacted folders then immediately rose to 27-32% and stays there until close TB.
Closed then restarted TB. Deleted an email, emptied trash then compacted folders. gloda error did not appear. go figure.
Comment 94•5 years ago
|
||
(In reply to MHW from comment #93)
(In reply to MHW from comment #90)
I'm using TB 60.6.1 on a Win 10 box. Was responding today to request from Aceman regarding bug 1305207. In testing for that bug I experienced the gloda bug described above. I got the infinite loop going with this msg:
gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://pooder@mail.../Inbox sketchy key: 93867544 subject: A service reminder for your Subaru
I deleted that email about my Subaru, which was near oldest in that Inbox, tested, looped again, so deleted the next email... Repeated a few times until it no longer threw that error. (It is curious that the indicated email was never the oldest, but 2 or 3 before oldest.)
I am no longer getting the gloda loop. Seems I stumbled into it and now it won't repeat. Perhaps corrupted db that regenerated, dunno. If want to know more let me know, I may have a few other details that might be of use...
(BTW, I swear by, not at, TB. Won't use anything else.)
I am now getting gloda errors. I have updated to TB 60.7.0. I have browser console open with mailnews.database.dbcache.logging.dump and
mailnews.database.dbcache.logging.console set to Show. The following repeats indefinitely until I close TB and restart it.2019-05-22 23:12:12 gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://WallaceWebDesign.../Orders sketchy key: 228 subject: The Salseria: A New Order has Arrived (00110)
I had deleted that email from a folder, emptied trash then compacted folders. CPU was normal until compacted folders then immediately rose to 27-32% and stays there until close TB.
Closed then restarted TB. Deleted an email, emptied trash then compacted folders. gloda error did not appear. go figure.
Please let me know if there are any specific tests or info that would help troubleshoot this.
Comment 95•5 years ago
|
||
(In reply to MHW from comment #94)
(In reply to MHW from comment #93)
(In reply to MHW from comment #90)
I'm using TB 60.6.1 on a Win 10 box. Was responding today to request from Aceman regarding bug 1305207. In testing for that bug I experienced the gloda bug described above. I got the infinite loop going with this msg:
gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://pooder@mail.../Inbox sketchy key: 93867544 subject: A service reminder for your Subaru
I deleted that email about my Subaru, which was near oldest in that Inbox, tested, looped again, so deleted the next email... Repeated a few times until it no longer threw that error. (It is curious that the indicated email was never the oldest, but 2 or 3 before oldest.)
I am no longer getting the gloda loop. Seems I stumbled into it and now it won't repeat. Perhaps corrupted db that regenerated, dunno. If want to know more let me know, I may have a few other details that might be of use...
(BTW, I swear by, not at, TB. Won't use anything else.)
I am now getting gloda errors. I have updated to TB 60.7.0. I have browser console open with mailnews.database.dbcache.logging.dump and
mailnews.database.dbcache.logging.console set to Show. The following repeats indefinitely until I close TB and restart it.2019-05-22 23:12:12 gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://WallaceWebDesign.../Orders sketchy key: 228 subject: The Salseria: A New Order has Arrived (00110)
I had deleted that email from a folder, emptied trash then compacted folders. CPU was normal until compacted folders then immediately rose to 27-32% and stays there until close TB.
Closed then restarted TB. Deleted an email, emptied trash then compacted folders. gloda error did not appear. go figure.
Please let me know if there are any specific tests or info that would help troubleshoot this.
With Error Console open deleted emails then compacted folders. Here are the console messages leading up gloda warning, deleted duplicates. (I'm routinely getting the NS_ERROR_FAILURE, not sure if that's significant.):
NS_ERROR_FAILURE: Couldn't decrypt string crypto-SDR.js:179
2019-05-23 13:15:50 gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://pooder@....com/Inbox sketchy key: 93869679 subject: New airspace concepts floated for ‘nontraditional’ entrants
2019-05-23 13:15:50 gloda.index_msg ERROR Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource:///modules/gloda/index_msg.js :: PendingCommitTracker_commitCallback :: line 156" data: no]
2019-05-23 13:15:50 gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://pooder@....com/Inbox sketchy key: 93869679 subject: New airspace concepts floated for ‘nontraditional’ entrants
Comment 97•5 years ago
|
||
Jorg, does this answer your questions...
(In reply to Jorg K (GMT+2) from comment #87)
Hmm, so according to comment #47, 2017-02-11 didn't fail, but 2017-02-12 did?
So https://hg.mozilla.org/comm-central/pushloghtml?startdate=2017-02-11&enddate=2017-02-13Well, I wonder if we can back out https://hg.mozilla.org/comm-central/rev/0186ecd2dfab4e5754de6f88ddd988f4bff990dc from bug 1337872, or whether we re-introduce a feature M-C has removed since and the whole thing will fall apart.
We should look into where the errors from comment #69
As described by alt88 in comment 92 https://searchfox.org/comm-central/rev/5a670c59f9004ef9be4874cfbfe57ec2ef3b260f/mailnews/db/gloda/modules/index_msg.js#1250
bug 1406653 comment #13 come from.
mark message with gloda state after db commit https://searchfox.org/comm-central/rev/5a670c59f9004ef9be4874cfbfe57ec2ef3b260f/mailnews/db/gloda/modules/index_msg.js#151
(note - there is a space missing between "after" and "db")
Is there a test for this situation that is disabled or failing?
Provisionally marking this as regressed by bug 1337872
Assignee | ||
Comment 98•5 years ago
|
||
Did I ask a question or questions? I was wondering whether the requested backout was feasible and apparently it's not since, as suspected, the underlying M-C feature was removed. I think alta88 gave an interesting insight into the deficiencies of Gloda. Personally, for me the Gloda code is an insurmountable thicket an I'm glad it's still mostly(?) working after all those years.
Comment 99•5 years ago
|
||
I believe there is some external configuration or environmental contribution to this bug. I have two machines (Laptop & Desktop) both running latest Win10, both with TBird as primary mail app, both with mail as (separate) windows. Laptop is running beta releases now but has seen the problem in both beta and released versions. Desktop has NEVER seen the Gloda problem. Both have large numbers of mail items running through daily and large numbers of mail items in trash and in dozens of other folders. I cannot yet point to a significant difference in configuration.
Comment 100•5 years ago
|
||
On my TB Error Console, I see:
2019-06-25 13:10:19 gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction.
In folder: mailbox://nobody@Local%20Folders/Drafts
sketchy key: 90197 subject: Extension signing blog post
thousands and thousands of times. The error console compresses these messages, and sums them up, and I often have 1350 identical messages in a second, just to be followed with exactly the same message for 1750 times etc. pp. That continued for days now. It's always exactly the same message, same key, same subject. Thousands of times per second.
- TB 69a1 trunk build from 2019-06-03
- Linux
- My production profile
Recovery:
- Deleting the mentioned message did not fix it. It just changed the message to ..." key 90197 subject: " (empty subject).
- Then, restarting TB fixed it. (But you have to know that the problem exists, as it appears only on the Error Console, but still slows down TB dramatically and lets your computer be busy without you knowing why.)
Comment 102•5 years ago
|
||
Running Beta 68.0b1. Comment 100 above is correct. The problem is the worst I've seen. Morning wake-up: read 1 message; open 2nd message, message window closes immediately, Gloda runs wild. Sometimes can stop Gloda by "repair folder" on Inbox. Happens many times during the day. Something has aggravated the bug and that may be a clue.
Comment 103•5 years ago
|
||
(In reply to doug2 from comment #99)
I believe there is some external configuration or environmental contribution to this bug. I have two machines (Laptop & Desktop) both running latest Win10, both with TBird as primary mail app, both with mail as (separate) windows. Laptop is running beta releases now but has seen the problem in both beta and released versions. Desktop has NEVER seen the Gloda problem. Both have large numbers of mail items running through daily and large numbers of mail items in trash and in dozens of other folders. I cannot yet point to a significant difference in configuration.
Above is FALSE. I just had not noticed the problem on the desktop since it is not often used. As soon as I brought up the debug console, I could see Gloda running wild. Repair folder on Inbox usually stops it, but not for long.
Comment 104•5 years ago
|
||
Running 68.0b3. So sensitive that Gloda runs away almost any time I delete a message. Is there a shortcut to Repair Folder? Seriously.
Comment 105•5 years ago
|
||
Running TB 60.8.0 (updated yesterday) and I have browser error console open with mailnews.database.dbcache.logging.dump and
mailnews.database.dbcache.logging.console set to Show. Emptied Trash then Compact Folders. I am NOT getting the Gloda errors. Restarted TB to be sure. Deleted a few more emails, emptied trash again and compacted folders. Still no Gloda erros. Could it be that it's fixed? I'll check back in if something changes, but for now it appears fixed on my end.
After doing all of that here are the error msgs in error console:
-
While creating services from category 'profile-after-change', could not create service for entry 'calendar-backend-loader', contract ID 'service,@mozilla.org/calendar/backend-loader;1'
-
Use of Mutation Events is deprecated. Use MutationObserver instead. calendar-widgets.xml:512:20
-
TypeError: this.relayout is not a function[Learn More] calendar-multiday-view.xml:597:54
-
NS_ERROR_FAILURE: Couldn't decrypt string crypto-SDR.js:179
2019-07-11 15:51:07 mailnews.database.dbcache INFO Periodic check of cached folder databases (DBs), count=9
2019-07-11 15:51:07 mailnews.database.dbcache DEBUG Skipping, DB open in window for folder: Facebook Stuff
2019-07-11 15:51:07 mailnews.database.dbcache INFO DBs open in a window: 1, DBs open: 8, DBs already closing: 0
Comment 106•5 years ago
|
||
Running Beta TB 68.0b4. Held my breath for several hours hoping it was fixed, but have had Gloda run away several times "spontaneously." Almost any time new mail shows up and I start to read & dispose of it. Running 60.8.0 on "production" machine and no Gloda errors so far. Weird to fix production but not beta???
Comment 107•5 years ago
|
||
Going to switch from Beta to Production on this machine and run my test sequences to see if I can make it fail.
Assignee | ||
Comment 108•5 years ago
|
||
Guys, Gloda has absolutely not seen any changes or fixes in years, neither on beta nor production. So whatever you're writing here makes no sense or you're not looking at a reproducible case.
Comment 109•5 years ago
|
||
Re: Jorg's email. Running mozregression on 2019-07-09. Maybe nobody touched it, but I can't make it fail - yet. Been trying for 45 minutes, which is usually more than sufficient. Also running 60.8.0 for "real" mail. I'll try more tomorrow.
Comment 110•5 years ago
|
||
Jorg K: I don't know what to tell you. I had been able to reproduce it over the past two months and with the 68.8.0 release I am not able to reproduce the errors. As mentioned previously, by others, and as can be the case with code, could be some other bit of the code playing poorly with Golda, as I'm sure you know better than I. I'm by no means even well versed with the TB code and will leave it to the experts. All I know is from a knowledgeable user's perspective that TB is not throwing the errors it was previously, since I first noticed on my machine in May (don't know how long it had been going on before I noticed it).
Comment 111•5 years ago
|
||
Nuts! Took several hours, but 60.8 failed this morning "spontaneously." So, Jorg is correct. Not fixed. Maybe a little more stable
I really wish I could build a Gloda test bed and "artificially" create the problem. First, I'd like to understand Gloda, but apparently nobody does and everybody is afraid of it. No design documents. No nothing. That doesn't portend it ever getting fixed. Sad.
Comment 112•5 years ago
|
||
For me 60.8 did not changed anything - still compactification of inbox causes >50% processor load.
Honestly, I do not understand why everybody is blaming Gloda. The code that causes the loop is identified in the index_msg.js file (see comment #97). The code is commented extensively, and it is clear that some exceptional case is handled incorrectly, causing the loop. It should be a few hours of work to read the code and understand what is causing the loop, and then fix it. I can do the first part, however, I never tried to compile TB, so will not be able to do the second part (fixing it).
It is really hard to understand why it takes years to fix this issue. Do I misunderstood something?
Comment 113•5 years ago
|
||
I too would be happy to read code if someone will point me to it. I assume that, once the real problem is identified and a fix proposed, someone can tell us how to build (not compile) a test version of TB and run it. I'm assuming the segment is all javascript and it should be (in very relative terms) possible to run it in a sandbox to watch what happens. I may be naive, but I'm experienced in my naivete. ;)) It might take me months, but it ain't getting fixed.
Comment 114•5 years ago
|
||
Shoot, at this point I'd be happy with just a way to append the "repair folder" code at the end of compaction. Even a hot key for repair folder would help.
Comment 115•5 years ago
|
||
Just following comment #97
"Well, I wonder if we can back out https://hg.mozilla.org/comm-central/rev/0186ecd2dfab4e5754de6f88ddd988f4bff990dc from bug 1337872, or whether we re-introduce a feature M-C has removed since and the whole thing will fall apart."
Commit #0186ecd2dfab4e5754de6f88ddd988f4bff990dc removed line
keepIterHeader = false so once there exceptional case happens and keepIterHeader = true is set on line 1249 there is nothing that would set it back to false. Most likely, this is what is causing the loop.
Comment 116•5 years ago
|
||
The code fragment staring with line 1140 should be
if (!keepIterHeader) {
let result = headerIter.next();
if (result.done) {
headerIter = null;
msgHdr = null;
// do the loop check again
continue;
}
msgHdr = result.value;
} else {
keepIterHeader = false;
}
to be equivalent with logic before commit 0186ecd2dfab4e5754de6f88ddd988f4bff990dc
Comment 117•5 years ago
|
||
Thanks for looking into this. Interesting observation you have there.
We got hint from the gloda author to remove that keepIterheader=false branch in bug 1337872 comment 2.
But sure, we can try to put it back and see what happens.
andriusr, you could test if your fix helps directly in the Thunderbird version you have available locally, by backing up omni.ja file in your Thunderbird installation folder, then opening it as a zip file and editing the index_msg.js file with your change.
Comment 118•5 years ago
|
||
Sorry, I am on MacOSX and omni.ja fails to unzip. What exact archive type this file is? 7zip says coff file, however, it fails to unarchive.
Reporter | ||
Comment 119•5 years ago
|
||
It's a jar file, renaming before unpacking might work for you.
Comment 120•5 years ago
|
||
Its seems that I would need some help. Running in Terminal
jar -xfv ./omni.jar ./
gives output
java.util.zip.ZipException: invalid CEN header (bad signature)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:219)
at java.util.zip.ZipFile.<init>(ZipFile.java:149)
at java.util.zip.ZipFile.<init>(ZipFile.java:120)
at sun.tools.jar.Main.extract(Main.java:1004)
at sun.tools.jar.Main.run(Main.java:305)
at sun.tools.jar.Main.main(Main.java:1288)
MacOSX doe not provide any options how to handle jar files. I have Java 8 update 201 on my computer.
Comment 121•5 years ago
|
||
You could also try 7zip or winrar to extract it.
Comment 122•5 years ago
|
||
ok. got all omni copied into a separate directory and created a new version of index_msg.js with the added else clause. Now what? Can I just replace that js file somewhere, or do I need to create a new compressed distribution and install it? (Win 10)
Comment 123•5 years ago
|
||
Just pack it all back into the omni.ja file (zip format) and replace the original file in Thunderbird installation folder.
Comment 124•5 years ago
|
||
Hello,
Thanks for keeping this report alive.
I just tried changing index_msg.js in omni.ja, in modules/gloda, relaunching Thunderbird 60.7.2
But no success, Thunderbird still consumes 1/2 CPU unit after end of compaction.
Not sure to have well done the modification. Can you provide it as patch?
Comment 125•5 years ago
|
||
The change may have not been picked up by TB, because of caching. Try finding the 'startupCache' folder (somewhere in temporary or local application files) and delete it. Note there may exist another one if you also use Firefox, then delete the one belonging to your Thunderbird profile.
Comment 126•5 years ago
|
||
Hello,
No more success.
Comment 127•5 years ago
|
||
Please double check the code in comment #116 above. TB is crashing with the code added. It is easily possible that I did not make the change correctly. In TB 60.8, the fragment begins at line 1169. The outer "if (keepIterHeader) { " is the one to which we are adding the else clause? i.e., if (keepIterHeader) is true, then do stuff (including an if clause and msgHdr assignment), .. else .. make keepIterHeader false. ? That doesn't seem to make sense?? I hope I'm just not seeing something. TB is crashing with the code inserted.
Comment 128•5 years ago
|
||
Yes, the original code was:
if (!keepIterHeader)
msgHdr = headerIter.next();
else
keepIterHeader = false;
See https://bugzilla.mozilla.org/page.cgi?id=splinter.html&ignore=&bug=1337872&attachment=8836250 .
Comment 129•5 years ago
|
||
code in 60.8 (before changes) is
if (!keepIterHeader) {
let result = headerIter.next();
if (result.done) {
headerIter = null;
msgHdr = null;
// do the loop check again
continue;
}
msgHdr = result.value;
}
Comment 130•5 years ago
|
||
Yes, but that is the current code, that is said to be bad, producing this bug.
So before that, there was the code that I posted, you can see the full change at the link I posted.
It seems andriusr tries to put back part of the old code, the 'keepIterHeader = false;' branch.
Comment 131•5 years ago
|
||
(In reply to :aceman from comment #125)
The change may have not been picked up by TB, because of caching. Try finding the 'startupCache' folder (somewhere in temporary or local application files) and delete it. Note there may exist another one if you also use Firefox, then delete the one belonging to your Thunderbird profile.
Running TB 68.8.0 on Win10 ver 1903 build 18362.239
First, empty TB trash, compact folders. No Golda loop.
startupCache folder in Firefox profile.
Delete folder.
startupCache folder in Thunderbird profile.
Delete folder.
Then restart TB. Delete a few emails. Empty trash & compact folder. No Golda loops.
However, it did throw 3 of the same JS errors copied below. (This is Not the same as endless "Golda" loops seen in the past.)
- 2019-07-12 18:01:33 gloda.index_msg ERROR Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource:///modules/gloda/index_msg.js :: PendingCommitTracker_commitCallback :: line 156" data: no]
log4moz.js:680
CApp_append resource:///modules/gloda/log4moz.js:680:7
Logger_log resource:///modules/gloda/log4moz.js:374:7
Logger_error resource:///modules/gloda/log4moz.js:382:5
PendingCommitTracker_commitCallback resource:///modules/gloda/index_msg.js:172:9
gloda_ds_pch_handleCompletion resource:///modules/gloda/datastore.js:52:11
I will periodically empty trash and compact folders and report if I get any of the "Golda" loops.
(P.S. I recognized prior comment that it may or may not have anything to do with Golda. Dunno. I think at this point we at least all use that as a common reference, as inaccurate as it may be. Apologies if it's inaccurate.)
Comment 132•5 years ago
|
||
On my system (MacOSX 10.14.5) my code addition fixed the issue.
- With unzip I was able extract archive. I should note, that unzip produced warnings
Archive: omni.jar
warning [omni.jar]: 47573259 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [omni.jar]: reported length of central directory is
-47573259 bytes too long (Atari STZip zipfile? J.H.Holm ZIPSPLIT 1.1
zipfile?). Compensating...
extracting: chrome.manifest and continue with extration.
When I zipped modified files back, the size of archive got just 14.4 MB instead of 48 MB of original file... - It took quite long to find where startup cache is located on MacOSX. It is here:
~/Library/Caches/Thunderbird/Profiles/myprofile.default/startupCaches
Library and default profile forlders are hidden on MacOSX, so one should enable visibility of hidden files to find them... Somebody should really update https://wiki.mozilla.org/Thunderbird:Start_Hacking - it is completely useless at the moment. - I put extra log message for the case 1a, where keepIterHeader = true is set. When running "Compact" on the Inbox, in console I am seeing many (several hundred) messages
Exception case 1a In folder: mailbox://nobody@Local%20Folders/Inbox, msgHdr.messageKey key: 13078, idBaseHeader.messageKey key: 389 subject: Po LWOP2019
Then Compact finishes with message
2019-07-13 08:06:27 gloda.indexer WARN Problem during [job:folderCompact id:7 items:0 offset:0 goal:null], bailing: TypeError: msgHdr is null
CPU load drops back to normal after compact finish.
Comment 133•5 years ago
|
||
Correction to my previuos message:
cache is located in
~/Library/Caches/Thunderbird/Profiles/myprofile.default/startupCache
Diff of my patch:
--- Z:/Desktop/Backup/modules/gloda/index_msg.js Fri Jan 01 01:00:00 2010
+++ Z:/Desktop/TB_fix/modules/gloda/index_msg.js Sat Jul 13 09:35:18 2019
@@ -1175,6 +1175,8 @@
continue;
}
msgHdr = result.value;
-
} else {
-
keepIterHeader = false; } }
@@ -1281,6 +1283,11 @@
// Take another pass through the loop so that we check the
// enumerator header against the next message in the gloda
// database.
-
this._log.warn("Exception case 1a" +
-
" In folder: " + msgHdr.folder.URI +
-
", msgHdr.messageKey key: " + msgHdr.messageKey +
-
", idBaseHeader.messageKey key: " + idBasedHeader.messageKey +
-
", subject: " + msgHdr.mime2DecodedSubject); keepIterHeader = true; } // - Case 2
@@ -1289,7 +1296,7 @@
// header claiming to be indexed by gloda that gloda does not
// actually know about. This is exceptional and gets a warning.
else if (msgHdr) {
-
this._log.warn("Observed header that claims to be gloda indexed " +
-
this._log.warn("Case 2 - Observed header that claims to be gloda indexed " + "but that gloda has never heard of during " + "compaction." + " In folder: " + msgHdr.folder.URI +
Comment 134•5 years ago
|
||
This markdown is driving me crazy - here is diff text
--- Z:/Desktop/Backup/modules/gloda/index_msg.js Fri Jan 01 01:00:00 2010
+++ Z:/Desktop/TB_fix/modules/gloda/index_msg.js Sat Jul 13 09:35:18 2019
@@ -1175,6 +1175,8 @@
continue;
}
msgHdr = result.value;
+ } else {
+ keepIterHeader = false;
}
}
@@ -1281,6 +1283,11 @@
// Take another pass through the loop so that we check the
// enumerator header against the next message in the gloda
// database.
+ this._log.warn("Exception case 1a" +
+ " In folder: " + msgHdr.folder.URI +
+ ", msgHdr.messageKey key: " + msgHdr.messageKey +
+ ", idBaseHeader.messageKey key: " + idBasedHeader.messageKey +
+ ", subject: " + msgHdr.mime2DecodedSubject);
keepIterHeader = true;
}
// - Case 2
@@ -1289,7 +1296,7 @@
// header claiming to be indexed by gloda that gloda does not
// actually know about. This is exceptional and gets a warning.
else if (msgHdr) {
- this._log.warn("Observed header that claims to be gloda indexed " +
+ this._log.warn("Case 2 - Observed header that claims to be gloda indexed " +
"but that gloda has never heard of during " +
"compaction." +
" In folder: " + msgHdr.folder.URI +
Comment 135•5 years ago
|
||
Need some help. Running 60.8 on Win 10. Have unpacked (unzipped) Omni and made changes per comments above. Reviewed changes multiple times. Zipped Omni back up and changed back to .ja and replaced Omni.ja in TBird directory. Running TB crashes. I must be doing something wrong in repacking Omni. Is there a length check? Thanks
Assignee | ||
Comment 136•5 years ago
|
||
To my knowledge and last I looked, omni.ja uses a special ZIP format:
https://developer.mozilla.org/en-US/docs/Mozilla/About_omni.ja_(formerly_omni.jar)
They say: The correct command to pack omni.ja is: zip -qr9XD omni.ja *
If you don't succeed with this, attach a patch to the bug, or "diff text", and I'll build a special version for you on our servers.
Assignee | ||
Comment 137•5 years ago
|
||
Patch from comment #134. I'll do a try build for Windows.
Assignee | ||
Comment 138•5 years ago
|
||
Fixed bad indentation.
Assignee | ||
Comment 139•5 years ago
|
||
Looking at the patch again, Andrius, do you think the extra warning is worth keeping or just for debugging? If we keep it, we should adjust it a bit, one says "Exception case 1a", the other "Case 2 - ...". Anyway, we worry about this once the fix is confirmed. Build for Windows based on TB 60.8.0 in progress:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=b8821f080327a626c401a612e3ae0e67d3a7a2e5
Will be done in about an hour.
Comment 140•5 years ago
|
||
Jorg, sorry for messy patch, indeed, wording needs to be fixed. I made changes to both cases just to make sure that new file is used (since cleaning up cache is not trivial). Once fix is confirmed, the warnings can be removed.
From the other hand, if there were warning message for case 1a, the issue, I believe would have fixed much faster. While it seems that loop issue is fixed, I think compactification logic needs to be checked as well - in the log I am seeing many warnings, and they are re-appearing every time I run compact - it seems that database indexes are not really fixed (or something is broken on my system (folder repair also does not remove warnings)).
Assignee | ||
Comment 141•5 years ago
|
||
Well, you can attach another diff ;-)
The binary to try is here:
EDIT: DO NOT USE THIS ONE: https://queue.taskcluster.net/v1/task/JUz_exY-Q4WJqa29XZrT9w/runs/0/artifacts/public/build/install/sea/target.installer.exe
However, if you click on
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=b8821f080327a626c401a612e3ae0e67d3a7a2e5&selectedJob=256441775
you will see an orange X1. Click onto it and see that the patch caused a test failure:
TEST-UNEXPECTED-FAIL | comm/mailnews/db/gloda/test/unit/test_index_compaction.js
So we can't except the patch as it is; someone would need to investigate why this is causing a test failure now.
Assignee | ||
Comment 142•5 years ago
|
||
OK, I'v done just that. On trunk, I applied the patch without the additional logging, so just
}
msgHdr = result.value;
+ } else {
+ keepIterHeader = false;
}
And lo and behold, the test passes. So I looked at the log
https://taskcluster-artifacts.net/NhmpHXTFR7KPHKJyNdNJTA/0/public/logs/live_backing.log
and saw
19:15:17 INFO - PID 1428 | 2019-07-14 19:15:17 gloda.index_msg DEBUG Entering folder: mailbox://nobody@Local%20Folders/gabba2
19:15:17 INFO - PID 1428 | 2019-07-14 19:15:17 gloda.indexer DEBUG Exception in batch processing: TypeError: msgHdr is null
19:15:17 INFO - 2019-07-14 19:15:17 gloda.indexer WARN Problem during [job:folderCompact id:6 items:0 offset:0 goal:null], bailing: TypeError: msgHdr is null
So your logging is wrong and makes the whole thing fall over :-(
Let me do another build just with the "real" code change and without the additional logging.
Assignee | ||
Comment 143•5 years ago
|
||
Will post another binary here in a while. I don't recommend using the one before since I assume the JS error will cause unpredictable results.
Comment 144•5 years ago
|
||
19:15:17 INFO - PID 1428 | 2019-07-14 19:15:17 gloda.indexer DEBUG Exception in batch processing: TypeError: msgHdr is null
19:15:17 INFO - 2019-07-14 19:15:17 gloda.indexer WARN Problem during [job:folderCompact id:6 items:0 offset:0 goal:null], bailing: TypeError: msgHdr is null
Indeed, my extra log line doe not check against msgHdr being null (the same message I was seeing in log).
Assignee | ||
Comment 145•5 years ago
|
||
Comment 146•5 years ago
|
||
Many thanks. Now running new "daily." Will report any incidents.
Comment 147•5 years ago
|
||
Had a crash in compaction, but probably my fault. Have Windows folder protection turned on and needed to set exception for daily. Also did not allow moving message from inbox to local folder - now corrected.
Comment 148•5 years ago
|
||
So far, so good. Did manual Compact on Inbox. Got 2 pairs of errors. identical. (so much better than before)
2019-07-14 20:03:18 gloda.index_msg ERROR Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource:///modules/gloda/index_msg.js :: PendingCommitTracker_commitCallback :: line 156" data: no]
log4moz.js:680
2019-07-14 20:03:18 gloda.index_msg ERROR Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource:///modules/gloda/index_msg.js :: PendingCommitTracker_commitCallback :: line 156" data: no]
2019-07-14 20:03:18 gloda.index_msg ERROR Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource:///modules/gloda/index_msg.js :: PendingCommitTracker_commitCallback :: line 156" data: no]
log4moz.js:680
2019-07-14 20:03:18 gloda.index_msg ERROR Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource:///modules/gloda/index_msg.js :: PendingCommitTracker_commitCallback :: line 156" data: no]
Assignee | ||
Comment 149•5 years ago
|
||
(In reply to doug2 from comment #146)
Many thanks. Now running new "daily." Will report any incidents.
It's TB 60.8.0 ESR plus the fix here. Since it's a special build, it says "Daily", but it's not a trunk build, currently TB 70.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 150•5 years ago
|
||
Running patched version of 60.8 (Thanks to Jorg K) about 24 hours with no loops. Debug console shows 6 "gloda index message WARN" incidents, 2 "gloda.collection ERROR caught exception ..." and 1 "gloda.index_msg ERROR Exception while attempting ..."
"Manual" compact folder resulted in 6th WARN incident this morning, with no loop.
Strongly recommend implementation of patch in beta and next possible release of TB.
Note that the gloda warning / error problem itself still exists, but the infinite loop and high CPU issue appears to be resolved. (Ref comment 30, etc.)
Assignee | ||
Comment 151•5 years ago
|
||
OK, let's take this without the additional logging.
Comment 152•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/97c198f44bf5
Fix Gloda hang. r=jorgk DONTBUILD
Assignee | ||
Updated•5 years ago
|
Comment 153•5 years ago
|
||
I am the initial reporter for Bug 1406653 which likely has the same root cause re: endless error messages, and is still present in the current 68.8.0. I would be happy to test this patched version of 68.8.0 against Bug 1406653 if someone could please direct me to a downloadable version of it. (I'm just a civilian, not a software developer....) Thanks.
Assignee | ||
Comment 154•5 years ago
|
||
See comment #145 for a Windows installer based on TB 60.8.0. I'll ship it in TB 68 beta 5 in the next few days.
Comment 155•5 years ago
|
||
Now running trial Windows build (32b) on two machines. Will switch to 68.0b5 when available. MANY thanks to Jorg K.
Comment 156•5 years ago
|
||
Can't find the bug report for the basic gloda error? Read a bunch of gloda bugs and compact folder bugs, but the error we are seeing did not seem to be there?
Assignee | ||
Comment 157•5 years ago
|
||
Comment 158•5 years ago
|
||
Reporting that the patch in comment 145 resolves the repetitive error reporting noted in Bug 1406653 (Hurray! Thank you!) but not the underlying gloda problem.
Doug2, I believe that the gloda error here is the same one as reported in Bug 1406653. In a nutshell, the sqlite database refers to message keys that no longer match messages in the mail store. Something like this:
2019-07-16 14:05:03 gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://[user]@mail.[domain].[tld]/Inbox/purchases sketchy key: 49818944 subject: Your AmazonSmile order of Chocolate Kennedy Half... and 2 more items.
The referenced message about chocolate Kennedy Half dollars very much does exist.
Deleting the sqlite database forces the database to regenerate and then errors go away, until messages are deleted or moved. Sooner or later, the db gets borked again.
Comment 159•5 years ago
|
||
this may or may not be related. I am just working on gloda in an addon. In my collection, I am finding many messages where glodamsg.messageheaderID is null. According to old documentation, that state is allowed, but still, it could wreak havoc on compaction or other actions.
Reading: 'Observed header that claims to be gloda indexed but that gloda has never heard of during compactio': could be other word for saying that header being null.
In my case, gloda returns all db entries but empty messageheaderID. So it claims it is indexed but would not be able to find it in message store.
Comment 160•5 years ago
|
||
(In reply to MHW from comment #131)
(In reply to :aceman from comment #125)
The change may have not been picked up by TB, because of caching. Try finding the 'startupCache' folder (somewhere in temporary or local application files) and delete it. Note there may exist another one if you also use Firefox, then delete the one belonging to your Thunderbird profile.
Running TB 68.8.0 on Win10 ver 1903 build 18362.239
First, empty TB trash, compact folders. No Golda loop.
startupCache folder in Firefox profile.
Delete folder.
startupCache folder in Thunderbird profile.
Delete folder.
Then restart TB. Delete a few emails. Empty trash & compact folder. No Golda loops.However, it did throw 3 of the same JS errors copied below. (This is Not the same as endless "Golda" loops seen in the past.)
- 2019-07-12 18:01:33 gloda.index_msg ERROR Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource:///modules/gloda/index_msg.js :: PendingCommitTracker_commitCallback :: line 156" data: no]
log4moz.js:680
CApp_append resource:///modules/gloda/log4moz.js:680:7
Logger_log resource:///modules/gloda/log4moz.js:374:7
Logger_error resource:///modules/gloda/log4moz.js:382:5
PendingCommitTracker_commitCallback resource:///modules/gloda/index_msg.js:172:9
gloda_ds_pch_handleCompletion resource:///modules/gloda/datastore.js:52:11I will periodically empty trash and compact folders and report if I get any of the "Golda" loops.
(P.S. I recognized prior comment that it may or may not have anything to do with Golda. Dunno. I think at this point we at least all use that as a common reference, as inaccurate as it may be. Apologies if it's inaccurate.)
Just reporting that I've had the so-called Golda loop again today for the first time in 25 days. The only thing ostensibly different this time is that I had deleted a large number of emails (500+). I did have error console open before I deleted and compacted folders. I've been watching it for the past few weeks and have had no issues until today. Noticed it's been very quiet with no posts for 3 weeks...
Comment 161•5 years ago
|
||
No instances here. 2 machines running current beta with the fix. Have not had this long without a loop in 2 years.
Assignee | ||
Comment 162•5 years ago
|
||
TB 60.9 ESR:
https://hg.mozilla.org/releases/comm-esr60/rev/2e0c64654eb3c4f6d4e32cda97e5b66a15b39a34
Comment 163•5 years ago
|
||
(In reply to MHW from comment #160)
(In reply to MHW from comment #131)
(In reply to :aceman from comment #125)
The change may have not been picked up by TB, because of caching. Try finding the 'startupCache' folder (somewhere in temporary or local application files) and delete it. Note there may exist another one if you also use Firefox, then delete the one belonging to your Thunderbird profile.
Running TB 68.8.0 on Win10 ver 1903 build 18362.239
First, empty TB trash, compact folders. No Golda loop.
startupCache folder in Firefox profile.
Delete folder.
startupCache folder in Thunderbird profile.
Delete folder.
Then restart TB. Delete a few emails. Empty trash & compact folder. No Golda loops.However, it did throw 3 of the same JS errors copied below. (This is Not the same as endless "Golda" loops seen in the past.)
- 2019-07-12 18:01:33 gloda.index_msg ERROR Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource:///modules/gloda/index_msg.js :: PendingCommitTracker_commitCallback :: line 156" data: no]
log4moz.js:680
CApp_append resource:///modules/gloda/log4moz.js:680:7
Logger_log resource:///modules/gloda/log4moz.js:374:7
Logger_error resource:///modules/gloda/log4moz.js:382:5
PendingCommitTracker_commitCallback resource:///modules/gloda/index_msg.js:172:9
gloda_ds_pch_handleCompletion resource:///modules/gloda/datastore.js:52:11I will periodically empty trash and compact folders and report if I get any of the "Golda" loops.
(P.S. I recognized prior comment that it may or may not have anything to do with Golda. Dunno. I think at this point we at least all use that as a common reference, as inaccurate as it may be. Apologies if it's inaccurate.)
Just reporting that I've had the so-called Golda loop again today for the first time in 25 days. The only thing ostensibly different this time is that I had deleted a large number of emails (500+). I did have error console open before I deleted and compacted folders. I've been watching it for the past few weeks and have had no issues until today. Noticed it's been very quiet with no posts for 3 weeks...
Just checking in... Still getting Golda loops when compacting folders. It is one particular POP account. The other 2 POPs don't trigger it. Closing TB of course stops it, otherwise runs endlessly consuming about 33% of CPU. Will be interested to see if 60.9 resolves and will of course report back once that's released and I install. Thanks to everyone working on the issue. Here's the first line of errors:
2019-08-18 13:12:33 gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox://p...@ mail_xmission_com/Inbox sketchy key: 93871593 subject: Touching Base
Comment 164•5 years ago
|
||
Still getting Golda loops when compacting folders
You'll have to say using which precise Thunderbird version. If you're using TB 60.8, then of course you would still see the bug, because it doesn't have the fix. You need at least TB 68 beta 5.
Comment 165•5 years ago
|
||
Given that TB 60.9 might be the last TB 60, it would be good to test this (on Daily or beta) before it's released to TB 60.9. Esp. if you regularly see the bug, because most of us do not and cannot verify the fix.
Assignee | ||
Comment 166•5 years ago
|
||
This was tested by the relevant reporters on a TB 60.8 + the fix, see around comment #145.
Comment 167•5 years ago
|
||
Just installed TB 60.9.0 (32-bit). Emptied trash. Compacted. No issues. Thanks to all who have been working on the issue. You are appreciated!
Comment 168•5 years ago
|
||
I received an update to the 68.0 release.
Launched a compact operation, usage of 9% CPU during compaction, then returned to 0%.
Thanks all.
Comment 169•5 years ago
|
||
(In reply to MHW from comment #167)
Just installed TB 60.9.0 (32-bit). Emptied trash. Compacted. No issues. Thanks to all who have been working on the issue. You are appreciated!
Still not seeing any issues with periodic empty trash and compact. Thanks again to all who have worked on this issue. :-)
Description
•