V
V
vetsmen2017-02-15 20:13:10
JavaScript
vetsmen, 2017-02-15 20:13:10

Buffer overflow in node.js?

What could be the problem? The node hangs the server with the following error:

buffer.js:11
    super(arg1, arg2, arg3);
    ^
RangeError: Maximum call stack size exceeded
    at Buffer.Uint8Array (native)
    at FastBuffer (buffer.js:11:5)
    at Buffer.slice (buffer.js:811:10)
    at fromString (buffer.js:204:21)
    at Function.Buffer.from (buffer.js:99:12)
    at new Buffer (buffer.js:80:17)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2017-02-15
@ptrvch

Stack overflows are usually problems with recursion. See if you are calling any method within yourself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question