-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in process._tickCallback #4308
Comments
I'm pretty sure this will never happen unless something is modifying cc @trevnorris?
|
Can you tell us about the other modules you are working with? |
I did I'm using Can |
@hoschid I don't think so: https://github.com/TooTallNate/node-weak/blob/master/src/weakref.cc#L142-L146 I think it would be if anything touches https://github.com/nodejs/node/blob/master/src/node.cc#L1086-L1093 but I really don't know for sure. |
The error didn't occur again for about 3 weeks now, although i didn't change anything on my app. I think this issue can be closed. |
I'm not sure if this is related or if I should open a new issue, so apologies in advance if I've done the incorrect thing. I'm seeing what I think is the same error occur in seemingly random places. An example: TypeError: Cannot read property 'callback' of undefined
at process._tickDomainCallback (node.js:379:26)
at Redis.exports.returnReply (/home/vcap/app/node_modules/ioredis/lib/redis/parser.js:148:100)
at Redis.exports.returnReply (/home/vcap/app/node_modules/ioredis/lib/redis/parser.js:147:18)
at exports.returnReply (/home/vcap/app/node_modules/ioredis/lib/redis/parser.js:145:30)
at Deque$shift (/home/vcap/app/node_modules/ioredis/node_modules/double-ended-queue/js/deque.js:103:17)
at exports.returnReply (/home/vcap/app/node_modules/ioredis/lib/redis/parser.js:145:30)
at Deque$shift (/home/vcap/app/node_modules/ioredis/node_modules/double-ended-queue/js/deque.js:106:1)
at exports.returnReply (/home/vcap/app/node_modules/ioredis/lib/redis/parser.js:145:30)
at ReplyParser.replyParser.sendReply (/home/vcap/app/node_modules/ioredis/lib/redis/parser.js:25:10)
at ReplyParser.execute (/home/vcap/app/node_modules/ioredis/lib/parsers/javascript.js:167:14)
at Socket.<anonymous> (/home/vcap/app/node_modules/ioredis/lib/redis/event_handler.js:90:22)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:110:10) I've grepped through the files for things that look obvious (anything with _tickCallback as @hoschid did) but have not had any luck. Any suggestions on where to look or things to check would be very appreciated. Edit: left out that this on happening on node 4.2.5. Edit 2: is it possible that the |
@kevinroisin If you have a reproducable test case I'd say go ahead and open another issue. Being over 1e4 isn't a problem. That's simply a value to force processing of the nextTickQueue to the next loop as to not starve I/O. |
@trevnorris Thank you very much for your response. I've spent a few days trying to replicate it without our large code base (so I have something sharable) but it's proven challenging. I've been looking a bit at the I'll keep trying to replicate the issue in a sharable way, but right now it is occurring consistently at load. |
@kevinroisin When you |
@hoschid I had some problems when tried to run dnode server with it's weak on node 4.x.x. But dnode clients work on 4.x.x greate. So I run server on 0.12.12 and clients on 4.4.1 now. More info:
|
After upgrading from node v0.12.7 to v4.2.3 our application crashes every few hours or after 1 or 2 days with the following uncaught exception:
Could this be a bug in node.js?
The code in src/node.js doesn't look like
tock
is expected to be undefined:The text was updated successfully, but these errors were encountered: