Public bug reported:

The child process spawned by test_locale_matchOS.js seems to hang on
shutdown:

(gdb) bt
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcd12515de0 in PR_WaitCondVar (cvar=0x7fcd08e02840, 
timeout=4294967295) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/./nsprpub/pr/src/pthreads/ptsynch.c:385
#2  0x00007fcd12516103 in PR_Wait (mon=0x7fcd08e3d900, timeout=<optimised out>) 
at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/./nsprpub/pr/src/pthreads/ptsynch.c:582
#3  0x00007fcd14023735 in Wait (interval=4294967295, this=0x7fcd08e2e258) at 
../../dist/include/mozilla/ReentrantMonitor.h:89
#4  Wait (interval=4294967295, this=<synthetic pointer>) at 
../../dist/include/mozilla/ReentrantMonitor.h:192
#5  nsEventQueue::GetEvent (this=this@entry=0x7fcd08e2e258, mayWait=true, 
result=0x7fffe7f04398)
    at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/threads/nsEventQueue.cpp:58
#6  0x00007fcd14024a66 in nsThread::ProcessNextEvent (this=0x7fcd08e2e200, 
mayWait=true, result=0x7fffe7f043ff)
    at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/threads/nsThread.cpp:614
#7  0x00007fcd13ff1302 in NS_ProcessNextEvent (thread=<optimised out>, 
thread@entry=0x7fcd08e2e200, mayWait=mayWait@entry=true)
    at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/glue/nsThreadUtils.cpp:238
#8  0x00007fcd1378c335 in mozilla::dom::workers::RuntimeService::Cleanup 
(this=this@entry=0x7fccfd9ed6d0)
    at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/RuntimeService.cpp:1704
#9  0x00007fcd1378c573 in mozilla::dom::workers::RuntimeService::Observe 
(this=0x7fccfd9ed6d0, aSubject=<optimised out>, aTopic=0x7fcd14ba012c 
"xpcom-shutdown-threads", 
    aData=<optimised out>) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/RuntimeService.cpp:1966
#10 0x00007fcd13fff4f8 in nsObserverList::NotifyObservers (this=<optimised 
out>, aSubject=aSubject@entry=0x0, aTopic=aTopic@entry=0x7fcd14ba012c 
"xpcom-shutdown-threads", 
    someData=someData@entry=0x0) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/ds/nsObserverList.cpp:96
#11 0x00007fcd13fffead in nsObserverService::NotifyObservers 
(this=0x7fcd08e27880, aSubject=aSubject@entry=0x0, 
aTopic=aTopic@entry=0x7fcd14ba012c "xpcom-shutdown-threads", 
    someData=someData@entry=0x0) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/ds/nsObserverService.cpp:334
#12 0x00007fcd13ff6010 in mozilla::ShutdownXPCOM (servMgr=0x0) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/build/nsXPComInit.cpp:665
#13 0x00007fcd16a81646 in main (argc=19, argv=0x7fffe7f04c40, envp=<optimised 
out>) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/js/xpconnect/shell/xpcshell.cpp:1784
(gdb) t 3
[Switching to thread 3 (Thread 0x7fcd00dff700 (LWP 25765))]
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185     ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such 
file or directory.
(gdb) bt
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcd12515de0 in PR_WaitCondVar (cvar=0x7fccfd94fe40, 
timeout=4294967295) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/./nsprpub/pr/src/pthreads/ptsynch.c:385
#2  0x00007fcd13792627 in mozilla::CondVar::Wait (interval=<optimised out>, 
this=<optimised out>) at ../../dist/include/mozilla/CondVar.h:70
#3  0x00007fcd13792b15 in 
mozilla::dom::workers::WorkerPrivate::WaitForWorkerEvents 
(this=this@entry=0x7fccfd917000, aInterval=aInterval@entry=4294967295)
    at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/WorkerPrivate.cpp:3179
#4  0x00007fcd137977ea in mozilla::dom::workers::WorkerPrivate::DoRunLoop 
(this=this@entry=0x7fccfd917000, aCx=aCx@entry=0x7fccfed31f20)
    at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/WorkerPrivate.cpp:2845
#5  0x00007fcd1378a3e5 in (anonymous namespace)::WorkerThreadRunnable::Run 
(this=<optimised out>)
    at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/RuntimeService.cpp:936
#6  0x00007fcd14024a95 in nsThread::ProcessNextEvent (this=0x7fccfd90d200, 
mayWait=true, result=0x7fcd00dfeb5f)
    at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/threads/nsThread.cpp:622
#7  0x00007fcd13ff1302 in NS_ProcessNextEvent (thread=<optimised out>, 
thread@entry=0x7fccfd90d200, mayWait=mayWait@entry=true)
    at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/glue/nsThreadUtils.cpp:238
#8  0x00007fcd14025165 in nsThread::ThreadFunc (arg=0x7fccfd90d200) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/threads/nsThread.cpp:250
#9  0x00007fcd1251b555 in _pt_root (arg=0x7fccfed31ae0) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/./nsprpub/pr/src/pthreads/ptthread.c:204
#10 0x00007fcd1663ff6e in start_thread (arg=0x7fcd00dff700) at 
pthread_create.c:311
#11 0x00007fcd11c1ce2d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
(gdb) f 4
#4  0x00007fcd137977ea in mozilla::dom::workers::WorkerPrivate::DoRunLoop 
(this=this@entry=0x7fccfd917000, aCx=aCx@entry=0x7fccfed31f20)
    at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/WorkerPrivate.cpp:2845
2845    
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/WorkerPrivate.cpp:
 No such file or directory.
(gdb) p mLocationInfo
$1 = {mHref = {<nsACString_internal> = {mData = 0x7fccfd94fd88 
"resource://gre/modules/osfile/osfile_async_worker.js", mLength = 52, mFlags = 
5}, <No data fields>}, 
  mProtocol = {<nsACString_internal> = {mData = 0x7fccfe465ba8 "resource:", 
mLength = 9, mFlags = 5}, <No data fields>}, mHost = {<nsACString_internal> = 
{mData = 0x7fccfd9ea8d8 "gre", 
      mLength = 3, mFlags = 5}, <No data fields>}, mHostname = 
{<nsACString_internal> = {mData = 0x7fccfd9ea8d8 "gre", mLength = 3, mFlags = 
5}, <No data fields>}, 
  mPort = {<nsACString_internal> = {mData = 0x7fcd164bea00 <gNullChar> "", 
mLength = 0, mFlags = 1}, <No data fields>}, mPathname = {<nsACString_internal> 
= {
      mData = 0x7fccfe2d2ac8 "/modules/osfile/osfile_async_worker.js", mLength 
= 38, mFlags = 5}, <No data fields>}, mSearch = {<nsACString_internal> = {
      mData = 0x7fcd164bea00 <gNullChar> "", mLength = 0, mFlags = 1}, <No data 
fields>}, mHash = {<nsACString_internal> = {mData = 0x7fcd164bea00 <gNullChar> 
"", mLength = 0, 
      mFlags = 1}, <No data fields>}}

** Affects: firefox (Ubuntu)
     Importance: High
         Status: Triaged


** Tags: moz-test-regression

** Changed in: firefox (Ubuntu)
   Importance: Undecided => High

** Changed in: firefox (Ubuntu)
       Status: New => Triaged

** Tags added: moz-test-regression

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1226685

Title:
  test_locale_matchOS.js child process hangs

Status in “firefox” package in Ubuntu:
  Triaged

Bug description:
  The child process spawned by test_locale_matchOS.js seems to hang on
  shutdown:

  (gdb) bt
  #0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  #1  0x00007fcd12515de0 in PR_WaitCondVar (cvar=0x7fcd08e02840, 
timeout=4294967295) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/./nsprpub/pr/src/pthreads/ptsynch.c:385
  #2  0x00007fcd12516103 in PR_Wait (mon=0x7fcd08e3d900, timeout=<optimised 
out>) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/./nsprpub/pr/src/pthreads/ptsynch.c:582
  #3  0x00007fcd14023735 in Wait (interval=4294967295, this=0x7fcd08e2e258) at 
../../dist/include/mozilla/ReentrantMonitor.h:89
  #4  Wait (interval=4294967295, this=<synthetic pointer>) at 
../../dist/include/mozilla/ReentrantMonitor.h:192
  #5  nsEventQueue::GetEvent (this=this@entry=0x7fcd08e2e258, mayWait=true, 
result=0x7fffe7f04398)
      at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/threads/nsEventQueue.cpp:58
  #6  0x00007fcd14024a66 in nsThread::ProcessNextEvent (this=0x7fcd08e2e200, 
mayWait=true, result=0x7fffe7f043ff)
      at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/threads/nsThread.cpp:614
  #7  0x00007fcd13ff1302 in NS_ProcessNextEvent (thread=<optimised out>, 
thread@entry=0x7fcd08e2e200, mayWait=mayWait@entry=true)
      at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/glue/nsThreadUtils.cpp:238
  #8  0x00007fcd1378c335 in mozilla::dom::workers::RuntimeService::Cleanup 
(this=this@entry=0x7fccfd9ed6d0)
      at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/RuntimeService.cpp:1704
  #9  0x00007fcd1378c573 in mozilla::dom::workers::RuntimeService::Observe 
(this=0x7fccfd9ed6d0, aSubject=<optimised out>, aTopic=0x7fcd14ba012c 
"xpcom-shutdown-threads", 
      aData=<optimised out>) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/RuntimeService.cpp:1966
  #10 0x00007fcd13fff4f8 in nsObserverList::NotifyObservers (this=<optimised 
out>, aSubject=aSubject@entry=0x0, aTopic=aTopic@entry=0x7fcd14ba012c 
"xpcom-shutdown-threads", 
      someData=someData@entry=0x0) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/ds/nsObserverList.cpp:96
  #11 0x00007fcd13fffead in nsObserverService::NotifyObservers 
(this=0x7fcd08e27880, aSubject=aSubject@entry=0x0, 
aTopic=aTopic@entry=0x7fcd14ba012c "xpcom-shutdown-threads", 
      someData=someData@entry=0x0) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/ds/nsObserverService.cpp:334
  #12 0x00007fcd13ff6010 in mozilla::ShutdownXPCOM (servMgr=0x0) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/build/nsXPComInit.cpp:665
  #13 0x00007fcd16a81646 in main (argc=19, argv=0x7fffe7f04c40, envp=<optimised 
out>) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/js/xpconnect/shell/xpcshell.cpp:1784
  (gdb) t 3
  [Switching to thread 3 (Thread 0x7fcd00dff700 (LWP 25765))]
  #0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  185     ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such 
file or directory.
  (gdb) bt
  #0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  #1  0x00007fcd12515de0 in PR_WaitCondVar (cvar=0x7fccfd94fe40, 
timeout=4294967295) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/./nsprpub/pr/src/pthreads/ptsynch.c:385
  #2  0x00007fcd13792627 in mozilla::CondVar::Wait (interval=<optimised out>, 
this=<optimised out>) at ../../dist/include/mozilla/CondVar.h:70
  #3  0x00007fcd13792b15 in 
mozilla::dom::workers::WorkerPrivate::WaitForWorkerEvents 
(this=this@entry=0x7fccfd917000, aInterval=aInterval@entry=4294967295)
      at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/WorkerPrivate.cpp:3179
  #4  0x00007fcd137977ea in mozilla::dom::workers::WorkerPrivate::DoRunLoop 
(this=this@entry=0x7fccfd917000, aCx=aCx@entry=0x7fccfed31f20)
      at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/WorkerPrivate.cpp:2845
  #5  0x00007fcd1378a3e5 in (anonymous namespace)::WorkerThreadRunnable::Run 
(this=<optimised out>)
      at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/RuntimeService.cpp:936
  #6  0x00007fcd14024a95 in nsThread::ProcessNextEvent (this=0x7fccfd90d200, 
mayWait=true, result=0x7fcd00dfeb5f)
      at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/threads/nsThread.cpp:622
  #7  0x00007fcd13ff1302 in NS_ProcessNextEvent (thread=<optimised out>, 
thread@entry=0x7fccfd90d200, mayWait=mayWait@entry=true)
      at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/glue/nsThreadUtils.cpp:238
  #8  0x00007fcd14025165 in nsThread::ThreadFunc (arg=0x7fccfd90d200) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/xpcom/threads/nsThread.cpp:250
  #9  0x00007fcd1251b555 in _pt_root (arg=0x7fccfed31ae0) at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/./nsprpub/pr/src/pthreads/ptthread.c:204
  #10 0x00007fcd1663ff6e in start_thread (arg=0x7fcd00dff700) at 
pthread_create.c:311
  #11 0x00007fcd11c1ce2d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
  (gdb) f 4
  #4  0x00007fcd137977ea in mozilla::dom::workers::WorkerPrivate::DoRunLoop 
(this=this@entry=0x7fccfd917000, aCx=aCx@entry=0x7fccfed31f20)
      at 
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/WorkerPrivate.cpp:2845
  2845    
/build/buildd/firefox-trunk-26.0~a1~hg20130916r147315/dom/workers/WorkerPrivate.cpp:
 No such file or directory.
  (gdb) p mLocationInfo
  $1 = {mHref = {<nsACString_internal> = {mData = 0x7fccfd94fd88 
"resource://gre/modules/osfile/osfile_async_worker.js", mLength = 52, mFlags = 
5}, <No data fields>}, 
    mProtocol = {<nsACString_internal> = {mData = 0x7fccfe465ba8 "resource:", 
mLength = 9, mFlags = 5}, <No data fields>}, mHost = {<nsACString_internal> = 
{mData = 0x7fccfd9ea8d8 "gre", 
        mLength = 3, mFlags = 5}, <No data fields>}, mHostname = 
{<nsACString_internal> = {mData = 0x7fccfd9ea8d8 "gre", mLength = 3, mFlags = 
5}, <No data fields>}, 
    mPort = {<nsACString_internal> = {mData = 0x7fcd164bea00 <gNullChar> "", 
mLength = 0, mFlags = 1}, <No data fields>}, mPathname = {<nsACString_internal> 
= {
        mData = 0x7fccfe2d2ac8 "/modules/osfile/osfile_async_worker.js", 
mLength = 38, mFlags = 5}, <No data fields>}, mSearch = {<nsACString_internal> 
= {
        mData = 0x7fcd164bea00 <gNullChar> "", mLength = 0, mFlags = 1}, <No 
data fields>}, mHash = {<nsACString_internal> = {mData = 0x7fcd164bea00 
<gNullChar> "", mLength = 0, 
        mFlags = 1}, <No data fields>}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1226685/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to