Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63168 - xmms-1.2.10-r5 always crashes when pasting text in ID3 fields
Summary: xmms-1.2.10-r5 always crashes when pasting text in ID3 fields
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 14:45 UTC by Ramon de Ruiter
Modified: 2004-09-30 16:15 UTC (History)
1 user (show)

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 Ramon de Ruiter 2004-09-07 14:45:13 UTC
Xmms always crashes for me when i select some text and then paste it into a ID3v1/v2 field. 

Reproducible: Always
Steps to Reproduce:
1. select some text with your mouse
2. RMB click a mp3 file, choose view file info
3. paste the text with your middle mouse button

Actual Results:  
xmms just closes

Expected Results:  
paste the info in the field

Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.9-rc1)
=================================================================
System uname: 2.6.9-rc1 i686 Athlon XP Barton  2500+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -mmmx -msse -m3dnow"
DISTDIR="/tmp/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.tiscali.nl/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm audiofile avi berkdb cdr crypt cups divx4linux
encode esd foomaticdb gdbm geoip gif gphoto2 gtk gtk2 guile imagemagick imlib
java jikes jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses offensive
oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl
slang sse ssl svga tcltk tcpd tiff truetype usb wmf x86 xml xml2 xmms xv xvid zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-12 22:09:45 UTC
can youu try to ease up on your CFLAGS?

try CFLAGS="-O2 -pipe" to test it.

Can you please do this in gdb and provide me with a backtrace?
Comment 2 Ramon de Ruiter 2004-09-13 01:39:43 UTC
mon@Gen2 mon $ gdb xmms
GNU gdb 5.3
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 "i686-pc-linux-gnu"...(no debugging symbols found)...
(gdb) run
Starting program: /usr/bin/xmms
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
(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)...(no debugging symbols found)...(no debugging symbols found)...

Gdk-WARNING **: locale not supported by Xlib, locale set to C
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIG32, Real-time event 32.
0x49179974 in pthread_getconcurrency () from /lib/libpthread.so.0
----
What do i do wrong?
Comment 3 Ramon de Ruiter 2004-09-13 01:49:31 UTC
I thought i'd toy a bit with strace, and found this error it produced interesting:
open("/usr/X11R6/lib/X11/locale/nl_NL@euro/XI18N_OBJS", O_RDONLY) = -1 ENOENT (No such file or directory)

so i commented out :
#export LANG="nl_NL@euro" and put in:
export LANG="en_US.UTF-8"
source ~/.bashrc

When i now do the mentioned steps to let xmms crash, it doesn't. It just works.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-13 18:13:28 UTC
great... I know less than nothing about i18n...   so I'm at a loss here...  maybe someone else can take a look at this...

Can you try testing this with vanilla xmms (that is, don't apply the gentoo patches).  You can do this by changing src_unpack to bak_src_unpack in the ebuild...
Comment 5 Ramon de Ruiter 2004-09-14 09:09:44 UTC
Problem doesn't exist when compiled from "clean" source.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-15 12:51:08 UTC
ok... then can you pleasse try commenting out patches to figure out which one is causing it?  I'm betting it's the recode patch...
Comment 7 Ramon de Ruiter 2004-09-19 04:47:52 UTC
You're right. When i comment out the three recode patches everything works just fine.
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-30 16:15:20 UTC
-r6 is using the unicode patches instead of recode patches, so this should be working... please test and reopen if it is still broken.