Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159639 - media-sound/vorbis-tools - ogginfo coredumps with umlaut problems
Summary: media-sound/vorbis-tools - ogginfo coredumps with umlaut problems
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-01 12:35 UTC by konsti
Modified: 2008-03-07 08:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ogginfo-invalid-fail-path.patch (ogginfo-invalid-fail-path.patch,660 bytes, patch)
2007-11-29 22:23 UTC, Stian Skjelstad
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description konsti 2007-01-01 12:35:29 UTC
Well, actually I am trying to get umlauts working in mpd/mpc and I realize it might be a problem with my system. I realize ogginfo coredumps when I probe a song with Umlauts in the tags:

Processing file "/export/mucke/mCDs/Rammstein/Rammstein-V
Comment 1 konsti 2007-01-01 12:35:29 UTC
Well, actually I am trying to get umlauts working in mpd/mpc and I realize it might be a problem with my system. I realize ogginfo coredumps when I probe a song with Umlauts in the tags:

Processing file "/export/mucke/mCDs/Rammstein/Rammstein-Völkerball_-_Live_in_Nimes/01.Intro.ogg"...

New logical stream (#1, serial: 78651183): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20050304
Channels: 2
Rate: 44100

Nominal bitrate: 112.000000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        ARTIST=Rammstein
Warning: Illegal UTF-8 sequence in comment 1 (stream 1): invalid sequence
        ALBUM=
*** glibc detected *** ogginfo: double free or corruption (fasttop): 0x0000000000538a90 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b2f014547ae]
/lib/libc.so.6(__libc_free+0x8c)[0x2b2f01457edc]
ogginfo[0x401d98]
ogginfo[0x4021a9]
ogginfo[0x402cc7]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2b2f01402374]
ogginfo[0x401769]
======= Memory map: ========
00400000-00406000 r-xp 00000000 08:06 25253363                           /usr/bin/ogginfo
00506000-00507000 rw-p 00006000 08:06 25253363                           /usr/bin/ogginfo
00507000-00549000 rw-p 00507000 00:00 0                                  [heap]
2b2f00f3e000-2b2f00f5b000 r-xp 00000000 08:01 81957                      /lib64/ld-2.5.so
2b2f00f5b000-2b2f00f5c000 rw-p 2b2f00f5b000 00:00 0 
2b2f00f5c000-2b2f00f5d000 r--p 00000000 08:06 25269980                   /usr/lib64/locale/en_US/LC_IDENTIFICATION
2b2f00f5d000-2b2f00f5e000 r--p 00000000 08:06 25269979                   /usr/lib64/locale/en_US/LC_MEASUREMENT
2b2f00f5e000-2b2f00f5f000 r--p 00000000 08:06 25269978                   /usr/lib64/locale/en_US/LC_TELEPHONE
2b2f00f5f000-2b2f00f60000 r--p 00000000 08:06 25269971                   /usr/lib64/locale/en_US/LC_ADDRESS
2b2f00f60000-2b2f00f61000 r--p 00000000 08:06 25269959                   /usr/lib64/locale/en_US/LC_NAME
2b2f00f61000-2b2f00f62000 r--p 00000000 08:06 25262011                   /usr/lib64/locale/en_US/LC_PAPER
2b2f00f62000-2b2f00f63000 r--p 00000000 08:06 37749020                   /usr/lib64/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
2b2f00f63000-2b2f00f64000 r--p 00000000 08:06 25262010                   /usr/lib64/locale/en_US/LC_MONETARY
2b2f00f64000-2b2f00f69000 r--p 00000000 08:06 8773028                    /usr/lib64/locale/en_US/LC_COLLATE
2b2f00f69000-2b2f00f6a000 r--p 00000000 08:06 25262004                   /usr/lib64/locale/en_US/LC_TIME
2b2f00f6a000-2b2f00f6b000 r--p 00000000 08:06 25217971                   /usr/lib64/locale/en_US/LC_NUMERIC
2b2f00f6e000-2b2f00f6f000 rw-p 2b2f00f6e000 00:00 0 
2b2f00f6f000-2b2f00fa2000 r--p 00000000 08:06 12874881                   /usr/lib64/locale/de_DE@euro/LC_CTYPE
2b2f00fa2000-2b2f00fa4000 rw-p 2b2f00fa2000 00:00 0 
2b2f00fa4000-2b2f00fab000 r--s 00000000 08:06 20972266                   /usr/lib64/gconv/gconv-modules.cache
2b2f0105b000-2b2f0105c000 r--p 0001d000 08:01 81957                      /lib64/ld-2.5.so
2b2f0105c000-2b2f0105d000 rw-p 0001e000 08:01 81957                      /lib64/ld-2.5.so
2b2f0105d000-2b2f0107b000 r-xp 00000000 08:06 4206059                    /usr/lib64/libvorbis.so.0.3.1
2b2f0107b000-2b2f0117a000 ---p 0001e000 08:06 4206059                    /usr/lib64/libvorbis.so.0.3.1
2b2f0117a000-2b2f01189000 rw-p 0001d000 08:06 4206059                    /usr/lib64/libvorbis.so.0.3.1
2b2f01189000-2b2f011de000 r-xp 00000000 08:01 82148                      /lib64/libm-2.5.so
2b2f011de000-2b2f012dd000 ---p 00055000 08:01 82148                      /lib64/libm-2.5.so
2b2f012dd000-2b2f012de000 r--p 00054000 08:01 82148                      /lib64/libm-2.5.so
2b2f012de000-2b2f012df000 rw-p 00055000 08:01 82148                      /lib64/libm-2.5.so
2b2f012df000-2b2f012e4000 r-xp 00000000 08:06 4195502                    /usr/lib64/libogg.so.0.5.3
2b2f012e4000-2b2f013e3000 ---p 00005000 08:06 4195502                    /usr/lib64/libogg.so.0.5.3
2b2f013e3000-2b2f013e4000 rw-p 00004000 08:06 4195502                    /usr/lib64/libogg.so.0.5.3
2b2f013e4000-2b2f013e5000 rw-p 2b2f013e4000 00:00 0 
2b2f013e5000-2b2f0152d000 r-xp 00000000 08:01 82125                      /lib64/libc-2.5.so
2b2f0152d000-2b2f0162c000 ---p 00148000 08:01 82125                      /lib64/libc-2.5.so
2b2f0162c000-2b2f01630000 r--p 00147000 08:01 82125                      /lib64/libc-2.5.so
2b2f01630000-2b2f01631000 rw-p 0014b000 08:01 82125                      /lib64/libc-2.5.so
2b2f01631000-2b2f01637000 rw-p 2b2f01631000 00:00 0 
2b2f01637000-2b[1]    6217 abort      ogginfo 


konsti@anita:~/ > env |grep LC
LC_CTYPE=de_DE@euro
konsti@anita:~/ > env |grep LANG
LANG=en_US


May be this is an upstream error, my somehow broken system or gentoo stuff, may be somebody can reproduce this.
Comment 2 konsti 2007-01-01 12:36:41 UTC
Portage 2.1.2_rc4-r4 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.8
Last Sync: Mon, 01 Jan 2007 13:00:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo "
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://10.10.0.17/gentoo-portage"
USE="X aac aalib alsa amd64 ao audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdinstall cli cracklib crypt cups dga dlloader dvd encode flac gif glibc-omitfp gpm iconv icq imap imlib ipv6 isdnlog jpeg libcaca libg++ mad maildir menu mmap moznocompose moznoirc moznomail moznoroaming mozsvg mp3 mpeg ncurses no-old-linux nptl nptlonly nvidia offensive ogg opengl pam pdf perl png pppd readline reflection session smime spl ssl symlink tetex theora tiff truetype truetype-fonts type1-fonts udev unicode userlocales vcd vorbis xml2 xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-01 12:39:36 UTC
Post emerge -pv media-sound/vorbis-tools output please.
Comment 4 konsti 2007-01-03 05:14:38 UTC
[ebuild   R   ] media-sound/vorbis-tools-1.1.1-r3  USE="flac -nls -speex" 0 kB

But I believe this belongs upstream, on my debian box I can reproduce this bug.
Comment 5 Stian Skjelstad 2007-11-29 22:23:32 UTC
Created attachment 137349 [details, diff]
ogginfo-invalid-fail-path.patch
Comment 6 Stian Skjelstad 2007-11-29 22:24:29 UTC
I'm sending upstream a little notice about the issue
Comment 7 Stian Skjelstad 2007-12-01 19:29:09 UTC
The SVN/development version doesn't have this bug, but the patch should be included in the 1.1.1/portage version, since it can cause denial-of-service due to crash, and other scary stuff when testing with valgrind
Comment 8 Stian Skjelstad 2008-01-14 23:22:06 UTC
Not to be very pushy or anything, but can we push out this patch, or are we waiting for new upstream release (which seems to take a while)?
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2008-03-07 05:50:06 UTC
(In reply to comment #8)
> Not to be very pushy or anything, but can we push out this patch, or are we
> waiting for new upstream release (which seems to take a while)?
> 

Try media-sound/vorbis-tools-1.2.0
Comment 10 konsti 2008-03-07 08:39:45 UTC
This looks better:

Processing file "/exports/mCDs/Rammstein/Rammstein-Völkerball_-_Live_in_Nimes/01.Intro.ogg"...

New logical stream (#1, serial: 78651183): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20050304 (1.1.1)
Channels: 2
Rate: 44100

Nominal bitrate: 112.000000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        ARTIST=Rammstein
Warning: Illegal UTF-8 sequence in comment 32 (stream 1): invalid sequence "ALBUM=V?lkerball - Live in Nimes": 41 4C 42 55 4D 3D 56 F6 6C 6B 65 72 62 61 6C 6C 20 2D 20 4C 69 76 65 20 69 6E 20 4E 69 6D 65 73
        TITLE=Intro
        DATE=2006
        GENRE=Metal
        TRACKNUMBER=01
        CDDB=ec11c510
Vorbis stream 1:
        Total data length: 1699290 bytes
        Playback length: 2m:03.920s
        Average bitrate: 109.702389 kb/s
Logical stream 1 ended

The complain about the illegal UTF-8 Header is most probably what it broke, right? Now it does not crash and complains about it, what might be okay, since it may be possible the vorbiscomment or oggenc version used to create the file was bad or misconfigured...