Closed Bug 1336798 Opened 8 years ago Closed 8 years ago

loss of emails on laptop lid close if directly after Thunderbird startup

Categories

(Thunderbird :: General, defect)

45 Branch
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: buecher, Unassigned)

Details

(Whiteboard: [closeme 2017-04-01])

User Agent: Mozilla/5.0 (Windows NT 10.0; rv:51.0) Gecko/20100101 Firefox/51.0 Build ID: 20170125094131 Steps to reproduce: start windows 10 start thunderbird profile question came up, select profile Thunderbird main window comes up Shut down windows immediately by closing laptop screen Actual results: all emails in inbox are gone. Other folders are ok. IMAP: server fortunately not affected, loss of emails ois only locally (but all tags etc. are gone now after resync) Inbox 9 file is still there in profile, with 6 GB size after repairing inbox from properties, this file is gone as well. Expected results: if there is more time between Thunderbird startup and laptop sleep/shutdown, inbox stays intact. So on initial startup Thunderbird seems to do something to inbox that might be dangerous to interrupt
maybe not a very common scenario, but still: incoming phone call, having to run somewhere with laptop, could cause an immediate shutdown after a Thunderbird start has been initiated.
Severity: normal → critical
Component: Untriaged → General
Summary: loss of emails on laptop lid close if directly after startup → loss of emails on laptop lid close if directly after Thunderbird startup
What antivirus software do you use? Does this happen for ALL imap accounts? How many accounts, and what are ISP? (you can copy from Help | Troubleshooting) (I sleep my laptop multiple times a day and have not had trouble)
Kaspersky. Happens only for the inbox on display. I have 5 IMAP accounts. All are hosted inside LAN on our own hmailserver. Happens only if set to Win 10 sleep mode immediately after Thunderbird window opens. I think there was not more than 10 sec between 3 pane opening and closig the lid. If more time before shutdown, I never had problems. Iassume TB was not finished starting up when Windows shut down. Still, inbox should not totally disappear. I just had a similiar event on a PC: TB running for several hours. Stop IMAP server. PC is busy copying 300GB over the local network in another task. During that tine, restart IMAP server. TB begins to re-download all 18000 emails of inbox. Why has it lost its sync? Normally, I can shutdown IMAP server whenever I want, without problems to TB. Thanks, Klaus
is there a way to save the tags against the email id, so that that can be restored after mailbox re-sync?
FWIW, I cannot reproduce any problems related to sleeping windows. Can you reproduce this behavior if Windows 10 is started in safe mode? - win10 https://support.microsoft.com/en-us/help/12376/windows-10-start-your-pc-in-safe-mode (In reply to klaus from comment #4) > is there a way to save the tags against the email id, so that that can be > restored after mailbox re-sync? No.
Flags: needinfo?(buecher)
Please test with safe mode
Whiteboard: [closeme 2017-04-01]
not sure this has high priority, maybe close issue? Most likely scenario: TB was starting up and not finished, had msf file open. Closing laptop lid made Windows force-shutdown TB. This destroyed msf file. It probably needs a large msf file (=long TB startup time) for that to happen - after full TB startup, one can force-close TB without any problems. I don't have any experimental TB installation with large msf file (the inbox had 6 GB). So I don't know how to safely try it, and it might be a scenario that comes up very rarely. thanks for your attention to this. Klaus
(offtopic) thanks Wayne, that helped to understand what happened for Bug 1336798. Klaus
It seems in comment 7 that you are saying you can't reproduce. If you can't reproduce, there isn't much point in speculating about potential causes.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(buecher)
Resolution: --- → INCOMPLETE
well .... I think I could reproduce if I would be willing to risk again my main mailbox. If it reproduces on my main mailbox, I will loose my tags again, which is not an option. At the moment, I do not have the PC to install a copy of the mailserver on another PC, so I don't see a scenario how to go on. I think, using a development mailbox with 100 messages will indeed not reproduce the failure. My inbox has 19000 messages which might be the cause for this. (TB startup not finished when Windows shutting down).
You need to log in before you can comment on or make changes to this bug.