Hello everyone,
After upgrading from node v0.12.7 to v4.2.3 our application crashes every
few hours with the following uncaught exception:
TypeError: Cannot read property 'callback' of undefined
at process._tickCallback (node.js:341:26)
Could this be a bug in node.js? Our application is quite big and I have no
idea how to solve this problem.
The code in src/node.js doesn't look like nextTickQueue() is expected to
return undefined:
// Run callbacks that have no domain.
// Using domains will cause this to be overridden.
function _tickCallback() {
var callback, args, tock;
do {
while (tickInfo[kIndex] < tickInfo[kLength]) {
tock = nextTickQueue[tickInfo[kIndex]++];
callback = tock.callback; // <------- line 341. tock is
undefined
args = tock.args;
Any ideas?
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/214844fa-c932-4898-a3df-c121851f675a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.