Closed Bug 584720 Opened 14 years ago Closed 14 years ago

Intermittent failure in test_crashreporter_crash.js, test_crash_purevirtual.js, test_crashreporter_crash_profile_lock.js | test failed (with xpcshell return code: 0), see following log: No minidump found! - See following stack:

Categories

(Toolkit :: Crash Reporting, defect)

x86
Windows Server 2003
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 584613

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1281009572.1281011415.14335.gz
WINNT 5.2 mozilla-central opt test xpcshell on 2010/08/05 04:59:32

TEST-UNEXPECTED-FAIL | e:\builds\moz2_slave\mozilla-central-win32-opt-unittest-xpcshell\build\xpcshell\tests\crashreporter_test\unit\test_crashreporter_crash.js | test failed (with xpcshell return code: 0), see following log:
  >>>>>>>
  TEST-INFO | (xpcshell/head.js) | test 1 pending
TEST-PASS | e:/builds/moz2_slave/mozilla-central-win32-opt-unittest-xpcshell/build/xpcshell/tests/crashreporter_test/unit/head_crashreporter.js | [do_crash : 36] true == true
arg[0] = -g
arg[1] = e:\builds\moz2_slave\mozilla-central-win32-opt-unittest-xpcshell\build\firefox
arg[2] = -f
arg[3] = e:\builds\moz2_slave\mozilla-central-win32-opt-unittest-xpcshell\build\xpcshell\tests\crashreporter_test\unit\crasher_subprocess_head.js
arg[4] = -f
arg[5] = e:\builds\moz2_slave\mozilla-central-win32-opt-unittest-xpcshell\build\xpcshell\tests\crashreporter_test\unit\crasher_subprocess_tail.js
e:\builds\moz2_slave\mozilla-central-win32-opt-unittest-xpcshell\build\xpcshell\tests\crashreporter_test\unit\crasher_subprocess_head.js:14: TypeError: Components.interfaces.nsITestCrasher is undefined
e:\builds\moz2_slave\mozilla-central-win32-opt-unittest-xpcshell\build\xpcshell\tests\crashreporter_test\unit\crasher_subprocess_tail.js:2: TypeError: Components.classes['@mozilla.org/testcrasher;1'] is undefined
TEST-PASS | e:/builds/moz2_slave/mozilla-central-win32-opt-unittest-xpcshell/build/xpcshell/tests/crashreporter_test/unit/head_crashreporter.js | [do_crash : 65] 3 != 0
TEST-UNEXPECTED-FAIL | e:/builds/moz2_slave/mozilla-central-win32-opt-unittest-xpcshell/build/xpcshell/tests/crashreporter_test/unit/head_crashreporter.js | No minidump found! - See following stack:
JS frame :: e:\builds\moz2_slave\mozilla-central-win32-opt-unittest-xpcshell\build\xpcshell\head.js :: do_throw :: line 273
JS frame :: e:/builds/moz2_slave/mozilla-central-win32-opt-unittest-xpcshell/build/xpcshell/tests/crashreporter_test/unit/head_crashreporter.js :: do_crash :: line 80
JS frame :: e:/builds/moz2_slave/mozilla-central-win32-opt-unittest-xpcshell/build/xpcshell/tests/crashreporter_test/unit/test_crashreporter_crash.js :: run_test :: line 9
JS frame :: e:\builds\moz2_slave\mozilla-central-win32-opt-unittest-xpcshell\build\xpcshell\head.js :: _execute_test :: line 166
JS frame :: -e :: <TOP_LEVEL> :: line 1
TEST-INFO | (xpcshell/head.js) | exiting test

  <<<<<<<
This error is due to:
e:\builds\moz2_slave\mozilla-central-win32-opt-unittest-xpcshell\build\xpcshell\tests\crashreporter_test\unit\crasher_subprocess_head.js:14:
TypeError: Components.interfaces.nsITestCrasher is undefined
e:\builds\moz2_slave\mozilla-central-win32-opt-unittest-xpcshell\build\xpcshell\tests\crashreporter_test\unit\crasher_subprocess_tail.js:2:
TypeError: Components.classes['@mozilla.org/testcrasher;1'] is undefined

The interface / component aren't available in the subprocess for some reason. Could be some kind of fallout from component registration, I don't know.

The test crasher component could probably be rewritten to use ctypes instead, like I did with "crash me now".
Probably a dupe of bug 584613, honestly. (philor mentioned as much in some other bug, but there have been so many bugs filed on this crap today I've lost track).
OS: Mac OS X → Windows Server 2003
Summary: Intermittent failure in test_crashreporter_crash.js | test failed (with xpcshell return code: 0), see following log: No minidump found! - See following stack: → Intermittent failure in test_crashreporter_crash.js, test_crash_purevirtual.js, test_crashreporter_crash_profile_lock.js | test failed (with xpcshell return code: 0), see following log: No minidump found! - See following stack:
Duping over unless proven otherwise. This is a totally new failure case and the only explanation I can imagine is that xpcshell can't read some files.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
No longer blocks: 438871
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.