Stack overflow in session.js
Dan Morphis
dan at milkcarton.com
Tue May 16 16:39:21 EDT 2017
I'm not sure of the cause. I started seeing a bunch of these show up in my
logs. I'm not sure which request in the log actually caused the SO.
017-05-16T20:23:07.334Z [ERROR] Uncaught exception;
exceptionName="RangeError" exceptionMessage="Maximum call stack size
exceeded" exceptionStack="
RangeError: Maximum call stack size exceeded
at Object.rpcRequest
(/usr/lib64/node_modules/genieacs/lib/session.js:694:22)
at nextRpc (/usr/lib64/node_modules/genieacs/lib/cwmp.js:422:18)
at /usr/lib64/node_modules/genieacs/lib/cwmp.js:538:14
at Object.rpcRequest
(/usr/lib64/node_modules/genieacs/lib/session.js:700:12)
at nextRpc (/usr/lib64/node_modules/genieacs/lib/cwmp.js:422:18)
at /usr/lib64/node_modules/genieacs/lib/cwmp.js:538:14
at Object.rpcRequest
(/usr/lib64/node_modules/genieacs/lib/session.js:700:12)
at nextRpc (/usr/lib64/node_modules/genieacs/lib/cwmp.js:422:18)
at /usr/lib64/node_modules/genieacs/lib/cwmp.js:538:14
at Object.rpcRequest
(/usr/lib64/node_modules/genieacs/lib/session.js:700:12)
session.js like 700 is the callback below:
if (sessionContext.virtualParameters.length === 0 &&
sessionContext.declarations.length === 0 && !(_declarations != null ?
_declarations.length : void 0) && (sessionContext.doneProvisions ||
sessionContext.provisions.length === 0)) {
return callback();
}
cwmp.js line 422 is the return session.rpcRequest line:
nextRpc = function(sessionContext) {
return session.rpcRequest(sessionContext, null, function(err, fault,
id, acsRequest) {
var alias, channel, flags, j, l, len, len1, len2, len3, m, n, o,
p, ref, ref1, ref2, ref3, ref4, t, task, taskId;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170516/1cb869ba/attachment.html>
More information about the Users
mailing list