Uh oh!
There was an error while loading. Please reload this page.
timers: run nextTicks + MTQ between timers / immediates - #22316
timers: run nextTicks + MTQ between timers / immediates#22316Fishrock123 wants to merge 1 commit into
Conversation
Fishrock123
commented
Aug 14, 2018
Ugh, how do I stop those? |
CITGM (I think I did this right): https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1506/ |
devsnek
commented
Aug 14, 2018
@Fishrock123 I cancelled the Travis CI |
So, I think this might need to be slightly more complicated to account for proper error handling but I'll need to confirm (if next tick queue throws). Will review and test in more detail before tomorrow morning. |
Fishrock123
commented
Aug 14, 2018
Hmm, CITGM builds seem to have failed? @nodejs/build |
Fishrock123
commented
Aug 14, 2018
Ok well, this patch allows the tests to run but also causes many async_hooks segfaults: diff --git a/lib/timers.js b/lib/timers.js
index 6e473456b9..090ae60ff4 100644
--- a/lib/timers.js+++ b/lib/timers.js@@ -613,7 +613,11 @@ function processImmediate() {
emitAfter(asyncId);
- runNextTicks();+ try {+ runNextTicks();+ } catch (e) {++ }
immediate = immediate._idleNext;
}[04:53|% 100|+ 2356|- 9]: Done |
maclover7
commented
Aug 14, 2018
@Fishrock123 This happens on architectures which are only supported by some versions of Node.js, but not the one that the CITGM job is testing (ex: Ubuntu 12.04). This is being tracked at nodejs/build#1430 |
Fishrock123
commented
Nov 6, 2018
Superseded by #22842 |
Refs: #22257
This is semver-major because it changes significant timing guarentees. The tests do not pass because of the changes to Immediates.
Do not run the core tests, they will stall!
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes