Thunderbird 15.0 crash with local Movemail account

Bug #1046531 reported by fimbles
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After upgrading to Thunderbird package 15.0+build1-0ubuntu0.12.04.1 on Ubuntu 12.04.01 LTS 64bits, it keeps crashing at startup.
I use it with a local Movemail account. The problem is the same reported here :
https://bugzilla.mozilla.org/show_bug.cgi?id=787605

Thunderbird started fine with an empty .thunderbird folder. After configured a local Movemail account, it crashed and kept crashing at startup.

It worked fine with Thunderbird 14.0

Running thunderbird -g gives :
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff39f66f8 in nsMovemailService::GetNewMail (this=0x7fffd8fb7ae0,
    aMsgWindow=<optimized out>, aUrlListener=<optimized out>,
    aMsgFolder=<optimized out>, movemailServer=<optimized out>,
    aURL=<optimized out>)
    at /build/buildd/thunderbird-15.0+build1/./mailnews/local/src/nsMovemailService.cpp:465
465 /build/buildd/thunderbird-15.0+build1/./mailnews/local/src/nsMovemailService.cpp: No such file or directory.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunderbird (Ubuntu):
status: New → Confirmed
Revision history for this message
Drew MacInnis (drewmacinnis) wrote :

In my case, it turns out the problem is related to bad mail headers in my mail spool file. I built thunderbird locally on my machine so I could better debug the crash:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff39f5034 in nsMovemailService::GetNewMail (this=0x7fffd9f4ed40, aMsgWindow=<optimized out>,
    aUrlListener=<optimized out>, aMsgFolder=<optimized out>, movemailServer=<optimized out>, aURL=<optimized out>)
    at /home/drewm/projects/thunderbird/thunderbird-15.0.1+build1/./mailnews/local/src/nsMovemailService.cpp:465
465 outputStream->Write(buffer.get(), buffer.Length(), &bytesWritten);
(gdb) print buffer
$1 = {<nsFixedCString> = {<nsCString> = {<nsACString_internal> = {
        mData = 0x7fffffffafb8 "rom drewm Fri Oct 12 08:55:12 2012\n", mLength = 36,
        mFlags = 65553}, <No data fields>}, mFixedCapacity = 63,
    mFixedBuf = 0x7fffffffafb8 "rom drewm Fri Oct 12 08:55:12 2012\n"},
  mStorage = "rom drewm Fri Oct 12 08:55:12 2012\n\000\177\000\000@\r\245\323\377\177\000\000\224I\244\026\000\000\000\000\224I\244\026\000\000\000"}
(gdb) print outputStream
$2 = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
(gdb)

The mStorage line begins with "rom" instead of "from" and it appears that outputStream is null in this case.

If I repair my mail spool and correct this header then Thunderbird starts without crashing.

Revision history for this message
Paul White (paulw2u) wrote :

Further to comment #3, as Ubuntu and Thunderbird versions both long time EOL, and no comments for over 6 years I'm marking this as "Invalid" to close.

Changed in thunderbird (Ubuntu):
status: Confirmed → Invalid
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.