Seg fault, etc.

Created by: ianfoster

I installed the code and installed the default plugins.txt:

ian$ more ~/.bdqc/plugins.txt bdqc.builtin.extrinsic bdqc.builtin.filetype bdqc.builtin.tabular

  1. I ran the code and got a segfault.

Ians-MacBook-Pro-2:src ian$ pwd /Users/ian/Code/bdqc/src Ians-MacBook-Pro-2:src ian$ python bdqc/scan.py setup.py Segmentation fault: 11

  1. I also tried it on a simpler file, and it worked:

Ians-MacBook-Pro-2:src ian$ cat t abcdef Ians-MacBook-Pro-2:src ian$ python bdqc/scan.py t Ians-MacBook-Pro-2:src ian$ cat t.bdqc { "bdqc.builtin.extrinsic": { "ext": "", "mtime": 1457050649.0, "readable": "yes", "size": 7 }, "bdqc.builtin.filetype": { "compression": null, "sig": [ 97, 98, 99, 100, 101, 102, 10 ] }, "bdqc.builtin.tabular": { "character_histogram": { "ascii": 6, "cr": 0, "lf": 1, "utf8-2": 0, "utf8-3": 0, "utf8-4": 0 }, "offending_byte": 0, "table": null, "transition_histogram": { "cr": { "cr": 0, "lf": 0, "oc": 0 }, "lf": { "cr": 0, "lf": 0, "oc": 0 }, "oc": { "cr": 0, "lf": 1, "oc": 5 } }, "version": 65536 } }

  1. One other try, running on an arbitrary directory full of .csv and .py files:

ian$ python bdqc/scan.py ~/Code/RAMSES/ TODO: unimplemented: parsing of coalescable whitespace. Abort trap: 6