[Tremor] Segment fault with Tremor
Hans Petter Selasky
hselasky at c2i.net
Wed Feb 22 04:20:22 PST 2006
Hi,
I cat'ed two ogg files to the Tremor decoder and got a segment fault when the
second file was about to get played:
(gdb) core a.out.core
Core was generated by `a.out'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.5...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x0804cd3e in _positionF (b=0xbfbfe700, pos=14) at framing.c:358
358 b->pos+=b->ref->length;
(gdb) print b->ref
$1 = (ogg_reference *) 0x0
Maybe the code lacks a missing "if(b->ref != NULL)" ?
--HPS
More information about the Tremor
mailing list