Open Bug 378153 Opened 18 years ago Updated 2 years ago

Problems when using question mark ("?") in folder names

Categories

(Thunderbird :: Folder and Message Lists, defect)

PowerPC
macOS
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: daniel.schneiter, Unassigned)

References

(Blocks 1 open bug)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Build Identifier: Version 2.0.0.0 Using question marks within mail folder names is leading to unexpected results: - search is never ending - folder seems to be empty although mails ar still there - tags disappear when moving many mails from one folder to the other Reproducible: Always Steps to Reproduce: 1. rename folder to a name containing at least one question mark 2. try to serach for a particular message, also within this folder, or 3. inspect the emails within this folder 4. move hundreds of files with a tag from one to the other folder (just any folder, not necessarily the one with a question mark) Actual Results: Occasionally the search never ends and/or all of the emails of this particular folder are no longer showing up Expected Results: Search works correctly, emails show up correctly For a long time (the bug already existed in Thunderbird 1.5) I was not aware that the problems were related to the use of one question mark in one mail folder, but once I renamed it (replacing the question mark with the word "unknown") all of the above symptoms disappeared.
(Q1) Your "folder" is usual local mail folder? or Search folder(virtual folder)? or IMAP folder? See dependency tree of meta Bug 124287. Usual local folder : Bug 41494 exists but seems to be already resolved. Search folder : Bug 286523 remains, and similar problem may occur for '?' IMAP folder : As seen dependency tree, several problems remains. (Q2) How many times did your rename a folder while single start of Thunderbird?
(A1) It's a normal local mail folder (not virtual, nor IMAP). I could not find any similarities related to Bug 41494 (A2) The problem was not during renaming. I "accidentally" noticed that I had "empty" folders and was pretty sure that they were not empty, which I could verify by checking the mail-file i nthe file-system. Again it was just by accident that I noticed after renaming the folder to a name without question mark the mails showed up immediately (no restart required)
Assignee: mscott → nobody
I'm experiencing similar problems, also under Mac OS X. I have a folder called "Berlin?". It contains messages -- the file is there and I can cat it in the terminal; it looks OK to the unaided eye. When I click on the folder in Thunderbird, I get a rotating wheel (the one with two black and two white quarter circles); no messages are shown, and the following exception is thrown: Fehler: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIMsgFolder.updateFolder]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: file:///Applications/Thunderbird.app/Contents/MacOS/modules/dbViewWrapper.js :: FolderNotificationHelper_notifyOnLoad :: line 131" data: no] I also twice got the following exception while navigating to the folder through its parent folders, but I don't know how to reproduce that: Fehler: uncaught exception: [Exception... "Component returned failure code: 0x80550005 [nsIMsgFolder.msgDatabase]" nsresult: "0x80550005 (<unknown>)" location: "JS frame :: chrome://messenger/content/mailWidgets.xml :: parseFolder :: line 2076" data: no] What alerted me to the problem were these two exceptions that were thrown while a lot of indexing was being done in the background and I wasn't using the UI (note the folder name, "Berlin?"): 2010-05-06 09:51:16 gloda.index_msg ERROR Problem entering folder: Berlin?, skipping. Error was: undefined:628: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIMsgLocalMailFolder.getDatabaseWithReparse]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: file:///Applications/Thunderbird.app/Contents/MacOS/modules/gloda/index_msg.js :: gloda_index_indexerEnterFolder :: line 628" data: no] 2010-05-06 09:51:16 gloda.indexer WARN Problem during [job:folder id:483 items:0 offset:0 goal:null], bailing. Problem was at undefined:628: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIMsgLocalMailFolder.getDatabaseWithReparse]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: file:///Applications/Thunderbird.app/Contents/MacOS/modules/gloda/index_msg.js :: gloda_index_indexerEnterFolder :: line 628" data: no] (These are shown as "Mitteilungen" (notifications), not as "Fehler" (errors) like the other ones.) Also, this all may or may not be related to bug 564128 that I just filed; the error I reported there appeared in the console during the same background indexing period as above.
I might add that I just switched to 3.0.4 yesterday -- under 2.x, I always had problems (crash or hang) when I tried a search in all folders, and I could only fix things by deleting all .msf files after that -- and I think the problem usually occurred when the search got near this folder, so that might be related.
Component: General → Folder and Message Lists
QA Contact: general → folders-message-lists
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.