Closed bokunodev closed 3 years ago
its weird, i cant replicate it anymore.
Actually it's an error over a mistake. You made a mistake by trying to close the same file twice, but I tested the code here, and it crashed with the wrong error, I will fix soon, so when this is mistake happens the user can recover from it.
WARNING: Please, read this note carefully before submitting a new bug:
It is important to realise that this is NOT A SUPPORT FORUM, this is for reproducible BUGS ONLY.
If you need support, have questions, ideas to discuss you should use the Nelua Discussions forum or the Nelua Discord server.
Please, before submitting a new issue verify and check:
Bug description
i made a program to download something from internet
example.com
and write it to a file. but its alwaysSegmentation fault (core dumped)
when i callfilestream:close()
Code example
Provide minimal reproduction code to test the bug. Please, format the code properly and try to keep it as simple as possible, just focusing on the experienced bug.
Expected behavior
no error
Environment
Provide relevant information about your environment:
Nelua version (you can check with
nelua -v
).Platform (e.g. Windows/MSYS2, Ubuntu Linux, MacOS) Arch linux
C compiler if your bug has C compiler errors. (e.g. GCC 10.2, Clang 11)