astropy: Intermittent segfaults with ascii loader

My python interpreter crashes with a segfault about 10% of the time when I try to run

In [1]: from astropy.table import Table
In [2]: Table.read('test.csv', format='ascii')

when called using this file

the original file is about 10x larger, and it crashes everytime. I haven’t been able to track down much more information than that. It doesn’t crash if I don’t set format=‘ascii’

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 46 (36 by maintainers)

Most upvoted comments

Another option is the long-standing issue to improve guessing heuristics so a valid table file that is not an HTML table never gets to the HTML reader.

This was done, and I think it would prevent this issue. In any case we have not gotten new reports in the mean time.