Open toiletsandpaper opened 8 months ago
So, error was caused by empty line at the end of the .csv
file. IDK should I close this issue or leave it because of unhandled seg fault. My workaround is https://github.com/toiletsandpaper/mojo_zlib_classification/blob/2ef0a457a62eaaa2854ec36d7962b5067b182dc2/main.mojo#L73
Bug description
I've noticed, that when I'm trying to concatenate long string - my program crashes, but only sometimes! IDK why and I can't debug it. But when I try to remove this part of the code (and some commented below) https://github.com/toiletsandpaper/mojo_zlib_classification/blob/0922c6b7b54946c1fea21c5fa3f96b6142d26e32/main.mojo#L89 - everything works fine.
Steps to reproduce
You can clone commit with this https://github.com/toiletsandpaper/mojo_zlib_classification/blob/0922c6b7b54946c1fea21c5fa3f96b6142d26e32/main.mojo#L89 line included in commit.
Then you just
pip install -r requirements.txt
,make all
andmojo run main.mojo
System information