Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125142 - media-plugins/xmms-mpg123 - libmpg123.so Segfaults on bad id3 metadata
Summary: media-plugins/xmms-mpg123 - libmpg123.so Segfaults on bad id3 metadata
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
Depends on: xmms-must-die
Blocks:
  Show dependency tree
 
Reported: 2006-03-05 14:59 UTC by Frank Russo
Modified: 2006-10-23 00:48 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Russo 2006-03-05 14:59:10 UTC
Good afternoon,

I have a few mp3 that will cause xmms to crash when using the mpg123 plugin, but not the MAD plugin.  If the ID3 tag is updated on the file via easytag, xmms no longer crashes.  Please examine the information below.  I can supply a sample file to assist with re-pro (just ping me with an upload location since gentoo Bzilla doesn't seem to have a file upload facility). 

Thanx Muchly,
Frank Russo

--------------------------------------------------
Repro steps:
1:  Start XMMS
2:  Make sure mpg123 is enabled in preferences (disable mad)
3:  Load file with bad ID3 info
4:  Segfault

-----------------------------------------------------
Here is the GDB analysis of the crash (sorry no symbols)....

0x08087851 in main ()
(gdb)
Single stepping until exit from function main,
which has no line number information.



Message: device: default
Message: fmt 5, channels: 2
[New Thread 32771 (LWP 13756)]


Program received signal SIGSEGV, Segmentation fault.
0xb6e26047 in get_iplugin_info () from /usr/lib/xmms/Input/libmpg123.so
(gdb)
Single stepping until exit from function get_iplugin_info,
which has no line number information.
0xb7d45ed0 in __pthread_sighandler () from /lib/libpthread.so.0
(gdb)
Single stepping until exit from function __pthread_sighandler,
which has no line number information.

Segmentation fault

You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32771 (LWP 13756)]
0xb6e26047 in get_iplugin_info () from /usr/lib/xmms/Input/libmpg123.so
(gdb)
Single stepping until exit from function get_iplugin_info,
which has no line number information.
0xb7d45ed0 in __pthread_sighandler () from /lib/libpthread.so.0
(gdb)
Single stepping until exit from function __pthread_sighandler,
which has no line number information.
Segmentation fault

-------------------------------------------------------------------

Other information:

*  media-plugins/xmms-mpg123
      Latest version available: 1.2.10-r1
      Latest version installed: 1.2.10-r1
      Size of files: 2,916 kB
      Homepage:      http://www.xmms.org
      Description:   Xmms Plugin: xmms-mpg123
      License:       GPL-2

h2so4 ~ # emerge --info

Portage 2.1_pre5-r4 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe -funit-at-a-time"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 alsa apm arts artswrappersuid asf audiofile avi berkdb bitmap-fonts bootsplash cdparanoia cdr crypt cups dga divx4linux dv dvd dvdread eds emboss encode faac ffmpeg flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml id3 imlib ipv6 java joystick jpeg jpeg2k kde lame libg++ libwww mad matroska mikmod mmx2 mng motif mp3 mpeg mpeg2 mplayer musepack ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime rar readline real samba scanner sdl session spell sse ssl subtitles tcpd tga theora tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis win32codecs wxgtk1 wxwindows x264 xanim xine xml2 xmms xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Frank Russo 2006-03-05 15:31:22 UTC
I have uploaded a sample file to my comcast account to assist in reproducing the bug.  It can be found here:

http://home.comcast.net/~f.russo/Gentoo-BugID-125142.tar.gz

Feel free to ping me if you need anything else.

Frank
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2006-04-12 04:40:36 UTC
happens the same with xmms-1.2.10-r16 ?
Comment 3 Frank Russo 2006-04-12 10:58:02 UTC
Still segfaults with media-sound/xmms-1.2.10-r16.  It's an easy repro with the sample file provided.  Just make sure to disable mad, add the song to the playlist, and kaboom.

Thanx Muchly,
Frank
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 00:48:38 UTC
xmms and all plugins are now package.masked and will be removed from the tree in one month.

WONTFIX.