Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10309 - xmms sefaults when starting
Summary: xmms sefaults when starting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-05 18:27 UTC by Christoph Borsbach
Modified: 2006-02-04 06:03 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 Christoph Borsbach 2002-11-05 18:27:21 UTC
Hello all, 
xmms compiles fine, but when you try to start it, it just segfaults:  
"chris $ xmms 
 
Segmentation fault 
 
You've probably found a bug in XMMS, please visit 
http://bugs.xmms.org and fill out a bug report." 
Below is my "emerge info" output, i guess all the info i can give is covered 
there. Good Luck and thanks, 
Chris "Dr_Jekyll" Borsbach 
 
 
Portage 2.0.43 (default-ppc-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r5) 
================================================================= 
System uname: 2.4.20-rc1-ben0 ppc PowerBook4,1 
USE="oss nls mitshm ppc gnome-libs gdbm berkdb slang tetex java guile sdl gpm 
libwww esd imlib oggvorbis motif cdr scanner gnome gtk bonobo evo gb gtkhtml 
tcltk dvd mozilla perl mysql samba cups slp kde qt qtmt arts ncurses readline 
gif jpeg png mpeg xmms ssl pam socks5 imap tcpd spell truetype xml2 pdflib 
python X xv opengl dga nocardbus -avi" 
ARCH="ppc" 
COMPILER="" 
CHOST="powerpc-unknown-linux-gnu" 
CFLAGS=" -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring " 
CXXFLAGS=" -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring " 
ACCEPT_KEYWORDS="ppc" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
MAKEOPTS="-j2" 
JDK_HOME="/opt/blackdown-jdk-1.3.1" 
JAVA_HOME="/opt/blackdown-jdk-1.3.1" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Comment 1 SpanKY gentoo-dev 2002-11-05 20:06:10 UTC
if you run it as root does it work ? 
Comment 2 Christoph Borsbach 2002-11-06 03:55:49 UTC
No, same behavior when running xmms as root. 

Chris
Comment 3 SpanKY gentoo-dev 2002-11-06 07:59:55 UTC
have you emerged any xmms plugins ?
Comment 4 Christoph Borsbach 2002-11-06 08:38:55 UTC
No, no xmms-plugins were emerged.

Chris
Comment 5 Christoph Borsbach 2002-11-07 09:53:51 UTC
Hello everybody,  
i juste emerged the xmms-1.2.7-r13 ebuild, and theis release works fine... 
Strange but true. 
 
Regards, 
Chris 
Comment 6 SpanKY gentoo-dev 2002-11-07 10:07:03 UTC
what version was segfaulting on you ? 
Comment 7 Christoph Borsbach 2002-11-07 13:41:33 UTC
That was 1.2.7-r14.
Comment 8 Nick Nolan 2002-11-09 14:30:04 UTC
same thing is happening to me, here's emerge info

Portage 2.0.43 (default-ppc-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r7)
=================================================================
System uname: 2.4.19-r6 ppc 
USE="oss dvd xv libwww jpeg nls mitshm gif png truetype ppc gnome-libs gdbm
berkdb slang readline aalib java guile X sdl gpm tcpd pam ssl perl python esd
imlib motif opengl mozilla cdr oggvorbis gtk -gnome -kde -qt crypt"
ARCH="ppc"
COMPILER=""
CHOST="powerpc-unknown-linux-gnu"
CFLAGS=" -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring "
CXXFLAGS=" -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring "
ACCEPT_KEYWORDS="ppc"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME=""
JAVA_HOME="/opt/blackdown-jre-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"


good luck tracking this one down :)
Comment 9 Thomas Nilsson 2002-11-09 17:51:30 UTC
It would really help if someone could build a non stripped version of XMMS and 
run it through GDB and post a backtrace,
gdb xmms
run
.. when it segfaults ..
bt
Comment 10 Christoph Borsbach 2002-11-10 05:16:23 UTC
Um, sorry, i don't really know what a "non stripped" version is, do you mean a
"non gentoo-ebuild" version? 
Anyway, heres my gdb-output of 1.2.7-r14:

GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu"...(no debugging symbols
found)...
(gdb) run
Starting program: /usr/bin/xmms 
(no debugging symbols found)...[New Thread 1024 (LWP 30987)]
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 2049
(LWP 30988)]
[New Thread 1026 (LWP 30989)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 30987)]
0x0f4665c0 in get_iplugin_info () from /usr/lib/xmms/Input/libidcin.so
(gdb) bt
#0  0x0f4665c0 in get_iplugin_info () from /usr/lib/xmms/Input/libidcin.so
#1  0x1001b5d0 in init_plugins ()
#2  0x10037ed0 in main ()
#3  0x0f9680a0 in __libc_start_main () from /lib/libc.so.6



Regards,
Chris "Dr_Jekyll" Borsbach
Comment 11 SpanKY gentoo-dev 2002-11-10 16:12:18 UTC
what he means by 'no strip' is that the binaries shouldnt have the debug  
symbols stripped from them  
notice in your output you see a lot of (no debugging symbols found)  
  
do this: 
(1) edit the xmms ebuild and add a line to the top: 
RESTRICT="nostrip" 
(2) emerge xmms 
(3) run gdb on xmms again 
Comment 12 Christoph Borsbach 2002-11-10 17:14:32 UTC
I did that, but the gdb output I get is identical to the output posted earlier.
Can I do something to verify that the ebuild modification worked? 
Comment 13 SpanKY gentoo-dev 2002-11-11 11:39:29 UTC
what if you `rm -rf /usr/lib/xmms/*` ? 
does it at least start up then ? 
Comment 14 Christoph Borsbach 2002-11-11 14:51:05 UTC
Yep it does!
Comment 15 SpanKY gentoo-dev 2002-11-11 23:11:57 UTC
mind doing a little repetitive work ? 
emerge xmms and rm 1 plugin at a time till it works ... 
Comment 16 Christoph Borsbach 2002-11-12 16:18:26 UTC
No problem:
after deleting /usr/lib/xmms/Input/libidcin.so, xmms starts...
I deleted the plugins in "Effect" and "General" one by one before.

Comment 17 SpanKY gentoo-dev 2002-11-14 18:41:25 UTC
-r15 will delete that plugin for you ... 
talking to the xmms dev's and they say they stopped distro-ing that plugin 
anyways 
 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/media-sound/xmms/xmms-1.2.7-r15.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup