-
-
Notifications
You must be signed in to change notification settings - Fork 11
Deadlock calling a function on null #403
Comments
What are you trying to do? What should the expected outcome be? |
I was calling a function, but by mistake I called it with "null" so I got the deadlock (No error, nothing). So I traced it back and made a bugreport on the node repo... they say it's not a node problem. |
Which function? Please post some code/example so we can reproduce this. |
there is not more code than I posted on the nodejs issue:
and I call it like this:
ofc I didn't called it this way on purpose when I noticed it... :) |
@cracker0dks It would be really useful if you could post a code snippet that can reproduce the problem, i.e. a minimal example that can be run by e.g. |
Ok, here you go. Paste this into a test.js (change user and pw) and run it. Dc will get a hard locked on "Inbox check". Nodejs will be still running but no more output from dc and no erros |
Seems to look like that weird things happen if we throw an error inside a js method called from the c stuff |
Hey, at first I thought this was a node bug and opened an issue there... but they say it probably on DC side... so what do you think?
nodejs/help#2357
cheers
The text was updated successfully, but these errors were encountered: