Delete followed by undo 3 times leads to crash



MailNews Core
8 years ago
8 years ago


(Reporter: Alexey Spiridonov, Unassigned)


({crash, stackwanted})

Firefox Tracking Flags

(Not tracked)




8 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100217 Shredder/3.0.3pre


1) Open Thunderbird with fresh profile.
2) Set up IMAP account.
3) Select message (I tried a few).
4) Delete, undo, delete, undo, delete, undo


Thunderbird exits without any warning

Expected action: 

I should be able to do this until I get sick of it.

Further notes:

1) If I wait for all the background activity (moving, deleting and loading) to settle down before each step, the crash does not happen. However, this takes 3-5 seconds each time, so one cannot expect users to wait.

2) For some messages, I cannot undo the delete. That's a possible fix, I guess, but going through the Trash to pull out an accidentally deleted message is not my idea of fun. *goes to wash hands*

What happens in the "cannot undo" case is this: 

1) The e-mail pops back into the list for half a second.
2) It then disappears.
3) Redo and Undo seems to bring it back.
3) I have been able, by a sequence of Undo and Redo to get 2 copies of the message.
4) The whole thing is mildly unpredictable, although it always happens to a particular message.
5) If I wait for background activity to complete, the bug does not happen. However, I do get a "vanish and reappear" effect when the deletion is undone.

Reproducible: Always

Comment 1

8 years ago
imap account?
Component: Folder and Message Lists → Backend
Keywords: crash
Product: Thunderbird → MailNews Core
QA Contact: folders-message-lists → backend

Comment 2

8 years ago
Wayne: yes, as I wrote in (2) of "Steps".
can you follow replace firefox by thunderbird. Would be very nice to have a stack trace.

Comment 4

8 years ago
I can't reproduce with current trunk and there is no stacktrace, so 
=> incomplete
Alexey if you can reproduce, please attach stacktrace as a file to the bug
Last Resolved: 8 years ago
Keywords: stackwanted
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.