Closed
Bug 523378
Opened 16 years ago
Closed 3 months ago
TestDeadlockDetector and test_deadlock_detector fail on OS X
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ehsan.akhgari, Unassigned)
References
()
Details
http://tinderbox.mozilla.org/showlog.cgi?tree=Firefox&errorparser=unix&logfile=1256048591.1256052170.9057.gz&buildtime=1256048591&buildname=OS%20X%2010.5.2%20mozilla-central%20leak%20test%20build&fulltext=1
OS X 10.5.2 mozilla-central leak test build on 2009/10/20 07:23:11
Running Deadlock detector correctness tests...
(missed token '###!!! ERROR: Potential deadlock detected' in output)
----------------------------------
----------------------------------
TEST-UNEXPECTED-FAIL | deadlock not detected
TEST-PASS | Sanity2
(missed token '###!!! ERROR: Potential deadlock detected' in output)
----------------------------------
----------------------------------
TEST-UNEXPECTED-FAIL | deadlock not detected
(missed token 'Re-entering Monitor after acquiring other resources' in output)
----------------------------------
----------------------------------
TEST-UNEXPECTED-FAIL | deadlock not detected
(missed token '###!!! ERROR: Potential deadlock detected' in output)
----------------------------------
----------------------------------
TEST-UNEXPECTED-FAIL | deadlock not detected
TEST-PASS | ContentionNoDeadlock
Finished running Deadlock detector correctness tests.
nsStringStats
=> mAllocCount: 2701
=> mReallocCount: 1
=> mFreeCount: 2701
=> mShareCount: 0
=> mAdoptCount: 2
=> mAdoptFreeCount: 2
make[2]: *** [check] Error 1
I can't really explain this, but I *highly* doubt that it has anything to do with the associated pushlog: <http://hg.mozilla.org/mozilla-central/rev/68490d9daf23>
| Reporter | ||
Updated•16 years ago
|
Whiteboard: [orange]
Comment 1•16 years ago
|
||
These tests on debug builds were just enabled this morning, so it's very likely that it's unrelated to http://hg.mozilla.org/mozilla-central/rev/68490d9daf23
Comment 2•16 years ago
|
||
Disabled this test on OS X for now:
http://hg.mozilla.org/mozilla-central/rev/ebe24de601e5
No longer blocks: 438871
Summary: xpcom/tests/TestDeadlockDetector.cpp: TEST_UNEXPECTED_FAIL | deadlock not detected → TestDeadlockDetector fails on OS X
Whiteboard: [orange]
All good on my machine, can't repro :S.
BUT, these tests take a *riDONCulously* long time to run. Could the test subprocess perhaps be getting killed off by something?
I'm actually fine with disabling these on Mac too, because of the ridiculously long test runs. (They're nearly instantaneous on linux.) It's just not worth the effort to debug this; I suspect NSPR again.
Seems to still be failing. Are the unit tests installed somewhere such that they don't get wiped out until a clobber?
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1256067791.1256069391.9162.gz
OS X 10.5.2 mozilla-central leak test build on 2009/10/20 12:43:11
I also disabled test_deadlock_detector, which we'll make covered by the same bug:
http://hg.mozilla.org/mozilla-central/rev/b82dd427322d
Summary: TestDeadlockDetector fails on OS X → TestDeadlockDetector and test_deadlock_detector fail on OS X
Updated•3 years ago
|
Severity: normal → S3
Comment 6•3 months ago
|
||
The old xpcshell test_deadlock_detector that was failing on macOS was converted to a gtest in bug 1313488. The gtest TestDeadlockDetector runs on macOS debug builds and has had no intermittent failures reported in over 10 years. Closing as WORKSFORME.
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•