Bug#772877: oggenc fails when using '--advanced-encode-option disable_coupling' switch and CBR encoding

Martin Steghöfer martin at steghoefer.eu
Thu Dec 11 21:46:11 UTC 2014


Package: vorbis-tools
Version: 1.4.0-6
Severity: normal
File: /usr/bin/oggenc
Tags: confirmed


I'm forwarding this bug report from Ubuntu bug 948459 [1].


Original description:

| Running the following command line in a shell (with in.wav
| being a commong 16bit 44,1KHz wave file):
|
| oggenc -b 80 -m 80 -M 80 --advanced-encode-option \
|     disable_coupling -o out.ogg in.wav
|
| I get the following output:
|
| Mise en route du mécanisme de gestion du débit
| Ouverture avec le module wav : WAV file reader
| Encodage de "stereo.wav"
|          en "out.ogg"
| en utilisant la gestion du débit (min 80 kbps, max 80 kbps)
| Setting advanced encoder option "disable_coupling"
| Erreur de segmentation
|
| Without the '--advanced-encode-option disable_coupling'
| switch, encoding works as usual.
|
| More about my setup:
| Ubuntu 10.10 amd64 (all packages up to date)
| vorbis-tools 1.4.0
|
| More information available on demand, this is the
| first time I file a bug here.


I could confirm this on 1.4.0-6 and get the following stacktrace:

==16296== Invalid read of size 8
==16296==    at 0x4E4AD38: ??? (in 
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8)
==16296==    by 0x4E4CBCC: vorbis_encode_ctl (in 
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8)
==16296==    by 0x408A2C: set_advanced_encoder_options (encode.c:102)
==16296==    by 0x4093E5: oe_encode (encode.c:348)
==16296==    by 0x403F4C: main (oggenc.c:440)
==16296==  Address 0xf0 is not stack'd, malloc'd or (recently) free'd

Cheers,
Martin

[1] https://bugs.launchpad.net/ubuntu/+source/vorbis-tools/+bug/948459



More information about the pkg-xiph-maint mailing list