Bug: Not responding when attaching file during sending email (or saving to draft) with attached file - status - Attaching <filename> - IMAP account
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-09-22 13:04:08+00:00
Resolved: 2021-11-20 15:08:01+00:00

In Thunderbird 78.14.0 (x32 and x64) on Windows 10 Pro 20H2 [Version 10.0.19042.1237] sometime to time sending email with attachment (or saving to draft) is delayed with status - Attaching <filename> and compose windows "Not Responding" for a while... maybe 10-15s...

Step to reproduce:
- write a new email
- enter recipient, subject, body
- attach a file (eg. pdf file)
- click send (or Save to save into Draft)

Errors appearing in the console when issue raise:

2021-09-22 13:52:48	gloda.indexer	ERROR	Worker 'message' cleanup function itself failed: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDatabase.Commit]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _indexerLeaveFolder :: line 905"  data: no]
Log4moz.jsm:766
    append resource:///modules/gloda/Log4moz.jsm:766
    log resource:///modules/gloda/Log4moz.jsm:416
    error resource:///modules/gloda/Log4moz.jsm:424
    workBatch resource:///modules/gloda/GlodaIndexer.jsm:1126
    next self-hosted:1099
    callbackDriver resource:///modules/gloda/GlodaIndexer.jsm:852
    _timerCallbackDriver resource:///modules/gloda/GlodaIndexer.jsm:778
2021-09-22 13:52:48	gloda.indexer	ERROR	Worker 'message' cleanup function itself failed: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDatabase.Commit]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _indexerLeaveFolder :: line 905"  data: no]

2021-09-22 13:52:48	gloda.indexer	WARN	Problem during [job:message id:null items:5 offset:5 goal:5], bailing: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDatabase.Commit]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _indexerLeaveFolder :: line 905"  data: no]

2021-09-22 13:53:05	gloda.indexer	ERROR	Worker 'message' cleanup function itself failed: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDatabase.Commit]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _indexerLeaveFolder :: line 905"  data: no]
Log4moz.jsm:766
    append resource:///modules/gloda/Log4moz.jsm:766
    log resource:///modules/gloda/Log4moz.jsm:416
    error resource:///modules/gloda/Log4moz.jsm:424
    workBatch resource:///modules/gloda/GlodaIndexer.jsm:1126
    next self-hosted:1099
    callbackDriver resource:///modules/gloda/GlodaIndexer.jsm:852
    _timerCallbackDriver resource:///modules/gloda/GlodaIndexer.jsm:778
2021-09-22 13:53:05	gloda.indexer	ERROR	Worker 'message' cleanup function itself failed: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDatabase.Commit]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _indexerLeaveFolder :: line 905"  data: no]

2021-09-22 13:53:05	gloda.indexer	WARN	Problem during [job:message id:null items:13 offset:9 goal:13], bailing: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDatabase.Commit]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _indexerLeaveFolder :: line 905"  data: no]

2021-09-22 13:53:35	gloda.indexer	ERROR	Worker 'message' cleanup function itself failed: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDatabase.Commit]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _indexerLeaveFolder :: line 905"  data: no]
Log4moz.jsm:766
    append resource:///modules/gloda/Log4moz.jsm:766
    log resource:///modules/gloda/Log4moz.jsm:416
    error resource:///modules/gloda/Log4moz.jsm:424
    workBatch resource:///modules/gloda/GlodaIndexer.jsm:1126
    next self-hosted:1099
    callbackDriver resource:///modules/gloda/GlodaIndexer.jsm:852
    _timerCallbackDriver resource:///modules/gloda/GlodaIndexer.jsm:778
2021-09-22 13:53:35	gloda.indexer	ERROR	Worker 'message' cleanup function itself failed: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDatabase.Commit]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _indexerLeaveFolder :: line 905"  data: no]

2021-09-22 13:53:35	gloda.indexer	WARN	Problem during [job:message id:null items:2 offset:0 goal:2], bailing: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDatabase.Commit]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _indexerLeaveFolder :: line 905"  data: no]