powturbo / TurboBench

Compression Benchmark
326 stars 34 forks source link

bwt preset segfaults the program #44

Closed GhostDog98 closed 1 year ago

GhostDog98 commented 1 year ago

Running ./turbobench -eBWT ascii.txt We can see we can do the first two items in the test: 1576 8.9 42.84 261.86 bzip2 ascii.txt 1347 7.6 40.68 0.03 bzip3 ascii.txt

But after that, we get a segfault: Segmentation fault (core dumped)

Running Arch and the latest release.

powturbo commented 1 year ago

"BWT" is translated to "bsc_st,4,5/bsc,2/bcm/bzip2/bzip3/turborc,20e8,20e9/memcpy" The segfault is ocurring in TurboRC. I've tested this with several files and it working without crashing and I can't reproduce the issue on my pc. Make the test without "turborc,20e8"