Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 129814

Summary: Thunderbird crash with mail that contains invalid date
Product: Gentoo Linux Reporter: Jean-Sébastien Côté <js_cote>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jean-Sébastien Côté 2006-04-13 08:22:29 UTC
Hi,

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:
http://forums.gentoo.org/viewtopic-t-436043.html
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-13 08:39:34 UTC

*** This bug has been marked as a duplicate of 119677 ***