Closed Bug 55073 Opened 24 years ago Closed 24 years ago

hang upon losing connection to server

Categories

(MailNews Core :: Networking: IMAP, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 58547

People

(Reporter: akkzilla, Assigned: mscott)

References

Details

Seen on the linux beta3 candidate.  I've seen this before, but it's difficult to
reproduce because it involves the mail server's imap daemon dying, so I don't
know whether it happens every time.

Reading mail via IMAP; the imap server daemon dies (i.e. the server machine is
still up, but I get connection refused on the imap port).  I start getting
dialogs once a minute (my biff interval) saying that the connection was lost.
All is okay as long as I click ok on these dialogs as soon as they come up.  But
if I try to do anything else, e.g. double-click the url in the browser window
urlbar, the process hangs and now I can no longer dismiss the dialogs or do
anything else except kill the process.  The server's imap daemon coming back
doesn't help things -- we're still hung.

I killed it with a SIGQUIT to try to get a stack trace.  Unfortunately, I don't
get symbols in an optimized build (didn't get a fullcircle dialog, either) but
here's what I got.  I saved the core file; I could attach it if it might be
useful to anyone).

#0  0x40265deb in __sigsuspend (set=0xbfffe864)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
#1  0x401afc82 in __pthread_wait_for_restart_signal (self=0x401b7940)
    at pthread.c:785
#2  0x401b12c2 in __pthread_lock (lock=0x80585fc, self=0x401b7940)
    at spinlock.c:68
#3  0x401ae7ba in __pthread_mutex_lock (mutex=0x80585ec) at mutex.c:84
#4  0x40192d66 in PR_Lock () from /u/akkana/netscape6/./libnspr4.so
#5  0x401932d1 in PR_EnterMonitor () from /u/akkana/netscape6/./libnspr4.so
#6  0x40187e0a in PR_CEnterMonitor () from /u/akkana/netscape6/./libnspr4.so
#7  0x41326249 in NSGetModule ()
   from /u/akkana/netscape6/components/libmsgimap.so
#8  0x41311ba0 in NSGetModule ()
   from /u/akkana/netscape6/components/libmsgimap.so
#9  0x41311169 in NSGetModule ()
   from /u/akkana/netscape6/components/libmsgimap.so
#10 0x41340880 in NSGetModule ()
   from /u/akkana/netscape6/components/libmsgimap.so
#11 0x4133a44f in NSGetModule ()
   from /u/akkana/netscape6/components/libmsgimap.so
#12 0x4131c8b6 in NSGetModule ()
   from /u/akkana/netscape6/components/libmsgimap.so
#13 0x4131282d in NSGetModule ()
   from /u/akkana/netscape6/components/libmsgimap.so
QA Contact: esther → huang
I couldn't reproduce this on Linux 09-29-09-MN6 build...
Apparently bug 58547 and bug 47666 cover the same occurrence, other people are
also seeing it.
Right, probablu a dup of bug 58547
If based on bug 58547 test scenario on 11-03-09-MN6 build, I can reproduce this
problem now. Marking as dup of bug 58547.

*** This bug has been marked as a duplicate of 58547 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified as dup.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.