Thunderbird hangs 2-5 minutes while composing messages



Message Compose Window
8 years ago
7 years ago


(Reporter: Frank Farance, Unassigned)


({hang, stackwanted})

Firefox Tracking Flags

(Not tracked)


(Whiteboard: closeme 2010-11-15)



8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2

When I type a message, the UI complete freezes: both the compose window and the main window are unresponsive.  After a couple minutes, they return back to normal (including the characters I've typed while it is hung).

Originally, I thought this might be related to attachments and sync-ing with the Drafts folder, but it is still a problem with a short message of a two sentences.

Sometimes it hangs for 5 minutes.  Sometimes it hangs indefinitely and it has to be killed.

Reproducible: Sometimes

Comment 1

8 years ago
1. are you coming from version 2?
2. when you see this problem, what is the Thunderbird process's memory and cpu
usage? Use the description at to
know where to look and exactly what column to use
Franck, next time this happens could you follow the instructions at and give us a stack trace please ?
Keywords: hang

Comment 3

8 years ago
OK, I have comments 1 and 2 and I will do them next time.

I read the article "How to get a stacktrace ...", but I have one question.  If the debugger is unresponsive to commands while the process is running (according to this article), then how do I get the debugger's attention to type a command?

(FYI, I'm familiar with various *nix debuggers.)

Comment 4

8 years ago
I've never seen the debugger be not responsive. The debugger attaches the thunderbird process - it is in control, not thunderbird.

Comment 6

8 years ago
(In reply to comment #5)
> be aware that lightning can cause perf issues. see 
>  Bug 441710 - Thunderbird compose and UI occasionally freezes/slow for 3-60
> seconds unexpectedly and continually - caused by calendar/lightning issues
> ...

The hang occurs when I am typing text into a new message.  I am not using any calender/contact features at that point.  Also, although Lightning is installed, I don't use it for calendaring (I use Outlook for that).

Comment 7

8 years ago
Frank, imap accounts, or pop?  What is account server settings for get new messages?  And for Draft auto save in Options, composition?
Keywords: stackwanted
Summary: Thunderbird hangs while composing messages → Thunderbird hangs 2-5 minutes while composing messages

Comment 8

8 years ago
good for us, is 5 minutes (or even less) makes it easy to get a stacktrace with windbg.  

instructions at (just replace thunderbird every where you see firefox). configure windbg ahead of time (set symbol server, etc) and you can leave windbg running until you see the hang in thunderbird. Then in windbg do File > Attach to a Process > pick thunderbird.exe and OK. paste in and run
~* kp;!analyze -v -hang;lm

save the results as text file, and attach the file to this bug.
Whiteboard: closeme 2010-11-15
RESOLVED INCOMPLETE due to lack of response to last question. If you feel this change was made in error, please respond to this bug with your reasons why.
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE

Comment 10

7 years ago
IMAP server is dovecot

port: 587
(same settings as inbound for use, STARTTLS, etc.)

user name: yyy
connection security: STARTTLS, if avail
check for new messages every 1 minutes
You need to log in before you can comment on or make changes to this bug.