--resample causes segmentation fault in oggenc with flac input
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vorbis-tools |
Fix Released
|
Unknown
|
|||
vorbis-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: vorbis-tools
Ubuntu 8.04 x86
vorbis-tools 1.1.1-15ubuntu0.1
Using "--resample <freq>" with FLAC input file, a segmentation fault appears:
marcos@
Opening with flac module: FLAC file reader
Resampling input from 44100 Hz to 32000 Hz
Encoding "test.flac" to
at quality 3,00
[ 99,6%] [ 0m00s remaining] \
Done encoding file "test_o.ogg"
File length: 4m 35,0s
Elapsed time: 0m 15,8s
Rate: 17,4904
Average bitrate: 102,8 kb/s
Falha de segmentação
-------
"Falha de segmentação" is segmentation fault in portuguese ;)
Running ogginfo on the encoded file I get this:
marcos@
Processing file "test_o.ogg"...
New logical stream (#1, serial: 1bb5f097): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20070622
Channels: 2
Rate: 32000
Nominal bitrate: 112,000000 kb/s
Upper bitrate not set
Lower bitrate not set
Warning: EOS not set on stream 1
Vorbis stream 1:
Total data length: 3539669 bytes
Playback length: 4m:35.373s
Average bitrate: 102,832337 kb/s
-------
This "Warning: EOS not set on stream 1" does not appear when I encode same file without "--resample" option:
marcos@
Processing file "test_o3.ogg"...
New logical stream (#1, serial: 6203c9e5): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20070622
Channels: 2
Rate: 44100
Nominal bitrate: 112,000000 kb/s
Upper bitrate not set
Lower bitrate not set
Vorbis stream 1:
Total data length: 3807459 bytes
Playback length: 4m:35.733s
Average bitrate: 110,467863 kb/s
Logical stream 1 ended
-------
I think the bitstream of output file with "--resample" is messed up by oggenc when input is FLAC. If input is WAV, everything runs ok.
description: | updated |
description: | updated |
Changed in vorbis-tools: | |
status: | Unknown → Fix Released |
Fixed since vorbis-tools 1.4.0.