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.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/1046531

Title:
  Thunderbird 15.0 crash with local Movemail account

Status in “thunderbird” package in Ubuntu:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1046531/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to