Closed Bug 649226 Opened 13 years ago Closed 13 years ago

Potential deadlock detected @ nsImapIncomingServer::LoadNextQueuedUrl

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
All
defect
Not set
critical

Tracking

(blocking-thunderbird5.0 needed)

RESOLVED FIXED
Thunderbird 5.0b1
Tracking Status
blocking-thunderbird5.0 --- needed

People

(Reporter: Usul, Assigned: Bienvenu)

Details

(Keywords: hang)

Attachments

(1 file)

For a few days I've had my Thunderbird Locked on random usage pattern. I ran a debug build and got the following message on the console :

###!!! ERROR: Potential deadlock detected:
=== Cyclical dependency starts at
--- Mutex : nsImapIncomingServer.mLock (currently acquired) calling context
  [stack trace unavailable]

=== Cycle completed at
--- Mutex : nsImapIncomingServer.mLock (currently acquired) calling context
  [stack trace unavailable]

###!!! Deadlock may happen NOW!

###!!! ASSERTION: Potential deadlock detected:
Cyclical dependency starts at
Mutex : nsImapIncomingServer.mLock (currently acquired)
Cycle completed at
Mutex : nsImapIncomingServer.mLock (currently acquired)

###!!! Deadlock may happen NOW!

: 'Error', file BlockingResourceBase.cpp, line 161



Stack trace is as follow :
(gdb) thread apply all bt

Thread 35 (process 91233 thread 0xbae3):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x3b8fbba0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x3b8fbbd0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb0e9ed90, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x3714805c, mayWait=1, result=0xb0e9ee5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x37148054, mayWait=1, event=0xb0e9ee5c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x37148020, mayWait=1, result=0xb0e9eecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x37148020, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fc413f in nsThread::ThreadFunc (arg=0x37148020) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#11 0x00086ac9 in _pt_root (arg=0x3b8fbd20) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#12 0x968a1155 in _pthread_start ()
#13 0x968a1012 in thread_start ()

Thread 34 (process 91233 thread 0x10cbb):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x3702cc30, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x363c6760, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb1377970, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x3d41eb98, mayWait=1, result=0xb1377a3c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x3d41eb90, mayWait=1, event=0xb1377a3c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x3b8cc330, mayWait=1, result=0xb1377aac) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x3b8cc330, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fd119c in nsProxyEventObject::CallMethod (this=0x358e92f0, methodIndex=18, methodInfo=0x934518, params=0xb1377b8c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp:260
#11 0x06fe9fa6 in PrepareAndDispatch (self=0x3cf9d1d0, methodIndex=18, args=0xb1377cb4) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93
#12 0x06fe4fb7 in nsXPTCStubBase::Stub18 (this=0x3cf9d1d0) at xptcstubsdef.inc:16
#13 0x06b4cf35 in nsImapProtocol::HandleIdleResponses (this=0x29408400) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1425
#14 0x06b568f5 in nsImapProtocol::ImapThreadMainLoop (this=0x29408400) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1390
#15 0x06b5dba9 in nsImapProtocol::Run (this=0x29408400) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1068
#16 0x06fc3618 in nsThread::ProcessNextEvent (this=0x3b8cc330, mayWait=1, result=0xb1377ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#17 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x3b8cc330, mayWait=1) at nsThreadUtils.cpp:250
#18 0x06fc413f in nsThread::ThreadFunc (arg=0x3b8cc330) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#19 0x00086ac9 in _pt_root (arg=0x3d1908f0) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#20 0x968a1155 in _pthread_start ()
#21 0x968a1012 in thread_start ()

Thread 33 (process 91233 thread 0x10503):
#0  0x96870266 in mach_msg_trap ()
#1  0x96877a5c in mach_msg ()
#2  0x9086de7e in CFRunLoopRunSpecific ()
#3  0x9086eaa8 in CFRunLoopRunInMode ()
#4  0x94e4b5f8 in HALRunLoop::OwnThread ()
#5  0x94e4b480 in CAPThread::Entry ()
#6  0x968a1155 in _pthread_start ()
#7  0x968a1012 in thread_start ()

Thread 32 (process 91233 thread 0x9af7):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x3384f080, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x35f167c0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb0b92970, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x277d54c8, mayWait=1, result=0xb0b92a3c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x277d54c0, mayWait=1, event=0xb0b92a3c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x35e3a8b0, mayWait=1, result=0xb0b92aac) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x35e3a8b0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fd119c in nsProxyEventObject::CallMethod (this=0x3d1af700, methodIndex=18, methodInfo=0x934518, params=0xb0b92b8c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp:260
#11 0x06fe9fa6 in PrepareAndDispatch (self=0x3d1af7c0, methodIndex=18, args=0xb0b92cb4) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93
#12 0x06fe4fb7 in nsXPTCStubBase::Stub18 (this=0x3d1af7c0) at xptcstubsdef.inc:16
#13 0x06b4cf35 in nsImapProtocol::HandleIdleResponses (this=0x29672000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1425
#14 0x06b568f5 in nsImapProtocol::ImapThreadMainLoop (this=0x29672000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1390
#15 0x06b5dba9 in nsImapProtocol::Run (this=0x29672000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1068
#16 0x06fc3618 in nsThread::ProcessNextEvent (this=0x35e3a8b0, mayWait=1, result=0xb0b92ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#17 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x35e3a8b0, mayWait=1) at nsThreadUtils.cpp:250
#18 0x06fc413f in nsThread::ThreadFunc (arg=0x35e3a8b0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#19 0x00086ac9 in _pt_root (arg=0x35e3aab0) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#20 0x968a1155 in _pthread_start ()
#21 0x968a1012 in thread_start ()

Thread 31 (process 91233 thread 0xd37b):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968c79f8 in pthread_cond_timedwait$UNIX2003 ()
#3  0x0007f62e in pt_TimedWait (cv=0x3655e5c4, ml=0x338bb3e4, timeout=60000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:292
#4  0x0007fb4c in PR_WaitCondVar (cvar=0x3655e5c0, timeout=60000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:419
#5  0x000802ed in PR_Wait (mon=0x338bb3e0, timeout=60000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#6  0x06f4bc9d in mozilla::Monitor::Wait (this=0x3a81c128, interval=60000) at BlockingResourceBase.cpp:346
#7  0x0549f034 in mozilla::MonitorAutoEnter::Wait (this=0xb0835d60, interval=60000) at Monitor.h:226
#8  0x06b56706 in nsImapProtocol::ImapThreadMainLoop (this=0x3a81c000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1345
#9  0x06b5dba9 in nsImapProtocol::Run (this=0x3a81c000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1068
#10 0x06fc3618 in nsThread::ProcessNextEvent (this=0x338bbda0, mayWait=1, result=0xb0835ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#11 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x338bbda0, mayWait=1) at nsThreadUtils.cpp:250
#12 0x06fc413f in nsThread::ThreadFunc (arg=0x338bbda0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#13 0x00086ac9 in _pt_root (arg=0x338bbf70) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#14 0x968a1155 in _pthread_start ()
#15 0x968a1012 in thread_start ()

Thread 30 (process 91233 thread 0xb467):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x36822750, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x3d5a1380, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb0abf970, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x3589afe8, mayWait=1, result=0xb0abfa3c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x3589afe0, mayWait=1, event=0xb0abfa3c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x368dc8b0, mayWait=1, result=0xb0abfaac) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x368dc8b0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fd119c in nsProxyEventObject::CallMethod (this=0x358c8060, methodIndex=18, methodInfo=0x934518, params=0xb0abfb8c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp:260
#11 0x06fe9fa6 in PrepareAndDispatch (self=0x358c7fa0, methodIndex=18, args=0xb0abfcb4) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93
#12 0x06fe4fb7 in nsXPTCStubBase::Stub18 (this=0x358c7fa0) at xptcstubsdef.inc:16
#13 0x06b4cf35 in nsImapProtocol::HandleIdleResponses (this=0x295a3a00) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1425
#14 0x06b568f5 in nsImapProtocol::ImapThreadMainLoop (this=0x295a3a00) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1390
#15 0x06b5dba9 in nsImapProtocol::Run (this=0x295a3a00) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1068
#16 0x06fc3618 in nsThread::ProcessNextEvent (this=0x368dc8b0, mayWait=1, result=0xb0abfecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#17 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x368dc8b0, mayWait=1) at nsThreadUtils.cpp:250
#18 0x06fc413f in nsThread::ThreadFunc (arg=0x368dc8b0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#19 0x00086ac9 in _pt_root (arg=0x328e39d0) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#20 0x968a1155 in _pthread_start ()
#21 0x968a1012 in thread_start ()

Thread 29 (process 91233 thread 0xbeb3):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968c79f8 in pthread_cond_timedwait$UNIX2003 ()
#3  0x0007f62e in pt_TimedWait (cv=0x37142394, ml=0x36c3bb74, timeout=60000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:292
#4  0x0007fb4c in PR_WaitCondVar (cvar=0x37142390, timeout=60000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:419
#5  0x000802ed in PR_Wait (mon=0x36c3bb70, timeout=60000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#6  0x06f4bc9d in mozilla::Monitor::Wait (this=0x29777b28, interval=60000) at BlockingResourceBase.cpp:346
#7  0x0549f034 in mozilla::MonitorAutoEnter::Wait (this=0xb1273d60, interval=60000) at Monitor.h:226
#8  0x06b56706 in nsImapProtocol::ImapThreadMainLoop (this=0x29777a00) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1345
#9  0x06b5dba9 in nsImapProtocol::Run (this=0x29777a00) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1068
#10 0x06fc3618 in nsThread::ProcessNextEvent (this=0x3d1ce570, mayWait=1, result=0xb1273ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#11 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x3d1ce570, mayWait=1) at nsThreadUtils.cpp:250
#12 0x06fc413f in nsThread::ThreadFunc (arg=0x3d1ce570) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#13 0x00086ac9 in _pt_root (arg=0x3d1ce740) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#14 0x968a1155 in _pthread_start ()
#15 0x968a1012 in thread_start ()

Thread 28 (process 91233 thread 0xc003):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x35e40870, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x0008bb49 in WaitPidDaemonThread (unused=0x0) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/md/unix/uxproces.c:603
#5  0x00086ac9 in _pt_root (arg=0x35e23610) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#6  0x968a1155 in _pthread_start ()
#7  0x968a1012 in thread_start ()

Thread 27 (process 91233 thread 0x830b):
#0  0x968bf6fa in select$DARWIN_EXTSN ()
#1  0x00089ee9 in poll (filedes=0xb11f189c, nfds=1, timeout=5000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/md/unix/unix.c:3694
#2  0x000812e7 in pt_poll_now (op=0xb11f192c) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptio.c:601
#3  0x0008168f in pt_Continue (op=0xb11f192c) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptio.c:724
#4  0x00082368 in pt_Read (fd=0x35fbf140, buf=0xb11f19bc, amount=1024) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptio.c:1318
#5  0x000620bd in PR_Read (fd=0x35fbf140, buf=0xb11f19bc, amount=1024) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/io/priometh.c:141
#6  0x1a905f6b in nsPipeConsole::Run ()

Thread 26 (process 91233 thread 0x8e3f):
#0  0x968bf6fa in select$DARWIN_EXTSN ()
#1  0x00089ee9 in poll (filedes=0xb08b789c, nfds=1, timeout=5000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/md/unix/unix.c:3694
#2  0x000812e7 in pt_poll_now (op=0xb08b792c) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptio.c:601
#3  0x0008168f in pt_Continue (op=0xb08b792c) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptio.c:724
#4  0x00082368 in pt_Read (fd=0x3710bca0, buf=0xb08b79bc, amount=1024) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptio.c:1318
#5  0x000620bd in PR_Read (fd=0x3710bca0, buf=0xb08b79bc, amount=1024) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/io/priometh.c:141
#6  0x1a905f6b in nsPipeConsole::Run ()

Thread 25 (process 91233 thread 0xbd07):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x36885b20, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x3d5a1300, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb10ed840, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x3d53ce98, mayWait=1, result=0xb10ed90c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x3d53ce90, mayWait=1, event=0xb10ed90c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x27cacbf0, mayWait=1, result=0xb10ed97c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x27cacbf0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fd119c in nsProxyEventObject::CallMethod (this=0x3d4ae9c0, methodIndex=29, methodInfo=0x9345c8, params=0xb10eda5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp:260
#11 0x06fe9fa6 in PrepareAndDispatch (self=0x3d1e5d70, methodIndex=29, args=0xb10edb84) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93
#12 0x06fe533d in nsXPTCStubBase::Stub29 (this=0x3d1e5d70) at xptcstubsdef.inc:27
#13 0x06b64617 in nsImapProtocol::ProcessCurrentURL (this=0x25ab9a00) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1602
#14 0x06b56810 in nsImapProtocol::ImapThreadMainLoop (this=0x25ab9a00) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1370
#15 0x06b5dba9 in nsImapProtocol::Run (this=0x25ab9a00) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1068
#16 0x06fc3618 in nsThread::ProcessNextEvent (this=0x27cacbf0, mayWait=1, result=0xb10edecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#17 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x27cacbf0, mayWait=1) at nsThreadUtils.cpp:250
#18 0x06fc413f in nsThread::ThreadFunc (arg=0x27cacbf0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#19 0x00086ac9 in _pt_root (arg=0x35e0ea50) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#20 0x968a1155 in _pthread_start ()
#21 0x968a1012 in thread_start ()

Thread 24 (process 91233 thread 0xbb03):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x3d426740, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x358aaa40, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb106b840, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x33858d08, mayWait=1, result=0xb106b90c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x33858d00, mayWait=1, event=0xb106b90c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x3712d2b0, mayWait=1, result=0xb106b97c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x3712d2b0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fd119c in nsProxyEventObject::CallMethod (this=0x3d346fb0, methodIndex=15, methodInfo=0x9330c8, params=0xb106ba5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp:260
#11 0x06fe9fa6 in PrepareAndDispatch (self=0x3586c7d0, methodIndex=15, args=0xb106bb84) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93
#12 0x06fe4ec1 in nsXPTCStubBase::Stub15 (this=0x3586c7d0) at xptcstubsdef.inc:13
#13 0x06b65498 in nsImapProtocol::ProcessCurrentURL (this=0x292d8800) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1822
#14 0x06b56810 in nsImapProtocol::ImapThreadMainLoop (this=0x292d8800) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1370
#15 0x06b5dba9 in nsImapProtocol::Run (this=0x292d8800) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1068
#16 0x06fc3618 in nsThread::ProcessNextEvent (this=0x3712d2b0, mayWait=1, result=0xb106becc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#17 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x3712d2b0, mayWait=1) at nsThreadUtils.cpp:250
#18 0x06fc413f in nsThread::ThreadFunc (arg=0x3712d2b0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#19 0x00086ac9 in _pt_root (arg=0x3712d540) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#20 0x968a1155 in _pthread_start ()
#21 0x968a1012 in thread_start ()

Thread 23 (process 91233 thread 0xb207):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x34471a80, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x35f605c0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb0fe9970, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x3d115c88, mayWait=1, result=0xb0fe9a3c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x3d115c80, mayWait=1, event=0xb0fe9a3c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x36c213e0, mayWait=1, result=0xb0fe9aac) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x36c213e0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fd119c in nsProxyEventObject::CallMethod (this=0x3d191070, methodIndex=18, methodInfo=0x934518, params=0xb0fe9b8c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp:260
#11 0x06fe9fa6 in PrepareAndDispatch (self=0x2a133ed0, methodIndex=18, args=0xb0fe9cb4) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93
#12 0x06fe4fb7 in nsXPTCStubBase::Stub18 (this=0x2a133ed0) at xptcstubsdef.inc:16
#13 0x06b4cf35 in nsImapProtocol::HandleIdleResponses (this=0x29411400) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1425
#14 0x06b568f5 in nsImapProtocol::ImapThreadMainLoop (this=0x29411400) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1390
#15 0x06b5dba9 in nsImapProtocol::Run (this=0x29411400) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1068
#16 0x06fc3618 in nsThread::ProcessNextEvent (this=0x36c213e0, mayWait=1, result=0xb0fe9ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#17 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x36c213e0, mayWait=1) at nsThreadUtils.cpp:250
#18 0x06fc413f in nsThread::ThreadFunc (arg=0x36c213e0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#19 0x00086ac9 in _pt_root (arg=0x36c21670) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#20 0x968a1155 in _pthread_start ()
#21 0x968a1012 in thread_start ()

Thread 22 (process 91233 thread 0xb077):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x261abb10, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x35edf7f0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb0f67970, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x23950aa8, mayWait=1, result=0xb0f67a3c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x23950aa0, mayWait=1, event=0xb0f67a3c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x35e74670, mayWait=1, result=0xb0f67aac) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x35e74670, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fd119c in nsProxyEventObject::CallMethod (this=0x358e6a00, methodIndex=18, methodInfo=0x934518, params=0xb0f67b8c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp:260
#11 0x06fe9fa6 in PrepareAndDispatch (self=0x3cf82480, methodIndex=18, args=0xb0f67cb4) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93
#12 0x06fe4fb7 in nsXPTCStubBase::Stub18 (this=0x3cf82480) at xptcstubsdef.inc:16
#13 0x06b4cf35 in nsImapProtocol::HandleIdleResponses (this=0xab3000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1425
#14 0x06b568f5 in nsImapProtocol::ImapThreadMainLoop (this=0xab3000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1390
#15 0x06b5dba9 in nsImapProtocol::Run (this=0xab3000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1068
#16 0x06fc3618 in nsThread::ProcessNextEvent (this=0x35e74670, mayWait=1, result=0xb0f67ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#17 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x35e74670, mayWait=1) at nsThreadUtils.cpp:250
#18 0x06fc413f in nsThread::ThreadFunc (arg=0x35e74670) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#19 0x00086ac9 in _pt_root (arg=0x35e74840) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#20 0x968a1155 in _pthread_start ()
#21 0x968a1012 in thread_start ()

Thread 21 (process 91233 thread 0xab0f):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x261b51f0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x261aba30, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb0e1cd90, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x261b515c, mayWait=1, result=0xb0e1ce5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x261b5154, mayWait=1, event=0xb0e1ce5c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x261b5120, mayWait=1, result=0xb0e1cecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x261b5120, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fc413f in nsThread::ThreadFunc (arg=0x261b5120) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#11 0x00086ac9 in _pt_root (arg=0x261abb40) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#12 0x968a1155 in _pthread_start ()
#13 0x968a1012 in thread_start ()

Thread 20 (process 91233 thread 0x95d7):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x368eb2a0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x35866cf0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb0d9a970, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x2a15ca28, mayWait=1, result=0xb0d9aa3c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x2a15ca20, mayWait=1, event=0xb0d9aa3c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x358633f0, mayWait=1, result=0xb0d9aaac) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x358633f0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fd119c in nsProxyEventObject::CallMethod (this=0x3b8d7360, methodIndex=18, methodInfo=0x934518, params=0xb0d9ab8c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/proxy/src/nsProxyEventObject.cpp:260
#11 0x06fe9fa6 in PrepareAndDispatch (self=0x3d3c16f0, methodIndex=18, args=0xb0d9acb4) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93
#12 0x06fe4fb7 in nsXPTCStubBase::Stub18 (this=0x3d3c16f0) at xptcstubsdef.inc:16
#13 0x06b4cf35 in nsImapProtocol::HandleIdleResponses (this=0x291ea000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1425
#14 0x06b568f5 in nsImapProtocol::ImapThreadMainLoop (this=0x291ea000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1390
#15 0x06b5dba9 in nsImapProtocol::Run (this=0x291ea000) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:1068
#16 0x06fc3618 in nsThread::ProcessNextEvent (this=0x358633f0, mayWait=1, result=0xb0d9aecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#17 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x358633f0, mayWait=1) at nsThreadUtils.cpp:250
#18 0x06fc413f in nsThread::ThreadFunc (arg=0x358633f0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#19 0x00086ac9 in _pt_root (arg=0x35863680) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#20 0x968a1155 in _pthread_start ()
#21 0x968a1012 in thread_start ()

Thread 19 (process 91233 thread 0x970f):
#0  0x00000000 in ?? ()
Cannot access memory at address 0x4

Thread 18 (process 91233 thread 0x943f):
#0  0x968d9292 in __workq_ops ()
#1  0x968da98a in workqueue_exit ()
#2  0x968d92c2 in start_wqthread ()

Thread 17 (process 91233 thread 0x8403):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x277c5f00, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x277c5f30, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb0a3dd90, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x277c5e2c, mayWait=1, result=0xb0a3de5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x277c5e24, mayWait=1, event=0xb0a3de5c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x277c5df0, mayWait=1, result=0xb0a3decc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x277c5df0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fc413f in nsThread::ThreadFunc (arg=0x277c5df0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#11 0x00086ac9 in _pt_root (arg=0x277c62b0) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#12 0x968a1155 in _pthread_start ()
#13 0x968a1012 in thread_start ()

Thread 16 (process 91233 thread 0x7c0f):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x277a4250, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x277a4410, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb09bbd90, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x277a422c, mayWait=1, result=0xb09bbe5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x277a4224, mayWait=1, event=0xb09bbe5c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x277a41f0, mayWait=1, result=0xb09bbecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x277a41f0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fc413f in nsThread::ThreadFunc (arg=0x277a41f0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#11 0x00086ac9 in _pt_root (arg=0x277a4ed0) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#12 0x968a1155 in _pthread_start ()
#13 0x968a1012 in thread_start ()

Thread 15 (process 91233 thread 0x7b07):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x277913c0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x277913f0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb07b3d90, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x2779132c, mayWait=1, result=0xb07b3e5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x27791324, mayWait=1, event=0xb07b3e5c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x277912f0, mayWait=1, result=0xb07b3ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x277912f0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fc413f in nsThread::ThreadFunc (arg=0x277912f0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#11 0x00086ac9 in _pt_root (arg=0x27791580) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#12 0x968a1155 in _pthread_start ()
#13 0x968a1012 in thread_start ()

Thread 14 (process 91233 thread 0x652f):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x27790d50, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x06523523 in nsCertVerificationThread::Run (this=0x27790c90) at /Users/ludo/Documents/work/comm-central2/mozilla/security/manager/ssl/src/nsCertVerificationThread.cpp:138
#5  0x06520f4d in nsPSMBackgroundThread::nsThreadRunner (arg=0x27790c90) at /Users/ludo/Documents/work/comm-central2/mozilla/security/manager/ssl/src/nsPSMBackgroundThread.cpp:44
#6  0x00086ac9 in _pt_root (arg=0x27790d80) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#7  0x968a1155 in _pthread_start ()
#8  0x968a1012 in thread_start ()

Thread 13 (process 91233 thread 0x820b):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x27790b80, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x06521a4d in nsSSLThread::Run (this=0x27786c50) at /Users/ludo/Documents/work/comm-central2/mozilla/security/manager/ssl/src/nsSSLThread.cpp:980
#5  0x06520f4d in nsPSMBackgroundThread::nsThreadRunner (arg=0x27786c50) at /Users/ludo/Documents/work/comm-central2/mozilla/security/manager/ssl/src/nsPSMBackgroundThread.cpp:44
#6  0x00086ac9 in _pt_root (arg=0x27790bb0) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#7  0x968a1155 in _pthread_start ()
#8  0x968a1012 in thread_start ()

Thread 12 (process 91233 thread 0x8007):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x261df5c0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x261df5f0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb0939d90, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x261df52c, mayWait=1, result=0xb0939e5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x261df524, mayWait=1, event=0xb0939e5c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x261df4f0, mayWait=1, result=0xb0939ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x261df4f0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fc413f in nsThread::ThreadFunc (arg=0x261df4f0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#11 0x00086ac9 in _pt_root (arg=0x261df780) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#12 0x968a1155 in _pthread_start ()
#13 0x968a1012 in thread_start ()

Thread 11 (process 91233 thread 0x7a03):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x25507c00, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x24beb690, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb054dd90, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x24bb15ec, mayWait=1, result=0xb054de5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x24bb15e4, mayWait=1, event=0xb054de5c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x24bb15b0, mayWait=1, result=0xb054decc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x24bb15b0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fc413f in nsThread::ThreadFunc (arg=0x24bb15b0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#11 0x00086ac9 in _pt_root (arg=0x24bb3270) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#12 0x968a1155 in _pthread_start ()
#13 0x968a1012 in thread_start ()

Thread 10 (process 91233 thread 0x6723):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x24b237a0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x24b237d0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb0731d90, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x24b2370c, mayWait=1, result=0xb0731e5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x24b23704, mayWait=1, event=0xb0731e5c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x24b236d0, mayWait=1, result=0xb0731ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x24b236d0, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fc413f in nsThread::ThreadFunc (arg=0x24b236d0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#11 0x00086ac9 in _pt_root (arg=0x24b23910) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#12 0x968a1155 in _pthread_start ()
#13 0x968a1012 in thread_start ()

Thread 9 (process 91233 thread 0x680b):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x23c17020, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x000802ed in PR_Wait (mon=0x23c17050, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:614
#5  0x054e9fe7 in nsAutoMonitor::Wait (this=0xb04cbd90, interval=4294967295) at nsAutoLock.h:346
#6  0x06fc184b in nsEventQueue::GetEvent (this=0x23c16f8c, mayWait=1, result=0xb04cbe5c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsEventQueue.cpp:85
#7  0x06fc58d0 in nsThread::nsChainedEventQueue::GetEvent (this=0x23c16f84, mayWait=1, event=0xb04cbe5c) at nsThread.h:114
#8  0x06fc3594 in nsThread::ProcessNextEvent (this=0x23c16f50, mayWait=1, result=0xb04cbecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:616
#9  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x23c16f50, mayWait=1) at nsThreadUtils.cpp:250
#10 0x06fc413f in nsThread::ThreadFunc (arg=0x23c16f50) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#11 0x00086ac9 in _pt_root (arg=0x23c171e0) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#12 0x968a1155 in _pthread_start ()
#13 0x968a1012 in thread_start ()

Thread 8 (process 91233 thread 0x5303):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x9301ab32 in glvmDoWork ()
#4  0x968a1155 in _pthread_start ()
#5  0x968a1012 in thread_start ()

Thread 7 (process 91233 thread 0x4603):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x617e80, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x06fcd188 in TimerThread::Run (this=0x617d50) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/TimerThread.cpp:375
#5  0x06fc3618 in nsThread::ProcessNextEvent (this=0x68b180, mayWait=1, result=0xb032aecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#6  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x68b180, mayWait=1) at nsThreadUtils.cpp:250
#7  0x06fc413f in nsThread::ThreadFunc (arg=0x68b180) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#8  0x00086ac9 in _pt_root (arg=0x68c740) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#9  0x968a1155 in _pthread_start ()
#10 0x968a1012 in thread_start ()

Thread 6 (process 91233 thread 0x3503):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x6499f0, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x062e9d0c in XPCJSRuntime::WatchdogMain (arg=0x647da0) at /Users/ludo/Documents/work/comm-central2/mozilla/js/src/xpconnect/src/xpcjsruntime.cpp:989
#5  0x00086ac9 in _pt_root (arg=0x649e20) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#6  0x968a1155 in _pthread_start ()
#7  0x968a1012 in thread_start ()

Thread 5 (process 91233 thread 0x3403):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x648f20, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x0724bc6e in js::GCHelperThread::threadLoop (this=0x96fa10, rt=0x96f800) at /Users/ludo/Documents/work/comm-central2/mozilla/js/src/jsgc.cpp:2086
#5  0x0724bd16 in js::GCHelperThread::threadMain (arg=0x96f800) at /Users/ludo/Documents/work/comm-central2/mozilla/js/src/jsgc.cpp:2072
#6  0x00086ac9 in _pt_root (arg=0x648f80) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#7  0x968a1155 in _pthread_start ()
#8  0x968a1012 in thread_start ()

Thread 4 (process 91233 thread 0x3303):
#0  0x968bf6fa in select$DARWIN_EXTSN ()
#1  0x00089ee9 in poll (filedes=0xb01a4914, nfds=4, timeout=65535000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/md/unix/unix.c:3694
#2  0x00085392 in _pr_poll_with_poll (pds=0x96cee8, npds=4, timeout=65535000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptio.c:3917
#3  0x000855bf in PR_Poll (pds=0x96cee8, npds=4, timeout=65535000) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptio.c:4319
#4  0x05450cf2 in nsSocketTransportService::Poll (this=0x96ca00, wait=1, interval=0xb01a4bfc) at /Users/ludo/Documents/work/comm-central2/mozilla/netwerk/base/src/nsSocketTransportService2.cpp:358
#5  0x05451488 in nsSocketTransportService::DoPollIteration (this=0x96ca00, wait=1) at /Users/ludo/Documents/work/comm-central2/mozilla/netwerk/base/src/nsSocketTransportService2.cpp:673
#6  0x054517ad in nsSocketTransportService::OnProcessNextEvent (this=0x96ca00, thread=0x634690, mayWait=1, depth=1) at /Users/ludo/Documents/work/comm-central2/mozilla/netwerk/base/src/nsSocketTransportService2.cpp:552
#7  0x06fc342d in nsThread::ProcessNextEvent (this=0x634690, mayWait=1, result=0xb01a4d6c) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:597
#8  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x634690, mayWait=1) at nsThreadUtils.cpp:250
#9  0x05450feb in nsSocketTransportService::Run (this=0x96ca00) at /Users/ludo/Documents/work/comm-central2/mozilla/netwerk/base/src/nsSocketTransportService2.cpp:594
#10 0x06fc3618 in nsThread::ProcessNextEvent (this=0x634690, mayWait=1, result=0xb01a4ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#11 0x06f4a204 in NS_ProcessNextEvent_P (thread=0x634690, mayWait=1) at nsThreadUtils.cpp:250
#12 0x06fc413f in nsThread::ThreadFunc (arg=0x634690) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#13 0x00086ac9 in _pt_root (arg=0x634920) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#14 0x968a1155 in _pthread_start ()
#15 0x968a1012 in thread_start ()

Thread 3 (process 91233 thread 0x1e07):
#0  0x9687744e in __semwait_signal ()
#1  0x968a23e6 in _pthread_cond_wait ()
#2  0x968a1dcd in pthread_cond_wait$UNIX2003 ()
#3  0x0007fb27 in PR_WaitCondVar (cvar=0x618d90, timeout=4294967295) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:417
#4  0x06f4bbb8 in mozilla::CondVar::Wait (this=0x618af0, interval=4294967295) at BlockingResourceBase.cpp:373
#5  0x06fe15b6 in nsCycleCollectorRunner::Run (this=0x618ad0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/base/nsCycleCollector.cpp:3311
#6  0x06fc3618 in nsThread::ProcessNextEvent (this=0x618e20, mayWait=1, result=0xb00a0ecc) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#7  0x06f4a204 in NS_ProcessNextEvent_P (thread=0x618e20, mayWait=1) at nsThreadUtils.cpp:250
#8  0x06fc413f in nsThread::ThreadFunc (arg=0x618e20) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:278
#9  0x00086ac9 in _pt_root (arg=0x6190b0) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptthread.c:187
#10 0x968a1155 in _pthread_start ()
#11 0x968a1012 in thread_start ()

Thread 2 (process 91233 thread 0x1f03):
#0  0x968a09c6 in kevent ()
#1  0x0701fb40 in kq_dispatch (base=0x809200, arg=0x617980, tv=0x0) at /Users/ludo/Documents/work/comm-central2/mozilla/ipc/chromium/src/third_party/libevent/kqueue.c:231
#2  0x07015f5c in event_base_loop (base=0x809200, flags=1) at /Users/ludo/Documents/work/comm-central2/mozilla/ipc/chromium/src/third_party/libevent/event.c:513
#3  0x070848cc in base::MessagePumpLibevent::Run (this=0x616cd0, delegate=0xb0122e48) at /Users/ludo/Documents/work/comm-central2/mozilla/ipc/chromium/src/base/message_pump_libevent.cc:330
#4  0x07032796 in MessageLoop::RunInternal (this=0xb0122e48) at /Users/ludo/Documents/work/comm-central2/mozilla/ipc/chromium/src/base/message_loop.cc:219
#5  0x070327ad in MessageLoop::RunHandler (this=0xb0122e48) at /Users/ludo/Documents/work/comm-central2/mozilla/ipc/chromium/src/base/message_loop.cc:202
#6  0x07032811 in MessageLoop::Run (this=0xb0122e48) at /Users/ludo/Documents/work/comm-central2/mozilla/ipc/chromium/src/base/message_loop.cc:176
#7  0x07056282 in base::Thread::ThreadMain (this=0x615dd0) at /Users/ludo/Documents/work/comm-central2/mozilla/ipc/chromium/src/base/thread.cc:156
#8  0x07085a24 in ThreadFunc (closure=0x615dd0) at /Users/ludo/Documents/work/comm-central2/mozilla/ipc/chromium/src/base/platform_thread_posix.cc:26
#9  0x968a1155 in _pthread_start ()
#10 0x968a1012 in thread_start ()

Thread 1 (process 91233 thread 0x80f):
#0  0x968702ae in semaphore_wait_signal_trap ()
#1  0x96877d85 in pthread_mutex_lock ()
#2  0x0007f293 in PR_Lock (lock=0x239f5f70) at /Users/ludo/Documents/work/comm-central2/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:206
#3  0x06f4ca67 in mozilla::Mutex::Lock (this=0x239f5f2c) at BlockingResourceBase.cpp:261
#4  0x053e45c2 in mozilla::MutexAutoLock::MutexAutoLock (this=0xbfffc670, aLock=@0x239f5f2c, _notifier=@0xbfffc684) at Mutex.h:182
#5  0x06b08848 in nsImapIncomingServer::LoadNextQueuedUrl (this=0x239f5e70, aProtocol=0x0, aResult=0xbfffc700) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapIncomingServer.cpp:510
#6  0x06b090bf in nsImapIncomingServer::GetImapConnectionAndLoadUrl (this=0x239f5e70, aClientEventTarget=0x6177d0, aImapUrl=0x3d5a1060, aConsumer=0x0) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapIncomingServer.cpp:460
#7  0x06b77092 in nsImapService::GetImapConnectionAndLoadUrl (this=0x239f5e30, aClientEventTarget=0x6177d0, aImapUrl=0x3d5a1060, aConsumer=0x0, aURL=0xbfffca30) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapService.cpp:2195
#8  0x06b7a569 in nsImapService::GetMessageFromUrl (this=0x239f5e30, aImapUrl=0x3d5a1060, aImapAction=268435506, aImapMailFolder=0x25e3ba24, aImapMessage=0x25e3bb40, aMsgWindow=0x0, aDisplayConsumer=0x0, aConvertDataToText=0, aURL=0xbfffca30) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapService.cpp:1142
#9  0x06b7b311 in nsImapService::FetchMessage (this=0x239f5e30, aImapUrl=0x3d5a1060, aImapAction=268435506, aImapMailFolder=0x25e3ba24, aImapMessage=0x25e3bb40, aMsgWindow=0x0, aDisplayConsumer=0x0, messageIdentifierList=@0xbfffcaa8, aConvertDataToText=0, aAdditionalHeader=@0x7bdac18, aURL=0xbfffca30) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapService.cpp:1046
#10 0x06b77b0c in nsImapService::DownloadMessagesForOffline (this=0x239f5e30, messageIds=@0xbfffcaa8, aFolder=0x25e3ba24, aUrlListener=0x265f0854, aMsgWindow=0x0) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapService.cpp:3223
#11 0x06b997e9 in nsAutoSyncState::DownloadMessagesForOffline (this=0x265f0850, aMessagesList=0x3d41a9d0) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsAutoSyncState.cpp:682
#12 0x06b9e6b8 in nsAutoSyncManager::DownloadMessagesForOffline (this=0x239f6440, aAutoSyncStateObj=0x265f0850, aSizeLimit=0) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsAutoSyncManager.cpp:1017
#13 0x06b9f217 in nsAutoSyncManager::OnDownloadCompleted (this=0x239f6440, aAutoSyncStateObj=0x265fa440, aExitCode=0) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsAutoSyncManager.cpp:1343
#14 0x06b9a437 in nsAutoSyncState::OnStopRunningUrl (this=0x265fa440, aUrl=0x35891024, aExitCode=0) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsAutoSyncState.cpp:508
#15 0x068ecbb8 in nsMsgMailNewsUrl::SetUrlState (this=0x35891024, aRunningUrl=0, aExitCode=0) at /Users/ludo/Documents/work/comm-central2/mailnews/base/util/nsMsgMailNewsUrl.cpp:136
#16 0x06b1000c in nsImapMailFolder::SetUrlState (this=0x25e41a00, aProtocol=0x292d8800, aUrl=0x35891024, isRunning=0, statusCode=0) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapMailFolder.cpp:6771
#17 0x06b4b58e in nsImapProtocol::TryToRunUrlLocally (this=0x292d8800, aURL=0x35891024, aConsumer=0x0) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:2017
#18 0x06b5868f in nsImapProtocol::LoadImapUrl (this=0x292d8800, aURL=0x35891024, aConsumer=0x0) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapProtocol.cpp:2065
#19 0x06b08b4b in nsImapIncomingServer::LoadNextQueuedUrl (this=0x239f5e70, aProtocol=0x292d8800, aResult=0xb106bce0) at /Users/ludo/Documents/work/comm-central2/mailnews/imap/src/nsImapIncomingServer.cpp:538
#20 0x06fe4a67 in NS_InvokeByIndex_P (that=0x239f5ef4, methodIndex=15, paramCount=2, params=0x370a01e0) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179
#21 0x06fcfe9c in nsProxyObjectCallInfo::Run (this=0x3718e390) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/proxy/src/nsProxyEvent.cpp:181
#22 0x06fc3618 in nsThread::ProcessNextEvent (this=0x6177d0, mayWait=0, result=0xbfffd174) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:633
#23 0x06f4a33a in NS_ProcessPendingEvents_P (thread=0x6177d0, timeout=20) at nsThreadUtils.cpp:200
#24 0x06818c07 in nsBaseAppShell::NativeEventCallback (this=0x66a0b0) at /Users/ludo/Documents/work/comm-central2/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:132
#25 0x067c601b in nsAppShell::ProcessGeckoEvents (aInfo=0x66a0b0) at /Users/ludo/Documents/work/comm-central2/mozilla/widget/src/cocoa/nsAppShell.mm:399
#26 0x9086e3c5 in CFRunLoopRunSpecific ()
#27 0x9086eaa8 in CFRunLoopRunInMode ()
#28 0x973582ac in RunCurrentEventLoopInMode ()
#29 0x97357ffe in ReceiveNextEventCommon ()
#30 0x97357f39 in BlockUntilNextEventMatchingListInMode ()
#31 0x939aa6d5 in _DPSNextEvent ()
#32 0x939a9f88 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#33 0x067c52f4 in nsAppShell::ProcessNextNativeEvent (this=0x66a0b0, aMayWait=0) at /Users/ludo/Documents/work/comm-central2/mozilla/widget/src/cocoa/nsAppShell.mm:675
#34 0x06818695 in nsBaseAppShell::DoProcessNextNativeEvent (this=0x66a0b0, mayWait=0) at /Users/ludo/Documents/work/comm-central2/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:173
#35 0x06819363 in nsBaseAppShell::OnProcessNextEvent (this=0x66a0b0, thr=0x6177d0, mayWait=0, recursionDepth=0) at /Users/ludo/Documents/work/comm-central2/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:315
#36 0x067c494e in nsAppShell::OnProcessNextEvent (this=0x66a0b0, aThread=0x6177d0, aMayWait=0, aRecursionDepth=0) at /Users/ludo/Documents/work/comm-central2/mozilla/widget/src/cocoa/nsAppShell.mm:833
#37 0x06fc342d in nsThread::ProcessNextEvent (this=0x6177d0, mayWait=0, result=0xbfffe314) at /Users/ludo/Documents/work/comm-central2/mozilla/xpcom/threads/nsThread.cpp:597
#38 0x06f4a33a in NS_ProcessPendingEvents_P (thread=0x6177d0, timeout=20) at nsThreadUtils.cpp:200
#39 0x06818c07 in nsBaseAppShell::NativeEventCallback (this=0x66a0b0) at /Users/ludo/Documents/work/comm-central2/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:132
#40 0x067c601b in nsAppShell::ProcessGeckoEvents (aInfo=0x66a0b0) at /Users/ludo/Documents/work/comm-central2/mozilla/widget/src/cocoa/nsAppShell.mm:399
#41 0x9086e3c5 in CFRunLoopRunSpecific ()
#42 0x9086eaa8 in CFRunLoopRunInMode ()
#43 0x973582ac in RunCurrentEventLoopInMode ()
#44 0x97357ffe in ReceiveNextEventCommon ()
#45 0x97357f39 in BlockUntilNextEventMatchingListInMode ()
#46 0x939aa6d5 in _DPSNextEvent ()
#47 0x939a9f88 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#48 0x939a2f9f in -[NSApplication run] ()
#49 0x067c4d7d in nsAppShell::Run (this=0x66a0b0) at /Users/ludo/Documents/work/comm-central2/mozilla/widget/src/cocoa/nsAppShell.mm:746
#50 0x064ce158 in nsAppStartup::Run (this=0x6880a0) at /Users/ludo/Documents/work/comm-central2/mozilla/toolkit/components/startup/src/nsAppStartup.cpp:220
#51 0x053c2e38 in XRE_main (argc=1, argv=0xbffff934, aAppData=0x60c430) at /Users/ludo/Documents/work/comm-central2/mozilla/toolkit/xre/nsAppRunner.cpp:3766
#52 0x000028ab in main (argc=1, argv=0xbffff934) at /Users/ludo/Documents/work/comm-central2/mail/app/nsMailApp.cpp:101
Hmm, I think it's the LoadNextQueuedUrl that's the issue.
(In reply to comment #1)
> Hmm, I think it's the LoadNextQueuedUrl that's the issue.

anything more I need to provide ?
Severity: major → critical
Component: General → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.imap
Summary: Potential deadlock detected → Potential deadlock detected @ nsImapIncomingServer::LoadNextQueuedUrl
On the UI thread, nsImapIncomingServer::LoadNextQueuedUrl calls LoadImapUrl, and eventually  nsImapProtocol::TryToRunUrlLocally notices that we already have the message we were asking for, so it finishes the current url, and eventually the autosync OnStopRunningUrl listener tries to run a new url synchronously, which eventually calls LoadNextQueuedUrl re-entrantly. In the old world, this was OK, but not so much anymore. 

Ludo, I'd be surprised (but happy) if all your hangs are because of this, but I'll try to come up with a patch that breaks the cycle and generate a try server build (can you get symbols w/ those?). When this happens again, attaching a backtrace again would be useful, to see if it's the same issue. When it happened in MV, I don't think that was the stack I saw.
(In reply to comment #3)
> On the UI thread, nsImapIncomingServer::LoadNextQueuedUrl calls LoadImapUrl,
> and eventually  nsImapProtocol::TryToRunUrlLocally notices that we already have
> the message we were asking for, so it finishes the current url, and eventually
> the autosync OnStopRunningUrl listener tries to run a new url synchronously,
> which eventually calls LoadNextQueuedUrl re-entrantly. In the old world, this
> was OK, but not so much anymore. 
> 
> Ludo, I'd be surprised (but happy) if all your hangs are because of this, but
> I'll try to come up with a patch that breaks the cycle and generate a try

Can they build debug ? I'll be happy to run a debug build :-)
try server builds should be showing up here http://ftp.mozilla.org/pub/mozilla.org/thunderbird/tryserver-builds/bienvenu@nventure.com-c921fb26d3a1
OS: Mac OS X → All
Happilly running with the pacth and no issues so far. Shane Can you give a shot at the try build too ?
Shane was running with the build, w/o a problem, and is going to report back this morning if the stayed working over night.
Attached patch proposed fixSplinter Review
This posts an event to the event queue to send the start and stop running url notifications, so that we don't get re-entrant calls to LoadUrl, in the case that we decide that we don't need to run an imap url to fetch a message because the message has been added to the cache between the time the url was queued up and the time it actually got to run.
Assignee: nobody → bienvenu
Attachment #525672 - Flags: review?(bugzilla)
blocking-thunderbird5.0: --- → needed
While I'm not getting the lockups I had yesterday (yay!) I did still get a lockup on shutdown.  I'm assuming that is not related, since I noticed it once in a while before yesterday.

note on shutdown lockup: seems to happen after laptop sleeps and is awoken.
Comment on attachment 525672 [details] [diff] [review]
proposed fix

Yep, let's try this.
Attachment #525672 - Flags: review?(bugzilla) → review+
Ludovic said this was hurting him, so I've pushed it in time for today's nightlies:

http://hg.mozilla.org/comm-central/rev/116ebd3d466a
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: