I found a bug in thunderbird (mozilla-thunderbird-1.5-r3). This is cause by a mail containing an invalid date. Here two examples where it crash Thunderbird:
Date: Sun, 9 Apr 2006 19: 4:41 0000
Date: Sun, 9 Apr 2006 19: 4:41 0500
but its working fine if its:
Date: Sun, 9 Apr 2006 19: 4:41 -0500
Date: Sun, 9 Apr 2006 19:34:41 0000
I use imap and when I try to open a mail with an invalid date (or a folder when this mails are unread), Thunderbird crash with this error:
Assertion failure: tm.tm_month > -1 && tm.tm_mday > 0 && tm.tm_hour > -1 && tm.tm_min > -1 && tm.tm_sec > -1, at ../../../../mozilla/nsprpub/pr/src/misc/prtime.c:1558
/usr/libexec/mozilla-launcher: line 117: 23292 Abandon "$mozbin" "$@"
thunderbird-bin exited with non-zero status (134)
These emails were spams. I wasn't able to use Thunderbird until I removed the mails manually (when they were in my inbox). This problem is not limited to folder inbox, it may happen anywhere.
There is a thread related to this bug in Gentoo forum:
*** This bug has been marked as a duplicate of 119677 ***