Closed Bug 565638 Opened 14 years ago Closed 7 years ago

crash [@ nsCOMPtr_base::assign_with_AddRef(nsISupports*) | nsSocketTransport::SendStatus(unsigned int)] when server lost or unstable

Categories

(MailNews Core :: Networking, defect)

x86
All
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: wsmwk, Unassigned)

Details

(Keywords: crash, Whiteboard: [revisit 2015-05-01][needs protocol log])

Crash Data

crash [@ nsCOMPtr_base::assign_with_AddRef(nsISupports*) | nsSocketTransport::SendStatus(unsigned int)]

~#60 crash for 3.0.4
~#20 for 3.2a1pre

bp-5ee38c9f-ccbb-4d18-bbac-958892100512 (bulk3) windows 3.2a1pre 20100511035848
bp-4c549937-a274-41b7-a582-e9df92100505 (john) linux
0	libxpcom_core.so	nsCOMPtr_base::assign_with_AddRef	 nsCOMPtr.cpp:88
1	thunderbird-bin	nsSocketTransport::SendStatus	nsCOMPtr.h:632
2	thunderbird-bin	nsSocketTransport::InitiateSocket	netwerk/base/src/nsSocketTransport2.cpp:1164
3	thunderbird-bin	nsSocketTransport::OnSocketEvent	netwerk/base/src/nsSocketTransport2.cpp:1447
4	thunderbird-bin	nsSocketEvent::Run	netwerk/base/src/nsSocketTransport2.cpp:98
5	libxpcom_core.so	nsThread::ProcessNextEvent	xpcom/threads/nsThread.cpp:521
6	libxpcom_core.so	NS_ProcessNextEvent_P	nsThreadUtils.cpp:236
7	thunderbird-bin	nsSocketTransportService::Run	netwerk/base/src/nsSocketTransportService2.cpp:581 

regression perhaps? The earliest I find is b6f9cfc2-3711-44d9-9897-031fb2091207 (lykourgi) 3.0b3 20090715140311 ... no others found through January 1 2009
hi:
I run the nightly builds (or whatever it is you automatically send me via the check-for-updates auto-notificdation service.)

I use IMAP over SSL.  I poll two servers.  One of those servers is unstable.  It does a soft restart every night (I suppose to change log files or something).  In so doing, it stops responding to IMAP/ssl.  I go in and manually issue a restart on the server and that fixes it up for another day.
(YES, I am moving off of that server; it is a pain in the ass...)

In the mean time, I frequently get onto my laptop in the morning and find that TBird has croaked over night.  I assume it was polling the deceased server and doesn't properly handle the failure of the server??

A couple of times, I have found Tbird alive in the morning.  I go ahead and restart the mail server anyway (autonomic reflex at this point).  I may then use Tbird for a while and when I go to send out my first mail of the day, Tbird will crash.  [This doesn't happen too often.]

That's about all the info I can provide off the top of my head.  Do you have any questions?

Thank you for examining this issue.

Bob
Bob, an IMAP protocol log of a crashing session (in particular, the end of the log) might be helpful:

https://wiki.mozilla.org/MailNews:Logging
A ok.  I think it is logging.  (File is up to 800k already.)

Can you recommend a windows equivalent of the unix "tail" program, so that I can take a look at the log file from time to time?

(I'm running XP SP3; some of the tail-like windows utilities are circa 2000; so am reluctant to just grab without asking for recommendations for a utility that is known to work ok in more modern windows OS (if Windows can be called modern...)

Bob
we use cygwin tools here and have for a very long time.
Crash Signature: [@ nsCOMPtr_base::assign_with_AddRef(nsISupports*) | nsSocketTransport::SendStatus(unsigned int)]
still needs imap:5 protocol log for bienvenu
https://wiki.mozilla.org/MailNews:Logging

crash still going strong.
Whiteboard: [needs protocol log]
~#68 crash for TB17.0.2

but so few crashes with email addresses. And the few people I've had contact with indicate it crashes for them only once.  thus so far impossible to get a protocol log. looking for NSPR_LOG_MODULES=nsSocketTransport:5,imap:5

bp-d745927a-ce34-4134-87d1-6d5272130209
related to aceman's bug 849585 comment 1?

linux nsCOMPtr_base::assign_with_AddRef | nsSocketTransport::SendStatus
"The IMAP server it was connecting to shut-down."
bp-4e34ebce-3b65-410f-a043-a0b382130820
Crash Signature: [@ nsCOMPtr_base::assign_with_AddRef(nsISupports*) | nsSocketTransport::SendStatus(unsigned int)] → [@ nsCOMPtr_base::assign_with_AddRef(nsISupports*) | nsSocketTransport::SendStatus(unsigned int) ] [@ nsCOMPtr_base::assign_with_AddRef | nsSocketTransport::SendStatus ]
Flags: needinfo?(acelists)
Summary: crash [@ nsCOMPtr_base::assign_with_AddRef(nsISupports*) | nsSocketTransport::SendStatus(unsigned int)] → crash [@ nsCOMPtr_base::assign_with_AddRef(nsISupports*) | nsSocketTransport::SendStatus(unsigned int)] when server lost or unstable
xunxun, do you still crash?

Jack had ths crash about a year ago bp-607f511f-4536-4e61-8821-7ea8e2120925
Flags: needinfo?(xunxun1982)
Hello:
I have not had the crashing problem in so long I can't remember when.  Whatever you folks did, you fixed it.  

Thank you!
Bob
(In reply to Wayne Mery (:wsmwk) from comment #8)
> xunxun, do you still crash?
> 
> Jack had ths crash about a year ago bp-607f511f-4536-4e61-8821-7ea8e2120925

I have not come across the crash for a long time.
Flags: needinfo?(xunxun1982)
I got no reply in that bug so I have no idea.
Flags: needinfo?(acelists)
Bob indicates he will retest in a few weeks.
Flags: needinfo?(enger)
Whiteboard: [needs protocol log] → [revisit 2015-05-01][needs protocol log]
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
This is rare for current versions. And Bob is no longer reachable
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(enger)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.