Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132851

Summary: xmms using xmms-midi hangs when stopping a mid
Product: Gentoo Linux Reporter: Renan T. Inácio <zerocaronte>
Component: Current packagesAssignee: Luis Medinas (RETIRED) <metalgod>
Status: RESOLVED WONTFIX    
Severity: major CC: gabrielp
Priority: High Keywords: PMASKED
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 152472    
Bug Blocks:    

Description Renan T. Inácio 2006-05-09 20:18:32 UTC
Steps to Reproduce: 
  1) open any .mid on xmms
  2) play
  3) stop (or reach the end of the song)

Actual Results: it hangs when stopping (forced or reached at the end) a .mid file

Expected Results: stop only the song, not the entire program :-P

Additional Information:
Playing midis with timidity and aplaymidi works fine
Everything on XMMS works fine, except stopping midis

When running from a terminal, i get this after starting xmms
gsdrums.cfg: line 155: bad patch option #
gssfx.cfg: line 12: bad patch option #
xgmap2.cfg: line 29: bad patch option #

And after i press CTRL+C on the terminal to close xmms, it says it segfaulted, twice.

I don't know how to make a backtracing of xmms.. i tell it to RUN, then the program starts, but clicking on the buttons (start/stop/etc) does nothing.. then i type CONTINUE and it continues ignoring my clicks

emerge --info :
Gentoo Base System version 1.6.14
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=k8 -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ "
LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
LINGUAS="pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="X Xaw3d alsa amd64 audiofile avi berkdb bitmap-fonts bzip2 cdr cdrw cli crypt cups curl dri dvd dvdr dvdrw eds emboss encode esd exif expat fam foomaticdb fortran gif glut glx gnome gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imlib ipv6 isdnlog java jpeg lcms lzw lzw-tiff mng motif mozilla mp3 mpeg msn ncurses nls nptl nvidia ogg opengl pam pcre pdflib perl png pppd python quicktime readline recode reflection samba sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xorg xpm xscreensaver xv zlib linguas_pt_BR userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2006-05-10 05:24:14 UTC
try this...

gdb xmms
run -X
bt
Comment 2 Renan T. Inácio 2006-05-10 17:41:02 UTC
xmms 1.2.10 doesnt recognize a -X parameter, this is the output:

(gdb) run -X
Starting program: /usr/bin/xmms -X
(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)
[Thread debugging using libthread_db enabled]
[New Thread 46912522923744 (LWP 9912)]
/usr/bin/xmms: op
Comment 3 Renan T. Inácio 2006-05-10 17:41:02 UTC
xmms 1.2.10 doesnt recognize a -X parameter, this is the output:

(gdb) run -X
Starting program: /usr/bin/xmms -X
(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)
[Thread debugging using libthread_db enabled]
[New Thread 46912522923744 (LWP 9912)]
/usr/bin/xmms: opção inválida -- X
[New Thread 1082132832 (LWP 9915)]
gsdrums.cfg: line 155: bad patch option #
gssfx.cfg: line 12: bad patch option #
xgmap2.cfg: line 29: bad patch option #
[New Thread 1090525536 (LWP 9916)]

Program received signal SIG33, Real-time event 33.
[Switching to Thread 1090525536 (LWP 9916)]
0x00002aaaab81da45 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
(gdb) bt
#0  0x00002aaaab81da45 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0x00002aaaaaef7b14 in xmms_usleep () from /usr/lib/libxmms.so.1
#2  0x00000000004257cc in playlist_get_songtitle ()
#3  0x00002aaaab81814a in start_thread () from /lib/tls/libpthread.so.0
#4  0x00002aaaac06c943 in clone () from /lib/tls/libc.so.6
#5  0x0000000000000000 in ?? ()
(gdb) continue
Continuing.

Program received signal SIG33, Real-time event 33.
[Switching to Thread 1082132832 (LWP 9915)]
0x00002aaaac0665b6 in select () from /lib/tls/libc.so.6
(gdb) continue
Continuing.

then it stays "continuing" forever
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2006-07-01 11:03:27 UTC
Use normal cflags and debug again please
Comment 5 Renan T. Inácio 2006-07-02 11:58:14 UTC
I re-emerged xmms and xmms-midi with
CFLAGS="-mtune=k8 -march=k8 -O2 -pipe "

But I still have the same problem trying to use gdb with xmms, I can't click anywhere on the GUI.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 00:52:29 UTC
xmms and all plugins are now package.masked and will be removed from the tree in one month.

WONTFIX.