title: meet Error when fread a text file (Internal error: invalid head position)
body: <p>When I use data.table::fread function in linux to read a plain text file, got an error:</p>
  <pre><code>Error in fread(&quot;file&quot;) :
    Internal error: invalid head position. jump=0, headPos=0x7fc4f2b9692e, thisJumpStart=0x7fc4f2a9807a, sof=0x7fc4f2a98000
  </code></pre>
  <p>But if I use fread in windows, it can read.</p>
  <p>The both version of data.table are same: data.table 1.14.0</p>
  <p>Any one know why? how to fix the problem in linux?</p>
  <p>Thanks!</p>
  <p>linux R session info:</p>
  <pre><code>R version 4.0.2 (2020-06-22)
  Platform: x86_64-pc-linux-gnu (64-bit)
  Running under: CentOS Linux 7 (Core)
  
  Matrix products: default
  BLAS/LAPACK: /data/dermatogenomics4/software/lib/libopenblas_haswellp-r0.3.10.dev.so
  
  locale:
   [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
   [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
   [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
   [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
   [9] LC_ADDRESS=C               LC_TELEPHONE=C
  [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
  
  attached base packages:
  [1] parallel  stats     graphics  grDevices utils     datasets  methods
  [8] base
  
  other attached packages:
  [1] data.table_1.14.0
  
  loaded via a namespace (and not attached):
  [1] compiler_4.0.2 tools_4.0.2
  </code></pre>