crash in oc_pack_refill at huffdec.c:121
We have a program that encodes video and sends it across a network to be decoded. After running for several hours, it crashed in huffdec.c. The crash does occur with libtheora-1.0. Here's a stack trace:
038aee9c 6c498b39 00000006 038c62ac 00000000 HdxRTTheora!oc_pack_refill+0x20 [y:\src\multimedia\sdks\xiphcodecs\libtheora-1.1.1\lib\huffdec.c @ 121]
038aeeb4 6c49288c 038de778 00000002 00000006 HdxRTTheora!oc_huff_token_decode+0x29 [y:\src\multimedia\sdks\xiphcodecs\libtheora-1.1.1\lib\huffdec.c @ 484]
038aeff8 6c492b5d 038b9948 00000006 038af31c HdxRTTheora!oc_dec_ac_coeff_unpack+0xbc [y:\src\multimedia\sdks\xiphcodecs\libtheora-1.1.1\lib\decode.c @ 1114]
038af324 6c494bf3 038b9948 00000000 002d1528 HdxRTTheora!oc_dec_residual_tokens_unpack+0x14d [y:\src\multimedia\sdks\xiphcodecs\libtheora-1.1.1\lib\decode.c @ 1173]
038afe5c 6c4af534 038b9948 038afea8 002d15f8 HdxRTTheora!th_decode_packetin+0x103 [y:\src\multimedia\sdks\xiphcodecs\libtheora-1.1.1\lib\decode.c @ 2138]
038afed4 6c4d1fc1 0003ea44 1a44e732 02664800 HdxRTTheoraTheoraDecompressor::Decompress+0x74 [y:\src\multimedia\theoracodec\theoradecompressor.cpp @ 355]