Program terminated with signal 8, Arithmetic exception with blosc

时间:2018-07-25 05:29:00

标签: c

Please refer the following stack trace:

_Program terminated with signal 8, Arithmetic exception.
#0  0x00007f6cba9fe187 in blosc_run_decompression_with_context () from   /usr/lib64/libblosc.so.1
(gdb) bt
#0  0x00007f6cba9fe187 in blosc_run_decompression_with_context () from /usr/lib64/libblosc.so.1
#1  0x00007f6cba9fe35c in blosc_decompress_ctx () from /usr/lib64/libblosc.so.1_

It seems that the function blosc_run_decompression_with_context() did not check the context->blocksize whether is zero, which will be divided.

Please focus the line 1421 of c-blosc/blosc/blosc.c

context->blocksize = sw32_(context->src + 8);      /* block size */

'the context->block size' is possible be zero.

Does anyone meet this problem and know how to fix it?

0 个答案:

没有答案