-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Issue #88 mentioned that tst.postmortem_jsstack.js fails on 6.11.2 for both 32-bit and 64-bit.
I ran into this again when running the test suite from the latest master (d31211b9d47360f044fc63e67deaec3605f8d081
).
For reference, the output summary of the tests is:
Summary:
0.10.48 sunos x86: success
0.10.48 sunos x64: success
0.12.17 sunos x86: success
0.12.17 sunos x64: success
4.8.4 sunos x86: success
4.8.4 sunos x64: success
6.11.2 sunos x86: fail
6.11.2 sunos x64: fail
Both 32-bit and 64-bit 6.11.2 failed on tst.postmortem_jsstack.js as follows:
$ cat /var/tmp/catest.54316/failure.0/54316.err
assert.js:85
throw new assert.AssertionError({
^
AssertionError: unexpected frame where stalloogle was expected; core retained as /var/tmp/node.54479
at ChildProcess.<anonymous> (/root/mdb_v8/test/standalone/tst.postmortem_jsstack.js:130:11)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
Running ::jsstack
on the core, we see that there is an extra stack frame (loadavg
called by stalloogle
), as noted in #88 :
> ::jsstack
native: libc.so.1`__getloadavg+0x15
native: uv_loadavg+0x19
native: v8::internal::FunctionCallbackArguments::Call+0x117
native: _ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperEPNS0_7Isolate...
native: _ZN2v88internalL21Builtin_HandleApiCallEiPPNS0_6ObjectEPNS0_7Iso...
(1 internal frame elided)
js: loadavg
js: stalloogle
js: bagnoogle
js: doogle
js: ontimeout
js: tryOnTimeout
js: listOnTimeout
(1 internal frame elided)
(1 internal frame elided)
native: v8::internal::Execution::Call+0xb1
native: v8::Function::Call+0x120
native: v8::Function::Call+0x57
native: node::AsyncWrap::MakeCallback+0x165
native: node::TimerWrap::OnTimeout+0xaf
native: uv__run_timers+0x8e
native: uv_run+0x314
native: node::Start+0x616
native: main+0x63
native: _start+0x83
We should update the tests to account for the loadavg
stack frame.
Metadata
Metadata
Assignees
Labels
No labels