getAttributes segfault
Closed this issue · 3 comments
ArgonAlex commented
First of all, congratulations on the N-API release! It looks like it was a pretty large effort!
I do have one issue to report however. Any calls to getAttributes() results in a segmentation fault. I'm also using setAttributes() which seems to work, and getAttributesSync() also seems to work.
$ node -e "require('fswin').getAttributes('src', function (result) { })"
Segmentation fault
Node 10.10.0
fswin 3.18.909
xxoo commented
thanks! there was a stupid mistake, and it should be fixed now.
please update fswin to try it out
ArgonAlex commented
Hmm I'm still getting a segfault. Just noticed it is only happening when running node in a Cygwin shell though. Regular CMD works.
xxoo commented