-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression v10.x node_file.cc:1713: Assertion `(off) <= (buffer_length)' failed. #24640
Comments
/ping @cjihrig |
Hello @thisconnect, So if you could find a minimal code snippet that reproduces this issue tat would be very helpful (for that issue it was |
@refack sure. This is on v10.13.0 on macOS // write with invalid offset
const fs = require('fs');
fs.open('./test.txt', 'w+', (err, fd) => {
if (err) throw err;
fs.write(fd, Buffer.alloc(0), -1, (err, bytesWritten) => console.log(err, bytesWritten));
}); |
please note that the only purpose of this was to produce an error and improve coverage a bit. |
and skip one test see nodejs/node#24640
|
This is still an issue on 16.0 ...
|
Signed-off-by: James M Snell <jasnell@gmail.com> Fixes: nodejs#24640
Fixes: nodejs#24640 Signed-off-by: James M Snell <jasnell@gmail.com>
Thank you 🙏 |
Version: v10.13.0
Platform:
Subsystem: filesystem
Hi, I have a really simple module
fildes
that basically wraps the filesystem api in promises and provides a few useful defaults options. I just updated the CI's to run also against node 10. The module has a few tests and also tests weird input to increase coverage.Since node v10 there are some v8 internal errors(?)
possible duplicate #23668
I just found #23668 with a very similar error, please let me know if it is worth pursuing this i.e. try to make a small code example that reproduces the error.
The text was updated successfully, but these errors were encountered: