mozilla-thunderbird freezes after downloading mail

Bug #58008 reported by Rudi von Staden
32
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mozilla-thunderbird (Ubuntu)
Fix Released
Medium
Mozilla Bugs

Bug Description

Binary package hint: mozilla-thunderbird

I have a number of email accounts defined in Thunderbird - two POP3 accounts and three IMAP4 accounts. Accessing mail was working fine until three days ago.

When I download my mail, thunderbird will freeze once all the messages are downloaded on the POP accounts (using approximately 90% of cpu resources according to top). It will not delete the messages from the server, but all the messages are fully downloaded. On the IMAP accounts it will freeze before opening the folder and showing the contents.

According to the Strace output, it appears to be waiting on some event which is timing out.

I did not deliberately make any changes to Thunderbird's configuration before these issues began. I may have updated my system though.

Revision history for this message
Rudi von Staden (rudi) wrote :

Could not get a backtrace output (program frozen, not crashed). Strace output attached.

Revision history for this message
Rudi von Staden (rudi) wrote :

Mozilla-thunderbird version 1.5.0.5.
Running on Ubuntu Dapper Drake 6.06

Revision history for this message
Rudi von Staden (rudi) wrote :

Problem solved by moving (or deleting) the old ~/.mozilla-thunderbird directory and reinstalling thunderbird.

Revision history for this message
Rudi von Staden (rudi) wrote :

Some experimenting by copying files from the old (broken) profile to the new (working) profile leads me to believe that the training.dat file was the source of the problems. It would make sense that the freezing was happening at the same time as the junk mail controls were being applied.

When I copied training.dat into my thunderbird profile folder, the same errors occurred again. Deleting the file made the error go away, which leads me to believe that if I had simply deleted training.dat in the first place from ~/.molzilla-thunderbird/*.default/, I would not have had to delete my profile.

Faulty training.dat attached.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Is this still an issue for you? We are trying to trying sort out the older Mozilla issues and would like to know if this still happens.

Changed in mozilla-thunderbird:
assignee: nobody → mozillateam
status: Unconfirmed → Needs Info
Revision history for this message
Rudi von Staden (rudi) wrote :

Deleting the training.dat file resolved the problem, and it has not recurred since. It is no longer an issue for me.

Revision history for this message
Alexander Sack (asac) wrote :

do you still have the broken training.dat somewhere, so we can investigate?

Revision history for this message
Rudi von Staden (rudi) wrote :

It's attached with one of my previous comments. This link should also work:

http://librarian.launchpad.net/4032408/training.dat

David Farning (dfarning)
Changed in mozilla-thunderbird:
assignee: mozillateam → mozilla-bugs
Changed in mozilla-thunderbird:
importance: Undecided → Medium
Revision history for this message
DPashkin (dpashkin) wrote :

Same problem.

;m running 7.04 Feisty
My Tbird is 2.0

I have two partitions (Win and Ubuntu) and my local folders for Tbird is on Win partition, so my thunderbirds are synced no matter what partition. So I have tried deleting training.dat from win partition and it didn't work. I've tried to find one on Linux partition and couldn't. So the error is still open.

Let me know if you need any more info.

Revision history for this message
Keith Drummond (kd353) wrote :

Hello,

I had the same problem after installing Thunderbird 2.0 (from 1.5). I am running Ubuntu 7.04. But I went into my home folder, selected "view all hidden files" and found two Thunderbird folders (mozilla-.thunderbird & .thunderbird). After deleting the "mozilla-.thunderbird" folder the problem has not reacurred (Yet).

Revision history for this message
dpchem (peryshkov) wrote :

Same problem for me after upgrade to Gutsy (i.e. Thunderbird 2.0 from 1.5). I deleted training.dat from .mozilla-thunderbird/profile_name folder but it did not solve the problem -- it still freezes when new mail arrives. I would not like to delete .mozilla-thunderbird folder since I need my stored mail.

Revision history for this message
Tangui (tanguim) wrote :

I had the same problem. It was due to sound alerts.
I disabled "Play a sound" "When new messages arrive" (Preferences -> General), my thunderbird works now properly.

Revision history for this message
Mtx (faro-mtx-electronics) wrote :

I upgraded to Gutsy & started to have the same problem, I followed Tangui's suggestion (disabled "Play a sound") and everything seems to work now.

Thanks.

Revision history for this message
Dimitris Kavroudakis (dimitrisk) wrote :

same here. Ubuntu 8.04 with Thunderbird 2.0.0.14(20080505). Disabling the sound notification, the freezing problem stopped.
Is this a sound card problem or what?

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: [Bug 58008] Re: mozilla-thunderbird freezes after downloading mail

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dimitris Kavroudakis wrote:
> same here. Ubuntu 8.04 with Thunderbird 2.0.0.14(20080505). Disabling the sound notification, the freezing problem stopped.
> Is this a sound card problem or what?
>
Did you add your own sound to thunderbirds option or is it the one that
came on it by default, reason i ask is because in imap or pop3 i cant
reproduce this in version 2.0.0.14+nobinonly-0ubuntu2 Dimitris, What is
the output of apt-cache policy for you. can you please paste the full
output. Everyone else seeing this bug please do the same. If you dont
want to add it to bug report for any reason you can email me directly
with the output.

- --
Sincerely Yours,
    John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIeHDNqig4QTwcPCoRAteMAJ9D0GS9ZOXUa5/BaGDhupzFuodJNQCdEC+t
/AAUuGcQ88eoIsg7lbYBZJo=
=vlq4
-----END PGP SIGNATURE-----

Revision history for this message
tof (giovanni-toffetti) wrote :

Same Here on Gutsy, Thunderbird version 2.0.0.14 (20080505). I confirm switching back to the default sound the problem is over.

Revision history for this message
glenn (glenn-backupbrain) wrote :

On Hardy with Thunderbird 2.0.0.16 (20080424).

No change on turning off the sound notification. On deleting the training.dat file, Thunderbird stopped freezing after downloading mail and instead crashed!

The window disappeared and the process terminated!!

Anyone have any other ideas?

Revision history for this message
glenn (glenn-backupbrain) wrote :

Appears to be fixed by disabling the "Show an alert" for new messages option.

Revision history for this message
voltaic (voltaic) wrote :

I can confirm that Thunderbird 2.0.0.21 also freezes upon starting the application when it tries to download messages from an IMAP server. I am using Ubuntu 9.04. The application hangs maybe 1 out of 10 launches, but the problem is somewhat reproducible.

Backtrace is attached.

I disabled the notification sound; I will report back with the results in a few days.

Revision history for this message
Przemek K. (azrael) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner.
There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test the current Ubuntu development version (10.04). If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect 58008, and any other logs that are relevant for this particular issue.

Revision history for this message
leeight (leeight) wrote :

after disable notification and play sound, i still can't resolve this problem

Revision history for this message
leeight (leeight) wrote :

i'm using 10.04 with thunderbird 3.0.4

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for reporting this bug.

Does this occur in Maverick?

Revision history for this message
pippo (homephilsch) wrote :

I can confirm that this occurs also under Maverick and TB 3.1.7.
TB completely freezes when receiving email if sound alert (with custom wav file) is enabled.
I had the speakers off and couldn't figure out why TB freezes.
Now I'm sure it is because of the sound, but why does it freeze?
Does the "sound playing" start in a new thread? Could that be the prob, that the sound blocks the application due to missing multi-threading feature here? Sorry that I didn't check the code for that...

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Can you please retest with the newest version of Mozilla Thunderbird? Thank you!

Revision history for this message
pippo (homephilsch) wrote :

It now plays the sound w/o freezing anymore. NICE. Thx.
The kind of freeze that I've experienced before was solved.
Don't know about the others

Changed in mozilla-thunderbird (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.