ben-strasser/fast-cpp-csv-parser

Segmentation fault when running inside Boost Unit Test Framework

Opened this issue · 2 comments

Stack trace from CLion:

image

And the unfortunate message:

image

From what I can tell, this happened when destroying LineReader::buffer, and the issue persists when I use #define CSV_IO_NO_THREAD. Shorter CSVs do not seem to cause this problem (the CSV that caused this issue was roughly 7k lines).

This does not happen when I run the same code outside of the Boost Unit Test Framework, so this could very well be an issue on their end.

Please let me know if there is any other data I can provide to help fix this.

I actually can't reproduce it myself now that I've fixed another memory issue in the code. (I suggest closing this)