This looks like it might be a duplicate of #2167, but I want to verify that the fix for that also applies here. This file intermittently crashes R when attempting to fread it:
» Rscript -e "library(data.table); fread('bad.txt')"
*** caught segfault ***
address 0x104463000, cause 'memory not mapped'
Traceback:
1: fread("bad.txt")
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault: 11
Interestingly, the size of the file seems to be related; it is 5 * 2^12 = 20480 characters in size, and if any characters are added or removed the error doesn't occur, but if characters are merely changed while keeping the total count the same, it still occurs.
This looks like it might be a duplicate of #2167, but I want to verify that the fix for that also applies here. This file intermittently crashes R when attempting to
freadit:Interestingly, the size of the file seems to be related; it is 5 * 2^12 = 20480 characters in size, and if any characters are added or removed the error doesn't occur, but if characters are merely changed while keeping the total count the same, it still occurs.