On Tue, Dec 04, 2018 at 07:55:14AM +0100, Andreas Tille wrote: > > === testing ./data/xx#unsorted.sam === > > ./scram.test: 27: [: ./data/xx#unsorted.sam: unexpected operator > > ../progs/scramble -t4 ./data/xx#unsorted.sam test.out/xx#unsorted.sam > > ../progs/scramble -t4 -r ./data/xx.fa ./data/xx#unsorted.sam > > test.out/xx#unsorted.full.cram > > scramble: cram_codecs.c:1441: cram_huffman_encode_init: Assertion > > `hi->data.i > 0' failed. > > Aborted > > FAIL scram_mt.test (exit status: 1)
Rob Davies figured this one out and it's fixed upstream in commit 242cd6b. The bug affected 32-bit systems, leading to uninitialised memory accesses in the hash table code. I'm hoping this covers all the recently detected io_lib bugs. (This isn't a recent bug - it's been there for years!) James -- James Bonfield (j...@sanger.ac.uk) The Sanger Institute, Hinxton, Cambs, CB10 1SA -- The Wellcome Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.