Closed Bug 79956 Opened 25 years ago Closed 18 years ago

Empty trash on first run after migration deletes trash folder

Categories

(MailNews Core :: Database, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tthuhta, Assigned: Bienvenu)

References

Details

Took empty trash from file menu on mail&news. The trash folded of an account disappeared. Now it won't delete any messages.
Please always include a build ID (or otherwise indicate when the build was made) A similar bug 66295 was reported on Windows, but later marked WFM.
QA Contact: esther → sheelar
buildid: 2001051006 empty trash works for me. Trash folder was not deleted. Reporter, Are you able to reproduce?
> ------- Additional Comments From sheelar@netscape.com 2001-05-10 11:53 ------- > buildid: 2001051006 empty trash works for me. Trash folder was not deleted. > Reporter, > Are you able to reproduce? Yes, I just did it again. I did "rm -rf .mozilla" and i started mozilla again and I let it convert my settings from Netscape 4.7. Then I clicked on the mail icon at the lower left area, did File-Empty trash, and it happened again. I did it twice - Same thing - Trash was no longer there. It is really peculiar if it happens only on me. I'm, using the 0.9 for Linux. My system is Mandrake 7.2 and my hardware is AMD K6-2-350, Asus A5B mother, 192 Mb mem. If it helps. Tommi
So you didn't have any database filesn(.msf) at all for your trash folder because you removed them all? I'll try that and see if it causes the problem.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
I was not able to recreate this on windows 2K. I'm not sure why this would linux-specific. Can you recreate this by just deleting the .msf files, and not running the profile migration? Here's what I did: delete the .msf files for my local directory. restart, open the local inbox, and do a file | empty trash The trash folder was not deleted.
Trash wasn't deleted just by deleting .msf files on Linux either. I tried to look at the problem closer. I deleted .mozillla again and converted from 4.7 again. Then after 'empty trash' trash folder disappears from the folder list, but actually it is neither deleted or emptyed. After restart trash is there again with all the messages in it. So is there a database of existing folders somewhere and the conversion program doesn't do it right, mozilla mail gets confused but fixes it on exit. I don't know.
This might be related to a profile migration problem that Cavin is working on. Cc'ing him.
changing summary and priority. I'll go add myself to the cc list of the bug that Cavin is working on and try to get you to retest this after he fixes the profile migration problem.
Priority: -- → P3
Summary: Empty trash deletes trash folder → Empty trash on first run after migration deletes trash folder
I'm seeing a very simular bug, that happend very differently. I have a 6.1 profile that I started using when 6.1 came out, and have regularly been using it for my email, today when I went to delete an email, it refused to delete that email, or any other email in that folder. And I couldn't drag drop that email to trash or any folder within that server. (but could drop it into the trash bin in the local folder) I tried to empty the trash bin, and the trash bin disappeared, and then reappeared when I restarted the program, but still didn't work. So I don't think this is nessesarly a profile migration thing, something just broke, and I don't know what. Any suggestions in how to fix this profile? (note other profiles work fine)
Ok now it started crashing right after emptying trash/trash dissapearing Talkback TB34477544E
Ok very strange, after crashing it 3 times (may have been 2 wouldn't swear on the count) it suddenly started working fine. And I can delete items and empty trash like normal. Sorry I only have that talkback from the first crash. BTW this all was in Window 98 :)
unfortunately, I can't get through to talkback to look at the stack. Johnlar, are you using IMAP or POP3?
POP, and strangly there does seem to be an option to show me the stack to a talkback I sent, in the program. I can only delete them, is there something I'm missing?
Here is the stack trace submitted by Johnlar as per the talkbackid given in this bug Stack Signature: nsMsgDatabase::GetThreadForSubject nsMsgDatabase::GetThreadForSubject [d:\builds\seamonkey\mozilla\mailnews\db\msgdb\src\nsMsgDatabase.cpp, line 3186] nsMsgDatabase::ThreadNewHdr [d:\builds\seamonkey\mozilla\mailnews\db\msgdb\src\nsMsgDatabase.cpp, line 3247] nsMsgDatabase::AddNewHdrToDB [d:\builds\seamonkey\mozilla\mailnews\db\msgdb\src\nsMsgDatabase.cpp, line 2569] nsMsgMailboxParser::PublishMsgHeader [d:\builds\seamonkey\mozilla\mailnews\local\src\nsParseMailbox.cpp, line 351] nsMsgMailboxParser::HandleLine [d:\builds\seamonkey\mozilla\mailnews\local\src\nsParseMailbox.cpp, line 415] nsMsgLineBuffer::ConvertAndSendBuffer [d:\builds\seamonkey\mozilla\mailnews\base\util\nsMsgLineBuffer.cpp, line 218] nsMsgLineBuffer::BufferInput [d:\builds\seamonkey\mozilla\mailnews\base\util\nsMsgLineBuffer.cpp, line 191] nsMsgMailboxParser::ProcessMailboxInputStream [d:\builds\seamonkey\mozilla\mailnews\local\src\nsParseMailbox.cpp, line 272] nsMsgMailboxParser::OnDataAvailable [d:\builds\seamonkey\mozilla\mailnews\local\src\nsParseMailbox.cpp, line 74] nsMailboxProtocol::ReadFolderResponse [d:\builds\seamonkey\mozilla\mailnews\local\src\nsMailboxProtocol.cpp, line 503] nsMailboxProtocol::ProcessProtocolState [d:\builds\seamonkey\mozilla\mailnews\local\src\nsMailboxProtocol.cpp, line 663] nsMsgProtocol::OnDataAvailable [d:\builds\seamonkey\mozilla\mailnews\base\util\nsMsgProtocol.cpp, line 243] nsOnDataAvailableEvent::HandleEvent [d:\builds\seamonkey\mozilla\netwerk\base\src\nsStreamListenerProxy.cpp, line 188] PL_HandleEvent [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 591] PL_ProcessPendingEvents [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 524] _md_EventReceiverProc [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 1072] KERNEL32.DLL + 0x24407 (0xbff94407) 0x00688b5e
Emptying trash deletes the Trash folder on Linux rc3 as well as today's nightly build. This is with rc3 installed as root and run as a user, then with the nightly build installed as the user Mozilla is run as. After Trash is lost, mail cannot be deleted. The mail is POPed, the boxes are local.
*** Bug 225368 has been marked as a duplicate of this bug. ***
*** Bug 220631 has been marked as a duplicate of this bug. ***
*** Bug 220631 has been marked as a duplicate of this bug. ***
Product: MailNews → Core
Are there any updates on this bug? I see the same behavior in WinXP. I saw this bug happen in v1.0, and still in v1.07. It doesn't seem to matter whether I'm doing an update or not. When I let my trash folder accumulate enough emails, I empty it, causing the folder to dissappear and preventing me from any further deletes. When I close and reopen Thunderbird, the folder reappears and I can delete mail files again.
as with bug 45777... ->WONTFIX since 4.x migation has been dropped on trunk. If one has an overwhelming need to see this fixed on branch, please attach a patch and reopen the bug. Also, evaluate whether the issue is a bug or an enhancement request and adjust severity accordingly. filter bugmail for "4.xmidrop" to delete these messages.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.