How could process.nextTick throw "RangeError: Invalid array length"
Here is a stack trace for an error I started receiving in my Node.js application:
"RangeError: Invalid array length", " at onwrite (_stream_writable.js:265:15)", " at WritableState.onwrite (_stream_writable.js:96:5)", " at Socket._write (net.js:653:5)", " at doWrite (_stream_writable.js:225:10)", " at writeOrBuffer (_stream_writable.js:215:5)", " at Writable.write (_stream_writable.js:182:11)", " at Socket.write (net.js:615:40)",
(this is longjohn output)
Here is the offending line: https://github.com/joyent/node/blob/v0.10.31/lib/_stream_writable.js#L265
What could possibly cause this? Is it true that there's no way for my application source to have directly caused it because it's the call to process.nextTick that throws the error?