Closed Bug 699333 Opened 13 years ago Closed 12 years ago

Intermittent mochitest-chrome shutdown crash [@ mozilla::DeadlockDetector<mozilla::BlockingResourceBase::DeadlockDetectorEntry>::CheckAcquisition] after warnings about not unregistering memory reporters in dom/workers/WorkerPrivate.cpp

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=7177193&tree=Mozilla-Inbound
Rev3 Fedora 12 mozilla-inbound debug test mochitest-other on 2011-11-02 21:37:16 PDT for push 182821718b51

WARNING: Failed to unregister memory reporter!: file ../../../dom/workers/WorkerPrivate.cpp, line 2481
NOTE: child process received `Goodbye', closing down
nsStringStats
 => mAllocCount:            186
 => mReallocCount:            1
 => mFreeCount:             186
 => mShareCount:            134
 => mAdoptCount:              0
 => mAdoptFreeCount:          0
WARNING: nsExceptionService ignoring thread destruction after shutdown: file ../../../xpcom/base/nsExceptionService.cpp, line 197
WARNING: Failed to unregister memory reporter!: file ../../../dom/workers/WorkerPrivate.cpp, line 2481
WARNING: Failed to unregister memory reporter!: file ../../../dom/workers/WorkerPrivate.cpp, line 2481
TEST-UNEXPECTED-FAIL | Shutdown | Exited with code 1 during test run
INFO | automation.py | Application ran for: 0:12:20.798207
INFO | automation.py | Reading PID log: /tmp/tmpn_tSjIpidlog
==> process 2156 launched child process 2188
==> process 2156 launched child process 2195
==> process 2156 launched child process 2202
==> process 2156 launched child process 2204
==> process 2156 launched child process 2206
INFO | automation.py | Checking for orphan process with PID: 2188
INFO | automation.py | Checking for orphan process with PID: 2195
INFO | automation.py | Checking for orphan process with PID: 2202
INFO | automation.py | Checking for orphan process with PID: 2204
INFO | automation.py | Checking for orphan process with PID: 2206
PROCESS-CRASH | Shutdown | application crashed (minidump found)
Crash dump filename: /tmp/tmpqP-AG_/minidumps/57b4dc85-564e-19ae-12d5dd5b-53121e9a.dmp
Operating system: Linux
                  0.0.0 Linux 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
CPU: x86
     GenuineIntel family 6 model 23 stepping 10
     2 CPUs

Crash reason:  SIGSEGV
Crash address: 0xc

Thread 3 (crashed)
 0  libxul.so!mozilla::DeadlockDetector<mozilla::BlockingResourceBase::DeadlockDetectorEntry>::CheckAcquisition [DeadlockDetector.h : 436 + 0x0]
    eip = 0x01d44488   esp = 0xb57feee0   ebp = 0xb57fef28   ebx = 0x027836e0
    esi = 0x00000000   edi = 0x00000000   eax = 0x0c876ff8   ecx = 0x0c876ff8
    edx = 0x0c876ff8   efl = 0x00010282
    Found by: given as instruction pointer in context
 1  libxul.so!mozilla::BlockingResourceBase::CheckAcquire [BlockingResourceBase.cpp : 140 + 0x1b]
    eip = 0x01d44629   esp = 0xb57fef30   ebp = 0xb57fefb8   ebx = 0x027836e0
    esi = 0xb58b0530   edi = 0xb57fefdc
    Found by: call frame info
 2  libxul.so!mozilla::Mutex::Lock [BlockingResourceBase.cpp : 260 + 0x4]
    eip = 0x01d4480d   esp = 0xb57fefc0   ebp = 0xb57feff8   ebx = 0x027836e0
    esi = 0xb58b0530   edi = 0xb57fefdc
    Found by: call frame info
 3  libxul.so!mozilla::dom::workers::WorkerPrivate::Dispatch [WorkerPrivate.cpp : 2657 + 0x4]
    eip = 0x016035a3   esp = 0xb57ff000   ebp = 0xb57ff058   ebx = 0x027836e0
    esi = 0xb58b0528   edi = 0xb58b06ec
    Found by: call frame info
 4  libxul.so!mozilla::dom::workers::WorkerPrivate::Dispatch [WorkerPrivate.h : 566 + 0xf]
    eip = 0x0160369b   esp = 0xb57ff060   ebp = 0xb57ff078   ebx = 0x027836e0
    esi = 0xb6ae25f8   edi = 0x0270c401
    Found by: call frame info
 5  libxul.so!mozilla::dom::workers::WorkerControlRunnable::DispatchInternal [WorkerPrivate.cpp : 1541 + 0xc]
    eip = 0x016036c8   esp = 0xb57ff080   ebp = 0xb57ff098   ebx = 0x027836e0
    esi = 0xb6ae25f8   edi = 0x0270c401
    Found by: call frame info
 6  libxul.so!mozilla::dom::workers::WorkerRunnable::Dispatch [WorkerPrivate.cpp : 1485 + 0x8]
    eip = 0x015fcff3   esp = 0xb57ff0a0   ebp = 0xb57ff118   ebx = 0x027836e0
    esi = 0xb6ae25f8   edi = 0x0270c401
    Found by: call frame info
 7  libxul.so!WorkerRunnableEventTarget::Dispatch [WorkerPrivate.cpp : 1212 + 0x15]
    eip = 0x015fda70   esp = 0xb57ff120   ebp = 0xb57ff158   ebx = 0x027836e0
    esi = 0xb6aeae8c   edi = 0xb4c74ac8
    Found by: call frame info
 8  libxul.so!nsTimerImpl::PostTimerEvent [nsTimerImpl.cpp : 558 + 0x19]
    eip = 0x01d8aa92   esp = 0xb57ff160   ebp = 0xb57ff1a8   ebx = 0x027836e0
    esi = 0xad2c2750   edi = 0x8007000e
    Found by: call frame info
 9  libxul.so!TimerThread::Run [TimerThread.cpp : 300 + 0x8]
    eip = 0x01d8bd38   esp = 0xb57ff1b0   ebp = 0xb57ff248   ebx = 0x027836e0
Mass marking whiteboard:[orange] bugs WFM (to clean up TBPL bug suggestions) that:
* Haven't changed in > 6months
* Whose whiteboard contains none of the strings: {disabled,marked,random,fuzzy,todo,fails,failing,annotated,leave open,time-bomb}
* Passed a (quick) manual inspection of bug summary/whiteboard to ensure they weren't a false positive.

I've also gone through and searched for cases where the whiteboard wasn't labelled correctly after test disabling, by using attachment description & basic comment searches. However if the test for which this bug was about has in fact been disabled/annotated/..., please accept my apologies & reopen/mark the whiteboard appropriately so this doesn't get re-closed in the future (and please ping me via IRC or email so I can try to tweak the saved searches to avoid more edge cases).

Sorry for the spam! Filter on: #FFA500
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.