segfault when trying to encode trivial raw input
I was recently trying to create a trivial vorbis file containing just a bit of silence. I thought feeding oggenc a bit if zeros as raw input should do. So I came up with this command line: dd if=/dev/zero bs=1 count=1 | oggenc -r - -o out.ogg
However, it segfaults. I tried it on different systems and this does not happen everywhere. My system is a 64 bit Gentoo Linux (vorbis-tools 1.4.0, libvorbis 1.3.4, libogg 1.3.1) on a T61 thinkpad laptop. Tried it on an old acer 32 bit laptop with Ubuntu and the same problem didn't happen.
If you need more info to track it down please ask.