Oggenc crash

Bug #577561 reported by Bellatrix Irina
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
vorbis-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: vorbis-tools

Hi,
Oggenc crashes on my system each time i'm trying to convert raw data from stdin. Here is the output (Sorry, some messages are in Russian, I hope those aren't critical ones.)

bellatrix@bellatrix-laptop:~$ oggenc -r -B 8 -C 1 -R 10k -o ~/book.ogg ~/book.raw
Кодирование "/home/bellatrix/book.raw" в
            "/home/bellatrix/book.ogg"
с качеством 3,00
*** glibc detected *** oggenc: free(): invalid pointer: 0x08640b68 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x182591]
/lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0x183de8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x186ecd]
/usr/lib/libvorbis.so.0(_vorbis_block_ripcord+0x30)[0xc41cb0]
/usr/lib/libvorbis.so.0(vorbis_analysis_blockout+0xcf)[0xc41ddf]
oggenc[0x804f8af]
oggenc[0x804bbf4]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x12dbd6]
oggenc[0x8049c91]
======= Memory map: ========
00110000-00115000 r-xp 00000000 08:06 269601 /usr/lib/libogg.so.0.6.0
00115000-00116000 r--p 00004000 08:06 269601 /usr/lib/libogg.so.0.6.0
00116000-00117000 rw-p 00005000 08:06 269601 /usr/lib/libogg.so.0.6.0
00117000-0026a000 r-xp 00000000 08:06 265539 /lib/tls/i686/cmov/libc-2.11.1.so
0026a000-0026b000 ---p 00153000 08:06 265539 /lib/tls/i686/cmov/libc-2.11.1.so
0026b000-0026d000 r--p 00153000 08:06 265539 /lib/tls/i686/cmov/libc-2.11.1.so
0026d000-0026e000 rw-p 00155000 08:06 265539 /lib/tls/i686/cmov/libc-2.11.1.so
0026e000-00271000 rw-p 00000000 00:00 0
00271000-0028e000 r-xp 00000000 08:06 261201 /lib/libgcc_s.so.1
0028e000-0028f000 r--p 0001c000 08:06 261201 /lib/libgcc_s.so.1
0028f000-00290000 rw-p 0001d000 08:06 261201 /lib/libgcc_s.so.1
005f6000-005f7000 r-xp 00000000 00:00 0 [vdso]
0063b000-00686000 r-xp 00000000 08:06 268827 /usr/lib/libFLAC.so.8.2.0
00686000-00687000 r--p 0004a000 08:06 268827 /usr/lib/libFLAC.so.8.2.0
00687000-00688000 rw-p 0004b000 08:06 268827 /usr/lib/libFLAC.so.8.2.0
00ba0000-00bbb000 r-xp 00000000 08:06 261143 /lib/ld-2.11.1.so
00bbb000-00bbc000 r--p 0001a000 08:06 261143 /lib/ld-2.11.1.so
00bbc000-00bbd000 rw-p 0001b000 08:06 261143 /lib/ld-2.11.1.so
00c3a000-00c61000 r-xp 00000000 08:06 269843 /usr/lib/libvorbis.so.0.4.3
00c61000-00c62000 r--p 00026000 08:06 269843 /usr/lib/libvorbis.so.0.4.3
00c62000-00c63000 rw-p 00027000 08:06 269843 /usr/lib/libvorbis.so.0.4.3
00ca3000-00cc7000 r-xp 00000000 08:06 265547 /lib/tls/i686/cmov/libm-2.11.1.so
00cc7000-00cc8000 r--p 00023000 08:06 265547 /lib/tls/i686/cmov/libm-2.11.1.so
00cc8000-00cc9000 rw-p 00024000 08:06 265547 /lib/tls/i686/cmov/libm-2.11.1.so
00e87000-00f73000 r-xp 00000000 08:06 269845 /usr/lib/libvorbisenc.so.2.0.6
00f73000-00f74000 ---p 000ec000 08:06 269845 /usr/lib/libvorbisenc.so.2.0.6
00f74000-00f82000 r--p 000ec000 08:06 269845 /usr/lib/libvorbisenc.so.2.0.6
00f82000-00f83000 rw-p 000fa000 08:06 269845 /usr/lib/libvorbisenc.so.2.0.6
08048000-08056000 r-xp 00000000 08:06 274187 /usr/bin/oggenc
08056000-08057000 r--p 0000d000 08:06 274187 /usr/bin/oggenc
08057000-08058000 rw-p 0000e000 08:06 274187 /usr/bin/oggenc
08609000-0864b000 rw-p 00000000 00:00 0 [heap]
b7600000-b7621000 rw-p 00000000 00:00 0
b7621000-b7700000 ---p 00000000 00:00 0
b7706000-b7708000 rw-p 00000000 00:00 0
b7708000-b7714000 r--p 00000000 08:06 33420 /usr/share/locale-langpack/ru/LC_MESSAGES/vorbis-tools.mo
b7714000-b7753000 r--p 00000000 08:06 273813 /usr/lib/locale/ru_UA.utf8/LC_CTYPE
b7753000-b7754000 r--p 00000000 08:06 273831 /usr/lib/locale/ru_UA.utf8/LC_NUMERIC
b7754000-b7755000 r--p 00000000 08:06 391356 /usr/lib/locale/ru_UA.utf8/LC_TIME
b7755000-b7873000 r--p 00000000 08:06 443813 /usr/lib/locale/ru_UA.utf8/LC_COLLATE
b7873000-b7874000 r--p 00000000 08:06 391357 /usr/lib/locale/ru_UA.utf8/LC_MONETARY
b7874000-b7877000 rw-p 00000000 00:00 0
b7877000-b7878000 r--p 00000000 08:06 443816 /usr/lib/locale/ru_UA.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7878000-b7879000 r--p 00000000 08:06 274001 /usr/lib/locale/ru_UA.utf8/LC_PAPER
b7879000-b787a000 r--p 00000000 08:06 273817 /usr/lib/locale/ru_UA.utf8/LC_NAME
b787a000-b787b000 r--p 00000000 08:06 391358 /usr/lib/locale/ru_UA.utf8/LC_ADDRESS
b787b000-b787c000 r--p 00000000 08:06 391359 /usr/lib/locale/ru_UA.utf8/LC_TELEPHONE
b787c000-b787d000 r--p 00000000 08:06 273815 /usr/lib/locale/ru_UA.utf8/LC_MEASUREMENT
b787d000-b7884000 r--s 00000000 08:06 272643 /usr/lib/gconv/gconv-modules.cache
b7884000-b7885000 r--p 00000000 08:06 391360 /usr/lib/locale/ru_UA.utf8/LC_IDENTIFICATION
b7885000-b7887000 rw-p 00000000 00:00 0
bf8e2000-bf8f7000 rw-p 00000000 00:00 0 [stack]
Аварийный останов
bellatrix@bellatrix-laptop:~$

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: vorbis-tools 1.2.0-6build1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Thu May 6 00:01:06 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
ProcEnviron:
 LANG=ru_UA.utf8
 SHELL=/bin/bash
SourcePackage: vorbis-tools

Revision history for this message
Bellatrix Irina (bellatrix) wrote :
description: updated
Revision history for this message
Anakin Starkiller (sunrider) wrote :
Download full text (5.8 KiB)

I have the same problem on Lucid 64 bits by doing :
oggenc -q 6 --resample 44100 afile.wav --output=afile.ogg
where afile.wav is a wav audio file with a 48000 samplerate
I crash at the end of encoding :
*** glibc detected *** oggenc: munmap_chunk(): invalid pointer: 0x00000000004054d0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x7f7f2e9c85b6]
oggenc[0x404f3d]
oggenc[0x40420c]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f7f2e96fc4d]
oggenc[0x402679]
======= Memory map: ========
00400000-0040f000 r-xp 00000000 08:07 292956 /usr/bin/oggenc
0060e000-0060f000 r--p 0000e000 08:07 292956 /usr/bin/oggenc
0060f000-00610000 rw-p 0000f000 08:07 292956 /usr/bin/oggenc
009d2000-00a08000 rw-p 00000000 00:00 0 [heap]
7f7f2e73a000-7f7f2e750000 r-xp 00000000 08:07 1176143 /lib/libgcc_s.so.1
7f7f2e750000-7f7f2e94f000 ---p 00016000 08:07 1176143 /lib/libgcc_s.so.1
7f7f2e94f000-7f7f2e950000 r--p 00015000 08:07 1176143 /lib/libgcc_s.so.1
7f7f2e950000-7f7f2e951000 rw-p 00016000 08:07 1176143 /lib/libgcc_s.so.1
7f7f2e951000-7f7f2eacb000 r-xp 00000000 08:07 1175117 /lib/libc-2.11.1.so
7f7f2eacb000-7f7f2ecca000 ---p 0017a000 08:07 1175117 /lib/libc-2.11.1.so
7f7f2ecca000-7f7f2ecce000 r--p 00179000 08:07 1175117 /lib/libc-2.11.1.so
7f7f2ecce000-7f7f2eccf000 rw-p 0017d000 08:07 1175117 /lib/libc-2.11.1.so
7f7f2eccf000-7f7f2ecd4000 rw-p 00000000 00:00 0
7f7f2ecd4000-7f7f2ecda000 r-xp 00000000 08:07 179067 /usr/lib/libogg.so.0.6.0
7f7f2ecda000-7f7f2eed9000 ---p 00006000 08:07 179067 /usr/lib/libogg.so.0.6.0
7f7f2eed9000-7f7f2eeda000 r--p 00005000 08:07 179067 /usr/lib/libogg.so.0.6.0
7f7f2eeda000-7f7f2eedb000 rw-p 00006000 08:07 179067 /usr/lib/libogg.so.0.6.0
7f7f2eedb000-7f7f2ef5d000 r-xp 00000000 08:07 1175121 /lib/libm-2.11.1.so
7f7f2ef5d000-7f7f2f15c000 ---p 00082000 08:07 1175121 /lib/libm-2.11.1.so
7f7f2f15c000-7f7f2f15d000 r--p 00081000 08:07 1175121 /lib/libm-2.11.1.so
7f7f2f15d000-7f7f2f15e000 rw-p 00082000 08:07 1175121 /lib/libm-2.11.1.so
7f7f2f15e000-7f7f2f1a7000 r-xp 00000000 08:07 179740 /usr/lib/libFLAC.so.8.2.0
7f7f2f1a7000-7f7f2f3a7000 ---p 00049000 08:07 179740 /usr/lib/libFLAC.so.8.2.0
7f7f2f3a7000-7f7f2f3a8000 r--p 00049000 08:07 179740 /usr/lib/libFLAC.so.8.2.0
7f7f2f3a8000-7f7f2f3a9000 rw-p 0004a000 08:07 179740 /usr/lib/libFLAC.so.8.2.0
7f7f2f3a9000-7f7f2f3d5000 r-xp 00000000 08:07 179651 /usr/lib/libvorbis.so.0.4.3
7f7f2f3d5000-7f7f2f5d4000 ---p 0002c000 08:07 179651 /usr/lib/libvorbis.so.0.4.3
7f7f2f5d4000-7f7f2f5d5000 r--p 0002b000 08:07 179651 /usr/lib/libvorbis.so.0.4.3
7f7f2f5d5000-7f7f2f5d6000 rw-p 0002c000 08:07 179651 /usr/lib/libvorbis.so.0.4.3
7f7f2...

Read more...

Revision history for this message
Anakin Starkiller (sunrider) wrote : apport information

Architecture: amd64
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
NonfreeKernelModules: fglrx
Package: vorbis-tools 1.2.0-6build1
PackageArchitecture: amd64
ProcEnviron:
 PATH=(custom, user)
 LANG=fr_FR.utf8
 SHELL=/usr/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Tags: lucid
Uname: Linux 2.6.32-23-generic x86_64
UserGroups: adm admin cdrom dialout fuse lpadmin netdev plugdev sambashare vboxusers

tags: added: apport-collected
Revision history for this message
Anakin Starkiller (sunrider) wrote : Dependencies.txt

apport information

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vorbis-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
David Huggins-Daines (dhuggins) wrote :

Added a few duplicate bugs to this. All those bugs involve invoking oggenc with the "-r" flag (for raw input).

I had to work around this by making a fake WAV file and feeding that to oggenc instead.

Revision history for this message
Martin Steghöfer (martin-steghoefer) wrote :

This is probably the same issue as Debian bug #771363 [1], which was fixed in version 1.4.0-6. Could you try that version and check, if the issue persists?

Cheers,
Martin

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771363

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.