Open
Bug 498817
Opened 15 years ago
Updated 2 years ago
"Rebuild Index" / Repair Folder silently fails and generates msf of size=0, if folder file open by "Rebuild Index" is interfered with file open by other software
Categories
(MailNews Core :: Database, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: World, Unassigned)
References
Details
+++ This bug was initially created as a clone of Bug #498814 +++
"Rebuild Index" silently fails and generates msf of size=0, if folder file open by "Rebuild Index" is interfered with file open by other software.
This is "Rebuild Index" version of Bug 498814.
Checked with next Tb trunk build. Phenomenon(delete of .msf) was observed with Tb 2.0.0.21 too.
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090615 Shredder/3.0b3pre
[Steps to reproduce : Case-1]
(0) A mail folder with some Shift+Deleted mails and some remaining mails.
(1) Read open of mail folder file by other program. (Say FN-X)
(Emulated by Stream("FN-X","C","OPEN READ"); of Open Object Rexx)
(2) "Compact Folder" via context menu (No left click of the folder)
=> File size of FN-X.msf = 0
=> Next exception.
> Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005
> (NS_ERROR_FAILURE) [nsIMsgFolder.updateFolder]" nsresult: "0x80004005 (NS_ERROR_FAILURE)"
> location: "JS frame :: chrome://messenger/content/folderPane.js :: rebuildSummary :: line 1473" data: no]
(3) Close mail folder file by other program. (Say FN-X)
(Emulated by Stream("FN-X","C","CLOSE"); of Open Object Rexx)
(4) Move mouse on the folder at folder pane => Nothing happens
Note:
Because next error(different problem) occurs after above test with Tb trunk, rebuild-Index and restart of Tb is required to recover from deleted/corrupted .msf.
> Error: uncaught exception: [Exception... "Component returned failure code:
> 0x80550006 [nsIMsgFolder.msgDatabase]" nsresult: "0x80550006 (<unknown>)"
> location: "JS frame :: file:///C:/wada/DOWNLOAD/@Mozilla/Thunderbird/@06-15/thunderbird/modules/dbViewWrapper.js :: DBViewWrapper_open :: line 762" data: no]
Reporter | ||
Comment 1•15 years ago
|
||
FYI.
I've opened Bug 498819 for error at dbViewWrapper.js::DBViewWrapper_open::line 762.
Reporter | ||
Comment 2•15 years ago
|
||
CC-ing to owner of Bug 387502(David:B) and Bug 494706(Ikezoe-san).
By code change from Tb 2 to Tb 3 in nsMsgLocalMailFolder::CopyFileMessage(see bug 494706 comment #65), Tb 3 issues warning message when write open failure and never goes to next steps, then problem like data corruption will not occur on Tb 3 when mail copy.
I think similar change is required in "Compact Folder" and "Rebuild Index".
Comment 3•14 years ago
|
||
(new terminology Repair Folder)
This causes blank thread pane, no?
Summary: "Rebuild Index" silently fails and generates msf of size=0, if folder file open by "Rebuild Index" is interfered with file open by other software → "Rebuild Index" / Repair Folder silently fails and generates msf of size=0, if folder file open by "Rebuild Index" is interfered with file open by other software
Updated•2 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•