I have met an weird error.

Here lists my two bed files

`a.bed`

```
chr1 645339590 645344590
chr1 645485603 645490603
chr1 646267584 646272584
chr1 651156159 651161159
chr1 652224601 652234601
chr1 654584466 654589466
chr1 656200028 656210028
chr1 658335720 658345720
chr1 672881471 672886471
chr1 673481036 673486036
```

`b.bed`

```
chr1 567457 567702
chr1 569801 570047
chr1 713857 714086
chr1 714475 714736
chr1 762251 763163
chr1 762416 762594
chr1 762691 762997
chr1 793349 794537
chr1 800991 801931
chr1 805262 805484
```

When I was running `intersectBed -a a.bed -b b.bed`, there is an error `intersectBed: line 2: 21275 Segmentation fault (core dumped) ${0%/*}/bedtools intersect "$@"`.

When I was running `intersectBed -a b.bed -b a.bed`, there is another error `ERROR: Received illegal bin number 39388 from getBin call. ERROR: Unable to add record to tree.`

I can not figure out what causes this. Thanks for the help.

Chen Tong
@aaronquinlan will confirm but I suspect that the value for chr1 is just to high for the internal 'binning' system of bedtools. See http://genomewiki.ucsc.edu/index.php/Bin_indexing_system

    position  max = 536,870,912

but you used

    position  max = 673,486,036

my idea / hypothesis.