[Bug 276831] [NEW] Thunderbird crashes with "Segmentation Fault", debug log shows "failed creating protocol instance to play queued url", trying to download headers from Dovecot IMAP server

Earl Ruby eruby at switchmanagement.com
Wed Oct 1 18:21:37 UTC 2008


Public bug reported:

Binary package hint: thunderbird

Thunderbird 2.0.0.17 keeps crashing on Ubuntu 8.04 LTS with a
"Segmentation Fault" error just after I start it up, while I'm trying to
load the message headers in my Inbox. (e.g. I start Thunderbird, click
the Inbox folder, and it crashes while loading the message headers.)

I began starting Thunderbird in debug mode using this script to see if
that would shed any clues on what was going on:

------------------------------
#!/bin/sh

# Log Thunderbird imap traffic for debugging

MYDATE=`date "+%Y%m%d_%H%M%S"`
NSPR_LOG_MODULES=IMAP:5
NSPR_LOG_FILE=/tmp/thunderbird_${MYDATE}.log
export NSPR_LOG_MODULES NSPR_LOG_FILE

/usr/bin/thunderbird &
exit $?
------------------------------

The logs always show something like this just before the crash --
"failed creating protocol instance to play queued url" -- it crashes
retrieving different email messages, so it's not a corrupt message
that's causing the problem:

-1320940656[890ad80]: 8b8bf30:imap.switchmanagement.com:S-INBOX:CreateNewLineFromSocket:
-1320940656[890ad80]: ReadNextLine [stream=8c7aaa0 nb=3 needmore=0]
-1320940656[890ad80]: 8b8bf30:imap.switchmanagement.com:S-INBOX:CreateNewLineFromSocket: )
-1320940656[890ad80]: 8b8bf30:imap.switchmanagement.com:S-INBOX:STREAM:CLOSE: Normal Message End Download Stream
-1221605600[805d970]: queuing url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>2434>1
-1221605600[805d970]: considering playing queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: creating protocol instance to play queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: failed creating protocol instance to play queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: queuing url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>2435>1
-1221605600[805d970]: considering playing queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: creating protocol instance to play queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: failed creating protocol instance to play queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: queuing url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>2436>1
-1221605600[805d970]: considering playing queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: creating protocol instance to play queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: failed creating protocol instance to play queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: queuing url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>2437>1
-1221605600[805d970]: considering playing queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: creating protocol instance to play queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: failed creating protocol instance to play queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: queuing url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>2438>1
-1221605600[805d970]: considering playing queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1
-1221605600[805d970]: creating protocol instance to play queued url:imap://earl@imap.switchmanagement.com:145/addmsgflags>UID>.INBOX>1202>1

Since I'm using IMAP I tried clearing out the INBOX, INBOX.msf, and
INBOX.sbd/ files and letting Thunderbird rebuild them from scratch, but
that didn't help.

The IMAP server is using Dovecot 1.0.15. I also tried clearing out the
~/Maildir/dovecot* index files on the IMAP mail server and letting
dovecot recreate them, in case they were corrupt and dovecot was sending
erroneous messages to Thunderbird, but that didn't help either.


> lsb_release -rd
Description:    Ubuntu 8.04.1
Release:        8.04

> apt-cache policy thunderbird
thunderbird:
  Installed: 2.0.0.17+nobinonly-0ubuntu0.8.04.1
  Candidate: 2.0.0.17+nobinonly-0ubuntu0.8.04.1
  Version table:
 *** 2.0.0.17+nobinonly-0ubuntu0.8.04.1 0
        500 http://security.ubuntu.com hardy-security/main Packages
        100 /var/lib/dpkg/status
     2.0.0.16+nobinonly-0ubuntu0.8.04.1 0
        500 http://us.archive.ubuntu.com hardy-updates/main Packages
     2.0.0.12+nobinonly-0ubuntu1 0
        500 http://us.archive.ubuntu.com hardy/main Packages

** Affects: thunderbird (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Thunderbird crashes with "Segmentation Fault", debug log shows "failed creating protocol instance to play queued url", trying to download headers from Dovecot IMAP server
https://bugs.launchpad.net/bugs/276831
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to thunderbird in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list