mozilla deadlocks on exit

VERIFIED WORKSFORME

Status

SeaMonkey
General
P3
critical
VERIFIED WORKSFORME
19 years ago
10 years ago

People

(Reporter: Mo DeJong, Assigned: asa)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
I compiled from the CVS on Apr  3 on my Red Hat 6.1 box. I left the
app running for at least a day. When I tried to close it down, it
deadlocked. After attaching to the process with gdb, I was able to
generate these stack traces. I hope this helps you track down this
thread deadlocking problem.

(gdb) info threads
  4 Thread 10486  0x404c01bb in __sigsuspend (set=0xbf5ffba4)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
* 3 Thread 10485  0x405497d0 in __poll (fds=0xbf7ffc88, nfds=1, timeout=35000)
    at ../sysdeps/unix/sysv/linux/poll.c:45
  2 Thread 10481  0x40774f25 in gdk_event_prepare ()
  1 Thread 10484  0x405497d0 in __poll (fds=0x81a3b78, nfds=1, timeout=2000)
    at ../sysdeps/unix/sysv/linux/poll.c:45

(gdb) thread 4
[Switching to Thread 10486]
#0  0x404c01bb in __sigsuspend (set=0xbf5ffba4) at
../sysdeps/unix/sysv/linux/sigsuspend.c:48
../sysdeps/unix/sysv/linux/sigsuspend.c:48: No such file or directory.

(gdb) bt
#0  0x404c01bb in __sigsuspend (set=0xbf5ffba4) at
../sysdeps/unix/sysv/linux/sigsuspend.c:48
#1  0x40261fe0 in pthread_cond_wait (cond=0x81a4074, mutex=0x81920bc) at
restart.h:49
#2  0x40240958 in PR_WaitCondVar (cvar=0x81a4070, timeout=4294967295) at
ptsynch.c:360
#3  0x40241157 in PR_Wait (mon=0x81920b8, timeout=4294967295) at ptsynch.c:545
#4  0x4019b4e3 in nsThreadPool::GetRequest (this=0x81a3fe8)
    at ../../../mozilla/xpcom/threads/nsThread.cpp:409
#5  0x4019c139 in nsThreadPoolRunnable::Run (this=0x81a4088)
    at ../../../mozilla/xpcom/threads/nsThread.cpp:604
#6  0x4019a3d7 in nsThread::Main (arg=0x81a40a0) at
../../../mozilla/xpcom/threads/nsThread.cpp:83
#7  0x4024802b in _pt_root (arg=0x81a40c0) at ptthread.c:157
#8  0x40262ce9 in pthread_start_thread (arg=0xbf5ffe7c) at manager.c:204

(gdb) thread 3
[Switching to Thread 10485]
#0  0x405497d0 in __poll (fds=0xbf7ffc88, nfds=1, timeout=35000) at
../sysdeps/unix/sysv/linux/poll.c:45
../sysdeps/unix/sysv/linux/poll.c:45: No such file or directory.

(gdb) bt
#0  0x405497d0 in __poll (fds=0xbf7ffc88, nfds=1, timeout=35000) at
../sysdeps/unix/sysv/linux/poll.c:45
#1  0x402463bb in PR_Poll (pds=0x8194f78, npds=1, timeout=35000) at ptio.c:3052
#2  0x40915bf1 in nsSocketTransportService::Run (this=0x8194f38)
    at ../../../../mozilla/netwerk/base/src/nsSocketTransportService.cpp:415
#3  0x4019a3d7 in nsThread::Main (arg=0x81952b8) at
../../../mozilla/xpcom/threads/nsThread.cpp:83
#4  0x4024802b in _pt_root (arg=0x81952d8) at ptthread.c:157
#5  0x40262ce9 in pthread_start_thread (arg=0xbf7ffe7c) at manager.c:204


(gdb) thread 2
[Switching to Thread 10481]
#0  0x40774f25 in gdk_event_prepare ()

(gdb) bt
#0  0x40774f25 in gdk_event_prepare ()
#1  0x407a2d9a in g_main_iterate ()
#2  0x407a31e1 in g_main_run ()
#3  0x406cc7a9 in gtk_main ()
#4  0x4209c6c7 in nsAppShell::Run (this=0x821e268)
    at ../../../../mozilla/widget/src/gtk/nsAppShell.cpp:313
#5  0x418c8af4 in nsAppShellService::Run (this=0x8217e10)
    at ../../../../mozilla/xpfe/appshell/src/nsAppShellService.cpp:365
#6  0x804e9e4 in main1 (argc=1, argv=0xbffff554, splashScreen=0x0)
    at ../../../mozilla/xpfe/bootstrap/nsAppRunner.cpp:758
#7  0x804efd0 in main (argc=1, argv=0xbffff554) at
../../../mozilla/xpfe/bootstrap/nsAppRunner.cpp:879
#8  0x404b9cb3 in __libc_start_main (main=0x804ecf0 <main>, argc=1,
argv=0xbffff554, 
    init=0x804b950 <_init>, fini=0x8054748 <_fini>, rtld_fini=0x4000a350
<_dl_fini>, stack_end=0xbffff54c)
    at ../sysdeps/generic/libc-start.c:78

(gdb) thread 1
[Switching to Thread 10484]
#0  0x405497d0 in __poll (fds=0x81a3b78, nfds=1, timeout=2000) at
../sysdeps/unix/sysv/linux/poll.c:45
../sysdeps/unix/sysv/linux/poll.c:45: No such file or directory.

(gdb) bt
#0  0x405497d0 in __poll (fds=0x81a3b78, nfds=1, timeout=2000) at
../sysdeps/unix/sysv/linux/poll.c:45
#1  0x40262a75 in __pthread_manager (arg=0x8) at manager.c:118

Comment 1

19 years ago
are you still seeing this with current cvs pulls?
mdejong@redhat.com - this bug will have to be closed unless you can give us a 
little more updated info on your current situation :-)

Gerv
(Reporter)

Comment 3

19 years ago
I have not seen this bug for some time. I think it is safe to
close it.

Comment 4

19 years ago
marking worksforme per reproter's remarks.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → WORKSFORME
(Assignee)

Comment 5

18 years ago
Sorry for the spam.  New QA Contact for Browser General.  Thanks for your help
Joseph (good luck with the new job) and welcome aboard Doron Rosenberg
QA Contact: jelwell → doronr

Comment 6

18 years ago
**Mass Spam**
Adding verifyme keyword to all non-verified bugs on browser general.
Keywords: verifyme

Comment 7

18 years ago
marking verified. I don't see this either. tested using linux 2000-09-26-09-MN6
mozilla build
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey

Updated

10 years ago
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.