Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75218 - xmms-musepack 1.1 segfault when loading file
Summary: xmms-musepack 1.1 segfault when loading file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 75351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-21 11:03 UTC by Frank Russo
Modified: 2005-01-05 01:18 UTC (History)
2 users (show)

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


Attachments
this patch fixes the amd64 crash (xmms-musepack-iconv.patch,1.35 KB, patch)
2004-12-29 15:29 UTC, Miles Egan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Russo 2004-12-21 11:03:33 UTC
When loading/adding an .mpc file to xmms, xmms-musepack causes xmms to segfault.

h2so4 ~ # xmms

Segmentation fault

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


h2so4 ~ # emerge -s xmms-musepack
Searching...
[ Results for search key : xmms-musepack ]
[ Applications found : 1 ]

*  media-plugins/xmms-musepack
      Latest version available: 1.1
      Latest version installed: 1.1
      Size of downloaded files: 202 kB
      Homepage:    http://www.musepack.net
      Description: XMMS plugin to play audio files encoded with Andree Buschmann's encoder Musepack (mpc, mp+, mpp)
      License:     LGPL-2.1

Regressing to xmms-musepack 1.0 resolves the issue.


h2so4 ~ # emerge -s libmusepack
Searching...
[ Results for search key : libmusepack ]
[ Applications found : 1 ]

*  media-libs/libmusepack
      Latest version available: 1.0.3
      Latest version installed: 1.0.3
      Size of downloaded files: 220 kB
      Homepage:    http://www.musepack.net
      Description: Musepack decoder library
      License:     LGPL-2.1


Additional info

h2so4 ~ # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  4 2004, 17:41:58)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe -funit-at-a-time"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /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="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac alsa apm arts artswrappersuid audiofile avi berkdb bitmap-fonts bonobo bootsplash cdparanoia cdr crypt cups debug divx4linux dvd dvdread encode esd f77 faac faad fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icc imagemagick imlib java joystick jpegjpeg2k junit kde libg++ libwww mad mikmod mmx mmx2 motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real samba scanner sdl session slang spell sse ssl svga tcpd theora tiff truetype v4l2 wxwindows x86 xine xml xml2 xmms xv xvid zlib"



Reproducible: Always
Steps to Reproduce:
1.  Set arcg to ~x80
2.  Emerge xmms-musepack
3.  Load an MPC file

Actual Results:  
XMMS segfaults

Expected Results:  
Emms adds file to the playlist

http://forums.gentoo.org/viewtopic.php?t=269022

Confirmed repro with an additional user.  Can't seem to get gdb to load xmms.
(gdb, file xmms, start, and nothing happens...  but says it's running)

Thank you for your time,
Frank Russo
Comment 1 Miles Egan 2004-12-29 15:29:47 UTC
Created attachment 47177 [details, diff]
this patch fixes the amd64 crash

xmms-musepack-1.1 calls into glib-2.0, which doesn't work if glib-1.2 is being
used as well.  This patch replaces the calls to glib-2.0 string conversion
routines with iconv.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-04 04:45:23 UTC
*** Bug 75351 has been marked as a duplicate of this bug. ***
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-04 04:46:17 UTC
Has this patch been sent upstream?
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-05 01:18:53 UTC
fixed in cvs.