Thanks Jimb!
In the meanwhile I've indeed found that the problem is with a node
extension I wrote in C++, though I still don't know what's wrong exactly
(it is not deterministic).
Il giorno sabato 17 gennaio 2015 00:36:36 UTC+1, Jimb Esser ha scritto:
>
> This probably won't help much, but I seem to recall also getting this kind
> of error, and, though I'm not certain, I think it may have came from
> passing undefined as a callback to a native library function (hence no
> stack if the first JS function call on the stack is, in fact, undefined).
>
> On Tuesday, January 13, 2015 at 8:21:44 AM UTC-8, Stefano Pugnetti wrote:
>>
>> Hi!
>>
>> I am quite new to node.js; my program (basically an infinite loop to
>> operate a hardware controller) halts in a way I can't reproduce
>> deterministically, with just this on the console:
>>
>> undefined:0
>>
>>
>> TypeError: undefined is not a function
>>
>> No stack trace, no clue about the source.
>> On some occasions it even stopped with no error at all. I tried running
>> node with a --trace-exception, no difference.
>> I tried some inspection setting process.on('uncaughtException',...) , but
>> it looks like the "stack" property of the exception is just empty.
>> I also looked at v8.log, calling node with --log-all; and tried
>> node-inspector (but it is of little help since I have no clue about what to
>> inspect)
>> The node version I'm using: 0.10.33
>>
>> Is there a way to get some more information?
>>
>> Unfortunately I can't post a simple code snippet to reproduce the
>> problem, I am using quite complex libraries (Clojurescript and core.async,
>> with transducers) and I still have no idea about which of these tools might
>> be involved.
>>
>> Thanks!
>>
>
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/d123a3e3-8658-4197-8ff4-10f62da104db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.