Closed allie47 closed 3 years ago
Thanks for your report.
Looks like both crashes are during the garbage collection, so that at least gives me a little something to go on.
@allie47 Sorry for the delay. I've pushed up some changes that I hope will resolve the issue you are having. Do you have the ability to test them before I create a release?
@jhs67 I can try to look into it tomorrow - whether I can realistically test it without a release.
@jhs67 Alright, checked it out, seems that it no longer causes SegFault, so yes, it does resolve the issue.
Edit: Originally I experienced some warnings in gyp-rebuild, but it turned out that was a different cause. So removed that part of this comment.
Awesome, thank you. I'll create a release today.
Seems that on Node 13 & Node 14, there is some issue in usocket, as it does cause a segfault occasionally.
usocket version: 0.2.1 OS: Linux (Debian, but replicated also on other distributions) Activity performed: When connecting and destroying the connection repeatedly (repeated logging in and out of an application, fast). There does not seem to be a clear pattern in when it happens (number of repeats to get the issue nor point in code that the issue would clearly happen on).
Tested Node versions:
Output I got from segfault-handler for Node14.15.4:
Output I got from segfault-handler for Node13.14.0: