Closed Bug 484274 Opened 15 years ago Closed 12 years ago

unstable internet/mailserver connectivity results in "program not responding"

Categories

(MailNews Core :: Networking, defect)

1.9.1 Branch
x86
Windows Vista
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: raoul, Unassigned)

Details

(Keywords: hang, stackwanted)

Attachments

(1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b4pre) Gecko/20090319 Shredder/3.0b3pre

right now, i am in albania and have got a very unstable internet connection.
every time the connection is interrupted ( i cannot say for sure if it is a) the wlan, b) the connection to the isp or c) the connection/routing to my email server ) the program is marked as "not responding" and the only thing i can really do is forcing a program-shutdown by windows.

somehow, thunderbird is not handling this connection interruption well.

btw. my ip at the isp did not change then. i also have got no logfiles from the 
server (as of now) to verify the connection from this side.

i can only say that i never noticed such a behavior with the current thunderbird stable with my broken internet connection at home and never noticed such a behavoir with the current thunderbird nightlys and a decent internet connection.

cheers,
raoul

Reproducible: Sometimes
Component: General → Networking
Product: Thunderbird → MailNews Core
QA Contact: general → networking
Version: unspecified → 1.9.1 Branch
i can reproduce it in two ways

1. if the network is disconnected at my laptop (e.g. wifi connection is 
   interrupted or the networking cable is pulled) and 1-2 minutes pass, 
   thunderbird is not responding

2. if i close my laptop (hybernation or standby), thunderbird is not responding

i am currently using:
 Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b4pre) Gecko/20090323 Shredder/3.0b3pre
I saw that myself a couple of times.

David, Mark anything we should provide when this happens - what would be helpfull to figure out what is going on ?
Status: UNCONFIRMED → NEW
Ever confirmed: true
raoul, are you using an imap server?

Could you try a later build than 20090323, we have fixed one problem (bug 484377) that may have been affecting you.
i am currently on Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b4pre) Gecko/20090325 Shredder/3.0b3pre

i am on imaps

1. open thunderbird
2. click on a message to open a preview
3. unplug networking cable from my laptop
4. wait for a couple of minutes
5. thunderbird seems to be checking something. i have the busy curoser (the circle on vista) and the program is not responding anymore

i will now leave the cable plugged in and leave thunderbird running to see if i encounter any other error
I can reproduce this with 3.1b1pre + vista. It looks to me like thunderbird isn't going offline when it should
1. set new mail check to 2 minutes
2. send my self a message
3. disconnect cable
4. wait a minute
5. click inbox

actual results: spinning throbber, UI is totally greyed out, status bar "Connecting to <server>...", all UI is inaccessible (click a message and it won't select, click any other folder and it won't select), thunderbird cpu looks to be zero

expected results: thunderbird goes offline

plug network back in, thunderbird is still hung

I don't see any related core http://bit.ly/cnwr6d or thunderbird bugs http://bit.ly/dninPb except possibly  Bug 493005 -  hang going offline

And very odd, I don't see "(not responding" in the windows title bar. Which makes me wonder, is there a vista problem??

ludo, i think you mentioned this on the call today, but for you it is pop?

raoul, do you still see this in latest versions of 3.0 or 3.1?
Severity: normal → critical
Keywords: hang
Attached file hang stacktrace (obsolete) —
ludo says we want a stack trace
https://developer.mozilla.org/En/How_to_get_a_stacktrace_for_a_bug_report

better queries - but they find nothing better:
thunderbird http://bit.ly/903M8b
core http://bit.ly/bNTgiv
Whiteboard: [has stacktrace]
rsx11m, you're still on XP right? Can you have a crack at this.

I can't reproduce this on XP with today's 3.1b1pre
With the steps to reproduce in comment #5 and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2, disconnecting the network cable results in TB correctly going offline with IMAP over SSL. I'm not using offline synchronization, thus I can see the cached messages and get the "The body of this message has not been downloaded from the server for reading offline. To read this message,.." notice when a non-cached message is selected. Replugging the network cable, TB goes online again and reconnects. No hang.
Another test: Rather than pulling the network cable I've blocked Thunderbird
in the firewall for all incoming and outgoing connection. In this setting, it wouldn't go offline, but correctly reported a connection time out when I was trying to look at a non-cached message.
wsmwk: you'd need to have symbols loaded

001df944 6ee8e68b thunderbird!nsScriptableRegion::operator=+0x3d860

means you don't have them.

i think http://symbols.mozilla.org/thunderbird/ is the url, follow the general instructions in https://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg
(In reply to comment #10)
> wsmwk: you'd need to have symbols loaded
I must have forgot to reload symbols in that iteration prior to breaking network connection.

raoul, can you get a stacktrace?


I was unable to reproduce on laptop by dropping wireless connection. And Thunderbird doesn't go offline
Whiteboard: [has stacktrace]
Attachment #428266 - Attachment is obsolete: true
Comment on attachment 428266 [details]
hang stacktrace

I had assumed that my windbg setup was correct, which it wasn't :)

And now I can' reproduce. 

However, perhaps because thunderbird hasn't gone offline, clicking on folders has no effect until the first error dialog appears about not being able to connect to the mail server. This can vary from 5 to 30+ seconds. I'm don't know why there can be such wide variation.
Keywords: stackwanted
raoul, 
ludo,
can you still reproduce?
(In reply to Wayne Mery (:wsmwk) from comment #13)
> raoul, 
> ludo,
> can you still reproduce?

i cannot recall seeing it in the last couple of releases.
i'll try to recheck though and plug some cables/use hibernate/etc.
(In reply to raoul bhatia from comment #14)
> i'll try to recheck though and plug some cables/use hibernate/etc.

thanks


possible dupe to bug 713624
i haven't encountered any such problem anymore, but my connection is stable.
let's call it WFM :)
if it reappears, give a shout
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: