Closed Bug 794174 Opened 12 years ago Closed 6 years ago

Leak tests hang sometimes when trying to get system proxy settings from GConf

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: catlee, Unassigned)

References

Details

We now run leak tests without any kind of desktop environment services running. It seems that this triggers an intermittent hang in the leak tests when trying to get the system proxy settings. We can work around this by overriding the proxy settings in the profile, but it looks like there's some underlying issue that should be investigated.

Thread 21 (Thread 0xf7736b70 (LWP 47706)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x002f69f7 in mprotect () from /lib/libc.so.6
#2  0x00000000 in ?? ()

Thread 20 (Thread 0xf6bffb70 (LWP 47707)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x8e3f8d0, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x02171861 in mozilla::CondVar::Wait (this=0x8e3f7d8, interval=4294967295) at BlockingResourceBase.cpp:339
#4  0x021c60c4 in nsCycleCollectorRunner::Run (this=0x8e3f7b8) at ../../../xpcom/base/nsCycleCollector.cpp:2996
#5  0x021b5464 in nsThread::ProcessNextEvent (this=0x8e3f988, mayWait=true, result=0xf6bff2cf) at ../../../xpcom/threads/nsThread.cpp:612
#6  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#7  0x021b46ad in nsThread::ThreadFunc (arg=0x8e3f988) at ../../../xpcom/threads/nsThread.cpp:256
#8  0x00e5b2bf in _pt_root (arg=0x8e3fc90) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#9  0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#10 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#11 0x00000000 in ?? ()

Thread 19 (Thread 0xf5fffb70 (LWP 47708)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x002ef5f6 in posix_fallocate () from /lib/libc.so.6
#2  0x00e557b4 in _pr_poll_with_poll (pds=0x8f4caf8, npds=1, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptio.c:3920
#3  0x011b8edb in nsSocketTransportService::Poll (this=0x8f3a860, wait=true, interval=0xf5fff1ac) at ../../../../netwerk/base/src/nsSocketTransportService2.cpp:392
#4  0x011b9e52 in nsSocketTransportService::DoPollIteration (this=0x8f3a860, wait=true) at ../../../../netwerk/base/src/nsSocketTransportService2.cpp:757
#5  0x011ba11b in nsSocketTransportService::Run (this=0x8f3a860) at ../../../../netwerk/base/src/nsSocketTransportService2.cpp:627
#6  0x021b5464 in nsThread::ProcessNextEvent (this=0x8f4cd70, mayWait=true, result=0xf5fff2cf) at ../../../xpcom/threads/nsThread.cpp:612
#7  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#8  0x021b46ad in nsThread::ThreadFunc (arg=0x8f4cd70) at ../../../xpcom/threads/nsThread.cpp:256
#9  0x00e5b2bf in _pt_root (arg=0x8ec9e48) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#10 0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#11 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#12 0x00000000 in ?? ()

Thread 18 (Thread 0xf53ffb70 (LWP 47709)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x8fc3258, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x02171861 in mozilla::CondVar::Wait (this=0x8fc2e2c, interval=4294967295) at BlockingResourceBase.cpp:339
#4  0x021bb0be in mozilla::HangMonitor::ThreadMain () at ../../../xpcom/threads/HangMonitor.cpp:214
#5  0x00e5b2bf in _pt_root (arg=0x8fc3388) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#6  0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#7  0x002fa43e in epoll_pwait () from /lib/libc.so.6
#8  0x00000000 in ?? ()

Thread 17 (Thread 0xf47ffb70 (LWP 47710)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x906de50, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x026a32c3 in js::GCHelperThread::threadLoop (this=0x9083e5c) at ../../../js/src/jsgc.cpp:2999
#4  0x00e5b2bf in _pt_root (arg=0x906ded0) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#5  0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#6  0x002fa43e in epoll_pwait () from /lib/libc.so.6
#7  0x00000000 in ?? ()

Thread 16 (Thread 0xf37ffb70 (LWP 47711)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x90c5df0, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x027c407c in js::WorkerThreadState::wait (this=0x906e280, which=<value optimized out>, millis=0) at ../../../js/src/jsworkers.cpp:198
#4  0x027c4d76 in js::WorkerThread::threadLoop (this=0x90c5e30) at ../../../js/src/jsworkers.cpp:260
#5  0x00e5b2bf in _pt_root (arg=0x90c5e68) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#6  0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#7  0x002fa43e in epoll_pwait () from /lib/libc.so.6
#8  0x00000000 in ?? ()

Thread 15 (Thread 0xf2dfeb70 (LWP 47712)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x90c5df0, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x027c407c in js::WorkerThreadState::wait (this=0x906e280, which=<value optimized out>, millis=0) at ../../../js/src/jsworkers.cpp:198
#4  0x027c4d76 in js::WorkerThread::threadLoop (this=0x90c5e40) at ../../../js/src/jsworkers.cpp:260
#5  0x00e5b2bf in _pt_root (arg=0x90c6010) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#6  0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#7  0x002fa43e in epoll_pwait () from /lib/libc.so.6
#8  0x00000000 in ?? ()

Thread 14 (Thread 0xf23fdb70 (LWP 47713)):
---Type <return> to continue, or q <return> to quit---
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x90c5df0, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x027c407c in js::WorkerThreadState::wait (this=0x906e280, which=<value optimized out>, millis=0) at ../../../js/src/jsworkers.cpp:198
#4  0x027c4d76 in js::WorkerThread::threadLoop (this=0x90c5e50) at ../../../js/src/jsworkers.cpp:260
#5  0x00e5b2bf in _pt_root (arg=0x90c61b8) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#6  0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#7  0x002fa43e in epoll_pwait () from /lib/libc.so.6
#8  0x00000000 in ?? ()

Thread 13 (Thread 0xf15ffb70 (LWP 47714)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x90c63d8, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x027633bb in js::SourceCompressorThread::threadLoop (this=0x9083ed8) at ../../../js/src/jsscript.cpp:924
#4  0x00e5b2bf in _pt_root (arg=0x90c6458) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#5  0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#6  0x002fa43e in epoll_pwait () from /lib/libc.so.6
#7  0x00000000 in ?? ()

Thread 12 (Thread 0xf0bfeb70 (LWP 47715)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x90ce8c0, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x01c08342 in XPCJSRuntime::WatchdogMain (arg=0x906a7e0) at ../../../../js/xpconnect/src/XPCJSRuntime.cpp:951
#4  0x00e5b2bf in _pt_root (arg=0x90ce900) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#5  0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#6  0x002fa43e in epoll_pwait () from /lib/libc.so.6
#7  0x00000000 in ?? ()

Thread 11 (Thread 0xefeffb70 (LWP 47716)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e80624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e52fb7 in pt_TimedWait (cv=0x8e31f2c, ml=0x8e31ea0, timeout=366829) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:260
#3  0x00e53c3a in PR_WaitCondVar (cvar=0x8e31f28, timeout=366829) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:387
#4  0x02171861 in mozilla::CondVar::Wait (this=0x8e31dd8, interval=366829) at BlockingResourceBase.cpp:339
#5  0x021ba9f9 in Wait (this=0x8e31db0) at ../../dist/include/mozilla/Monitor.h:47
#6  TimerThread::Run (this=0x8e31db0) at ../../../xpcom/threads/TimerThread.cpp:348
#7  0x021b5464 in nsThread::ProcessNextEvent (this=0x9016d20, mayWait=true, result=0xefeff2cf) at ../../../xpcom/threads/nsThread.cpp:612
#8  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#9  0x021b46ad in nsThread::ThreadFunc (arg=0x9016d20) at ../../../xpcom/threads/nsThread.cpp:256
#10 0x00e5b2bf in _pt_root (arg=0x90116e8) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#11 0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#12 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#13 0x00000000 in ?? ()

Thread 10 (Thread 0xef2ffb70 (LWP 47717)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x95d4310, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x00e54468 in PR_Wait (mon=0x95d4350, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:582
#4  0x021717e9 in mozilla::ReentrantMonitor::Wait (this=0x95d4200, interval=4294967295) at BlockingResourceBase.cpp:312
#5  0x021b2e62 in Wait (this=0x95d4200, mayWait=true, result=0xef2ff280) at ../../dist/include/mozilla/ReentrantMonitor.h:192
#6  nsEventQueue::GetEvent (this=0x95d4200, mayWait=true, result=0xef2ff280) at ../../../xpcom/threads/nsEventQueue.cpp:51
#7  0x021b53fe in nsThread::ProcessNextEvent (this=0x95d41c8, mayWait=true, result=0xef2ff2cf) at ../../../xpcom/threads/nsThread.cpp:604
#8  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#9  0x021b46ad in nsThread::ThreadFunc (arg=0x95d41c8) at ../../../xpcom/threads/nsThread.cpp:256
#10 0x00e5b2bf in _pt_root (arg=0x95d44d0) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#11 0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#12 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#13 0x00000000 in ?? ()

Thread 9 (Thread 0xee8feb70 (LWP 47718)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x90f2408, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x02171861 in mozilla::CondVar::Wait (this=0x90f22dc, interval=4294967295) at BlockingResourceBase.cpp:339
#4  0x01d9e905 in nsCertVerificationThread::Run (this=0x90f22c8) at ../../../../../security/manager/ssl/src/nsCertVerificationThread.cpp:133
#5  0x01d9de0f in nsPSMBackgroundThread::nsThreadRunner (arg=0x90f22c8) at ../../../../../security/manager/ssl/src/nsPSMBackgroundThread.cpp:14
#6  0x00e5b2bf in _pt_root (arg=0x90f2460) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#7  0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#8  0x002fa43e in epoll_pwait () from /lib/libc.so.6
#9  0x00000000 in ?? ()

Thread 8 (Thread 0xed2feb70 (LWP 47720)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x99b0100, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x00e54468 in PR_Wait (mon=0x9a14c50, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:582
#4  0x021717e9 in mozilla::ReentrantMonitor::Wait (this=0x99b9d00, interval=4294967295) at BlockingResourceBase.cpp:312
#5  0x021b2e62 in Wait (this=0x99b9d00, mayWait=true, result=0xed2fe280) at ../../dist/include/mozilla/ReentrantMonitor.h:192
#6  nsEventQueue::GetEvent (this=0x99b9d00, mayWait=true, result=0xed2fe280) at ../../../xpcom/threads/nsEventQueue.cpp:51
#7  0x021b53fe in nsThread::ProcessNextEvent (this=0x99b9cc8, mayWait=true, result=0xed2fe2cf) at ../../../xpcom/threads/nsThread.cpp:604
#8  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#9  0x021b46ad in nsThread::ThreadFunc (arg=0x99b9cc8) at ../../../xpcom/threads/nsThread.cpp:256
#10 0x00e5b2bf in _pt_root (arg=0x9ab1e10) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#11 0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#12 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#13 0x00000000 in ?? ()

Thread 7 (Thread 0xec4ffb70 (LWP 47727)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x9f8ddb8, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x00e54468 in PR_Wait (mon=0x9f8ddf8, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:582
#4  0x021717e9 in mozilla::ReentrantMonitor::Wait (this=0x9f8dce0, interval=4294967295) at BlockingResourceBase.cpp:312
#5  0x021b2e62 in Wait (this=0x9f8dce0, mayWait=true, result=0xec4ff280) at ../../dist/include/mozilla/ReentrantMonitor.h:192
#6  nsEventQueue::GetEvent (this=0x9f8dce0, mayWait=true, result=0xec4ff280) at ../../../xpcom/threads/nsEventQueue.cpp:51
#7  0x021b53fe in nsThread::ProcessNextEvent (this=0x9f8dca8, mayWait=true, result=0xec4ff2cf) at ../../../xpcom/threads/nsThread.cpp:604
#8  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#9  0x021b46ad in nsThread::ThreadFunc (arg=0x9f8dca8) at ../../../xpcom/threads/nsThread.cpp:256
#10 0x00e5b2bf in _pt_root (arg=0x9f8df78) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#11 0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#12 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#13 0x00000000 in ?? ()

Thread 6 (Thread 0xebafeb70 (LWP 47728)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x982a160, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x00e54468 in PR_Wait (mon=0x982a1a0, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:582
#4  0x021717e9 in mozilla::ReentrantMonitor::Wait (this=0x982a050, interval=4294967295) at BlockingResourceBase.cpp:312
#5  0x021b2e62 in Wait (this=0x982a050, mayWait=true, result=0xebafe280) at ../../dist/include/mozilla/ReentrantMonitor.h:192
#6  nsEventQueue::GetEvent (this=0x982a050, mayWait=true, result=0xebafe280) at ../../../xpcom/threads/nsEventQueue.cpp:51
#7  0x021b53fe in nsThread::ProcessNextEvent (this=0x982a018, mayWait=true, result=0xebafe2cf) at ../../../xpcom/threads/nsThread.cpp:604
#8  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#9  0x021b46ad in nsThread::ThreadFunc (arg=0x982a018) at ../../../xpcom/threads/nsThread.cpp:256
#10 0x00e5b2bf in _pt_root (arg=0x982a320) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#11 0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#12 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#13 0x00000000 in ?? ()

Thread 5 (Thread 0xeabfeb70 (LWP 47735)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0xabbec18, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x00e54468 in PR_Wait (mon=0xabbec58, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:582
#4  0x021717e9 in mozilla::ReentrantMonitor::Wait (this=0xabbeb08, interval=4294967295) at BlockingResourceBase.cpp:312
#5  0x021b2e62 in Wait (this=0xabbeb08, mayWait=true, result=0xeabfe280) at ../../dist/include/mozilla/ReentrantMonitor.h:192
#6  nsEventQueue::GetEvent (this=0xabbeb08, mayWait=true, result=0xeabfe280) at ../../../xpcom/threads/nsEventQueue.cpp:51
#7  0x021b53fe in nsThread::ProcessNextEvent (this=0xabbead0, mayWait=true, result=0xeabfe2cf) at ../../../xpcom/threads/nsThread.cpp:604
#8  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#9  0x021b46ad in nsThread::ThreadFunc (arg=0xabbead0) at ../../../xpcom/threads/nsThread.cpp:256
#10 0x00e5b2bf in _pt_root (arg=0xabbedd8) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#11 0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#12 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#13 0x00000000 in ?? ()

Thread 4 (Thread 0xea1fdb70 (LWP 47736)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0xac22728, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x00e54468 in PR_Wait (mon=0xac22768, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:582
#4  0x021717e9 in mozilla::ReentrantMonitor::Wait (this=0xac22638, interval=4294967295) at BlockingResourceBase.cpp:312
#5  0x021b2e62 in Wait (this=0xac22638, mayWait=true, result=0xea1fd280) at ../../dist/include/mozilla/ReentrantMonitor.h:192
#6  nsEventQueue::GetEvent (this=0xac22638, mayWait=true, result=0xea1fd280) at ../../../xpcom/threads/nsEventQueue.cpp:51
#7  0x021b53fe in nsThread::ProcessNextEvent (this=0xac22600, mayWait=true, result=0xea1fd2cf) at ../../../xpcom/threads/nsThread.cpp:604
#8  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#9  0x021b46ad in nsThread::ThreadFunc (arg=0xac22600) at ../../../xpcom/threads/nsThread.cpp:256
#10 0x00e5b2bf in _pt_root (arg=0xac228e8) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#11 0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#12 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#13 0x00000000 in ?? ()

Thread 3 (Thread 0xe95ffb70 (LWP 47737)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0xad18220, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x00e54468 in PR_Wait (mon=0xb133ed8, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:582
#4  0x021717e9 in mozilla::ReentrantMonitor::Wait (this=0xb1342f0, interval=4294967295) at BlockingResourceBase.cpp:312
#5  0x021b2e62 in Wait (this=0xb1342f0, mayWait=true, result=0xe95ff280) at ../../dist/include/mozilla/ReentrantMonitor.h:192
#6  nsEventQueue::GetEvent (this=0xb1342f0, mayWait=true, result=0xe95ff280) at ../../../xpcom/threads/nsEventQueue.cpp:51
#7  0x021b53fe in nsThread::ProcessNextEvent (this=0xb1342b8, mayWait=true, result=0xe95ff2cf) at ../../../xpcom/threads/nsThread.cpp:604
#8  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#9  0x021b46ad in nsThread::ThreadFunc (arg=0xb1342b8) at ../../../xpcom/threads/nsThread.cpp:256
#10 0x00e5b2bf in _pt_root (arg=0xb134058) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#11 0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#12 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#13 0x00000000 in ?? ()

Thread 2 (Thread 0xe89ffb70 (LWP 47765)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8027c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00e53d59 in PR_WaitCondVar (cvar=0x91966b8, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:385
#3  0x00e54468 in PR_Wait (mon=0xa955570, timeout=4294967295) at ../../../../../nsprpub/pr/src/pthreads/ptsynch.c:582
#4  0x021717e9 in mozilla::ReentrantMonitor::Wait (this=0xb106770, interval=4294967295) at BlockingResourceBase.cpp:312
#5  0x021b2e62 in Wait (this=0xb106770, mayWait=true, result=0xe89ff280) at ../../dist/include/mozilla/ReentrantMonitor.h:192
#6  nsEventQueue::GetEvent (this=0xb106770, mayWait=true, result=0xe89ff280) at ../../../xpcom/threads/nsEventQueue.cpp:51
#7  0x021b53fe in nsThread::ProcessNextEvent (this=0xb106738, mayWait=true, result=0xe89ff2cf) at ../../../xpcom/threads/nsThread.cpp:604
#8  0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=true) at nsThreadUtils.cpp:220
#9  0x021b46ad in nsThread::ThreadFunc (arg=0xb106738) at ../../../xpcom/threads/nsThread.cpp:256
#10 0x00e5b2bf in _pt_root (arg=0xaf71d20) at ../../../../../nsprpub/pr/src/pthreads/ptthread.c:156
#11 0x00e7ca09 in start_thread () from /lib/libpthread.so.0
#12 0x002fa43e in epoll_pwait () from /lib/libc.so.6
#13 0x00000000 in ?? ()

Thread 1 (Thread 0xf773f8e0 (LWP 47702)):
#0  0x00131430 in __kernel_vsyscall ()
#1  0x00e8344b in read () from /lib/libpthread.so.0
#2  0x00d56d2b in ?? ()
#3  0x00d57607 in ?? ()
#4  0x00d5781a in ?? ()
#5  0x00d4ca02 in ?? ()
#6  0x00d4c8cd in ?? ()
#7  0x00d36eee in ?? ()
#8  0x00d3220f in ?? ()
#9  0x03a6d54c in ?? ()
#10 0x03a6d845 in ?? ()
#11 0x03a7c34c in ?? ()
#12 0x03a7cfac in ?? ()
#13 0x03a7dd67 in ?? ()
#14 0x03a7de81 in ?? ()
#15 0x03a7e22f in ?? ()
#16 0x03a8411f in ?? ()
#17 0x03a8559f in ?? ()
#18 0x03a85ccc in ?? ()
#19 0x00d1c6ff in nsGConfService::GetString (this=0x9dbda38, aKey=..., aResult=...) at ../../../../toolkit/system/gnome/nsGConfService.cpp:120
#20 0x01e5f512 in nsUnixSystemProxySettings::IsProxyMode (this=0xaad6ae8, aMode=0x2be667e "auto") at ../../../../toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp:64
#21 0x01e5f69c in nsUnixSystemProxySettings::GetPACURI (this=0xaad6ae8, aResult=...) at ../../../../toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp:84
#22 0x011a497c in nsProtocolProxyService::Resolve_Internal (this=0xaad6b90, uri=0xa2185c8, info=..., flags=0, usePAC=0xffd5d8ff, result=0xffd5d94c) at ../../../../netwerk/base/src/nsProtocolProxyService.cpp:1257
#23 0x011a4cfd in nsProtocolProxyService::Resolve (this=0xaad6b90, uri=0xa2185c8, flags=0, result=0xffd5d94c) at ../../../../netwerk/base/src/nsProtocolProxyService.cpp:830
#24 0x0119cfb2 in nsIOService::LookupProxyInfo (this=0x8e71c30, aURI=0xa2185c8, aProxyURI=0x0, aProxyFlags=0, aScheme=0xffd5da04, outPI=0xffd5da64) at ../../../../netwerk/base/src/nsIOService.cpp:582
#25 0x0119d269 in nsIOService::NewChannelFromURIWithProxyFlags (this=0x8e71c30, aURI=0xa2185c8, aProxyURI=0x0, aProxyFlags=0, result=0xffd5db08) at ../../../../netwerk/base/src/nsIOService.cpp:618
#26 0x01199e35 in nsIOService::NewChannelFromURI (this=0x8e71c30, aURI=0xa2185c8, result=0xffd5db08) at ../../../../netwerk/base/src/nsIOService.cpp:562
#27 0x011952df in NS_NewChannel (result=0xffd5dc34, uri=0xa2185c8, ioService=0x8e71c30, loadGroup=0xb1af2b0, callbacks=0x0, loadFlags=4194304, channelPolicy=0x0) at ../../../dist/include/nsNetUtil.h:193
#28 0x01480cc7 in mozilla::css::Loader::LoadSheet (this=0x9190920, aLoadData=0xa2188d0, aSheetState=mozilla::css::eSheetNeedsParser) at ../../../layout/style/Loader.cpp:1510
#29 0x01482ec0 in mozilla::css::Loader::InternalLoadNonDocumentSheet (this=0x9190920, aURL=0xa2185c8, aAllowUnsafeRules=false, aUseSystemPrincipal=false, aOriginPrincipal=0xaadc1b0, aCharset=..., aSheet=0x0, aObserver=0x93b2d30, aCORSMode=mozilla::CORS_NONE)
    at ../../../layout/style/Loader.cpp:2201
#30 0x01482f7c in mozilla::css::Loader::LoadSheet (this=0x9190920, aURL=0xa2185c8, aOriginPrincipal=0xaadc1b0, aCharset=..., aObserver=0x93b2d30, aCORSMode=mozilla::CORS_NONE) at ../../../layout/style/Loader.cpp:2136
#31 0x015e32ad in nsDocument::PreloadStyle (this=0x941d500, uri=0xa2185c8, charset=..., aCrossOriginAttr=...) at ../../../../content/base/src/nsDocument.cpp:7879
#32 0x019e1c68 in nsHtml5TreeOpExecutor::PreloadStyle (this=0x9134490, aURL=..., aCharset=..., aCrossOrigin=...) at ../../../parser/html/nsHtml5TreeOpExecutor.cpp:1070
#33 0x019e8332 in nsHtml5SpeculativeLoad::Perform (this=0xf180234c, aExecutor=0x9134490) at ../../../parser/html/nsHtml5SpeculativeLoad.cpp:38
#34 0x019e206c in nsHtml5TreeOpExecutor::FlushSpeculativeLoads (this=0x9134490) at ../../../parser/html/nsHtml5TreeOpExecutor.cpp:419
#35 0x019e3a84 in nsHtml5LoadFlusher::Run (this=0x9133980) at ../../../parser/html/nsHtml5StreamParser.cpp:143
#36 0x021b5464 in nsThread::ProcessNextEvent (this=0x8e2a9f8, mayWait=false, result=0xffd5dfef) at ../../../xpcom/threads/nsThread.cpp:612
#37 0x0216fa4d in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=false) at nsThreadUtils.cpp:220
#38 0x0201947a in mozilla::ipc::MessagePump::Run (this=0x8e1d9e0, aDelegate=0x8e1d8e0) at ../../../ipc/glue/MessagePump.cpp:82
#39 0x021e483c in MessageLoop::RunInternal (this=0x8e1d8e0) at ../../../ipc/chromium/src/base/message_loop.cc:208
#40 0x021e4861 in RunHandler (this=0x8e1d8e0) at ../../../ipc/chromium/src/base/message_loop.cc:201
#41 MessageLoop::Run (this=0x8e1d8e0) at ../../../ipc/chromium/src/base/message_loop.cc:175
#42 0x01f25cb1 in nsBaseAppShell::Run (this=0x8f533d8) at ../../../widget/xpwidgets/nsBaseAppShell.cpp:163
#43 0x01d655fc in nsAppStartup::Run (this=0x8dfe640) at ../../../../toolkit/components/startup/nsAppStartup.cpp:290
#44 0x01165eab in XREMain::XRE_mainRun (this=0xffd5e304) at ../../../toolkit/xre/nsAppRunner.cpp:3782
#45 0x01166230 in XREMain::XRE_main (this=0xffd5e304, argc=8, argv=0xffd605c4, aAppData=0x80590e0) at ../../../toolkit/xre/nsAppRunner.cpp:3848
#46 0x011663a8 in XRE_main (argc=8, argv=0xffd605c4, aAppData=0x80590e0, aFlags=0) at ../../../toolkit/xre/nsAppRunner.cpp:3923
#47 0x08049d29 in do_main (argc=3842816, argv=0xaaa2a30) at ../../../browser/app/nsBrowserApp.cpp:174
#48 main (argc=3842816, argv=0xaaa2a30) at ../../../browser/app/nsBrowserApp.cpp:279
A strace output would be useful. Even a strace -p $pid from when the firefox process is hanging.
There are two firefox-bin processes. One is blocked on a read() call to a pipe file descriptor. The second is blocked on a futex() call.
(In reply to Chris AtLee [:catlee] from comment #2)
> There are two firefox-bin processes. One is blocked on a read() call to a
> pipe file descriptor.

That sounds like what is hanging. It would be useful to know what the other end of the pipe is. Checking files in /proc/*/fd would help (checking which one point to the same pipe)
Now that we have GIO (bug 713802), I checked whether we could remove the workaround.
Looks like a similar issue, but still no stacks because the harness generated a minidump and there was "No symbols path given".
https://tbpl.mozilla.org/php/getParsedLog.php?id=15608760&tree=Try#error1
I don't know whether symbols have even been generated at this point.
The builds run at this stage are not stripped.
We may still be falling back to GConf because there are no relevant GSettings schemas.
Ah, yes, GSettings are not available until GIO 2.26.
Summary: Leak tests hang sometimes when trying to get system proxy settings → Leak tests hang sometimes when trying to get system proxy settings from GConf
Mass closing bugs with no activity in 2+ years. If this bug is important to you, please re-open.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.