Old thread, but if somebody happens to find it through google: The issue is 
apparently resolved in node > 0.11.3 (from the release notes, "process: 
remove maxTickDepth (Trevor Norris)"). 

-- 
Tanguy Le Barzic

On Friday, October 11, 2013 5:12:30 PM UTC+2, Josias Montag wrote:
>
> Hi,
>
> Any solution/progress for this issue?
>
> I have the same problem: Random recursive nextTick crashes like this one:
>
> Error: (node) warning: Recursive process.nextTick detected. This will 
> break in the next version of node. Please use setImmediate for recursive 
> deferral.
>     at maxTickWarn (node.js:375:15)
>     at process.nextTick (node.js:480:9)
>     at emitReadable (_stream_readable.js:400:13)
>     at readableAddChunk (_stream_readable.js:165:9)
>     at EncryptedStream.Readable.push (_stream_readable.js:127:10)
>     at EncryptedStream.read [as _read] (tls.js:517:10)
>     at EncryptedStream.Readable.read (_stream_readable.js:320:10)
>     at flow (_stream_readable.js:589:52)
>     at Socket.<anonymous> (_stream_readable.js:573:7)
>     at Socket.EventEmitter.emit (events.js:117:20)
>
> They are always coming from _stream_readable.js or _stream_writable.js.
>
> We do not use process.nextTick in our code.
>
>
>
>
> Am Dienstag, 10. September 2013 09:06:37 UTC+2 schrieb Jules:
>>
>> Yep.
>>
>> But the stack trace appears to be almost random; here's another example:
>>
>> Trace: (node) warning: Recursive process.nextTick detected. This will 
>> break in the next version of node. Please use setImmediate for recursive 
>> deferral.
>> at maxTickWarn (node.js:377:17)
>> at process.nextTick (node.js:480:9)
>> at onwrite (_stream_writable.js:258:15)
>> at WritableState.onwrite (_stream_writable.js:97:5)
>> at Socket._write (net.js:651:5)
>> at doWrite (_stream_writable.js:219:10)
>> at writeOrBuffer (_stream_writable.js:209:5)
>> at Socket.Writable.write (_stream_writable.js:180:11)
>> at Socket.write (net.js:613:40)
>> at Console.log (console.js:53:16)
>> at Logger._log (/our/code/deployed/lib/logger.js:43:17)
>> at Logger.debug (/our/code/deployed/lib/logger.js:17:10)
>> at Sender.<anonymous> (/our/code/deployed/lib/server/sender.js:50:12)
>>
>>
>> We're not subclassing event emitter in that code path.
>>
>>
>>
>>
>> On Tuesday, 10 September 2013 00:08:00 UTC+2, Aria Stewart wrote:
>>>
>>> Are you subclassing EventEmitter yourself?
>>>
>>>
>>> Jules <[email protected]> wrote:
>>>>
>>>> I wonder if this might be a bug in Node.  
>>>>
>>>> The only call to process.nextTick in the stack trace is here:
>>>>
>>>> https://github.com/joyent/node/blob/v0.10.12/lib/_stream_writable.js#L258
>>>>
>>>> Or perhaps we're misusing Sockets somehow.
>>>>
>>>> Stack trace follows:
>>>>
>>>> Trace: (node) warning: Recursive process.nextTick detected. This will 
>>>> break in the next version of node. Please use setImmediate for recursive 
>>>> deferral.
>>>>     at maxTickWarn (node.js:377:17)
>>>>     at process.nextTick (node.js:480:9)
>>>>     at onwrite (_stream_writable.js:258:15)
>>>>     at WritableState.onwrite (_stream_writable.js:97:5)
>>>>     at Socket._write (net.js:651:5)
>>>>     at doWrite (_stream_writable.js:219:10)
>>>>     at writeOrBuffer (_stream_writable.js:209:5)
>>>>     at Socket.Writable.write (_stream_writable.js:180:11)
>>>>     at Socket.write (net.js:613:40)
>>>>     at Raw.write (/our/code/deployed/lib/server/netsocket/raw.js:34:15)
>>>>     at Transport._doWrite 
>>>> (/our/code/deployed/lib/server/transport.js:60:16)
>>>>     at Transport.write (/our/code/deployed/lib/server/transport.js:52:7)
>>>>     at NodeTransport.write 
>>>> (/our/code/deployed/lib/server/nodetransport.js:43:28)
>>>> Trace: (node) warning: Recursive process.nextTick detected. This will 
>>>> break in the next version of node. Please use setImmediate for recursive 
>>>> deferral.
>>>>     at maxTickWarn (node.js:377:17)
>>>>     at process.nextTick (node.js:480:9)
>>>>     at onwrite (_stream_writable.js:258:15)
>>>>     at WritableState.onwrite (_stream_writable.js:97:5)
>>>>     at Socket._write (net.js:651:5)
>>>>     at doWrite (_stream_writable.js:219:10)
>>>>     at writeOrBuffer (_stream_writable.js:209:5)
>>>>     at Socket.Writable.write (_stream_writable.js:180:11)
>>>>     at Socket.write (net.js:613:40)
>>>>     at Console.warn (console.js:61:16)
>>>>     at Console.trace (console.js:95:8)
>>>>     at maxTickWarn (node.js:377:17)
>>>>     at process.nextTick (node.js:480:9)
>>>>     at onwrite (_stream_writable.js:258:15)
>>>>
>>>>
>>>>>  

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to