Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xmms crashes when i open a terminal (?)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mattheweast
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2004
Posts: 121
Location: London, UK

PostPosted: Mon Apr 18, 2005 4:54 pm    Post subject: Xmms crashes when i open a terminal (?) Reply with quote

The topic says it all: xmms is happily playing files in mp3 format, then i open an xterm, and it crashes. Go figure! This doesn't happen if I'm running xmms from a terminal already and open another one.

<EDIT>I've also noticed it disappears if I open nautilus.</EDIT>

Here is my .bashrc, which is the only thing I can think of that might assist. If there is anything more I can provide, please let me know!!!

Thanks in advance,

Matt

matt@eustathios matt $ cat .bashrc
# /etc/skel/.bashrc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8 2003/02/28 15:45:35 azarah Exp $

# This file is sourced by all *interactive* bash shells on startup. This
# file *should generate no output* or it will break the scp and rcp commands.

# colors for ls, etc.
eval `dircolors -b /etc/DIR_COLORS`
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"

# Change the window title of X terminals
case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac

##uncomment the following to activate bash-completion:
[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Mon Apr 18, 2005 8:21 pm    Post subject: Reply with quote

Is any sound played when you open xterm or nautilus? If so, it could be a conflict of some sort, probably caused by alsa-lib 1.0.8.
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
mattheweast
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2004
Posts: 121
Location: London, UK

PostPosted: Mon Apr 18, 2005 11:14 pm    Post subject: Reply with quote

Yes that is it!! Thanks!

I have disabled gnome sound events and the problem does not occur. I hope that I won't get it when browsing the internet to sites with music or when trying to play other sound: it may be that the gnome sound server was causing the problem.

thanks again, Matt
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Tue Apr 19, 2005 11:38 am    Post subject: Reply with quote

You could downgrade alsa-lib to 1.0.7 instead, and the problem would go away. Simply do
Code:
echo "=media-libs/alsa-lib-1.0.8" >> /etc/portage/package.mask
echo "=media-sound/alsa-utils-1.0.8" >> /etc/portage/package.mask
emerge alsa-lib alsa-utils

_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
GungHo
Apprentice
Apprentice


Joined: 27 Aug 2004
Posts: 254

PostPosted: Tue Apr 19, 2005 2:48 pm    Post subject: Reply with quote

Cuber wrote:
You could downgrade alsa-lib to 1.0.7 instead, and the problem would go away. Simply do
Code:
echo "=media-libs/alsa-lib-1.0.8" >> /etc/portage/package.mask
echo "=media-sound/alsa-utils-1.0.8" >> /etc/portage/package.mask
emerge alsa-lib alsa-utils



Just for the records, I have (had) the same prob, downgraded alsa-lib and alsa-utils to 1.0.7, now I'm curious to see what happens :)
Back to top
View user's profile Send private message
GungHo
Apprentice
Apprentice


Joined: 27 Aug 2004
Posts: 254

PostPosted: Tue Apr 19, 2005 3:23 pm    Post subject: Reply with quote

oh boy, it's always an adventure when doing an "emerge -u world" :roll:

xmms now seems to be stable, but when I press it's 'Pause' button, there are hundreds and thousands of the following messages running over the console where xmms was started:

Code:
ALSA lib pcm_hw.c:490:(snd_pcm_hw_delay) SNDRV_PCM_IOCTL_DELAY failed: File descriptor in bad state


I'm going to do another "emerge xmms", maybe this solves this behaviour
Back to top
View user's profile Send private message
GungHo
Apprentice
Apprentice


Joined: 27 Aug 2004
Posts: 254

PostPosted: Tue Apr 19, 2005 5:04 pm    Post subject: Reply with quote

no, re-emerging xmms does not solve this issue :(
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Tue Apr 19, 2005 7:06 pm    Post subject: Reply with quote

Yupp, I have that prob to. But I never start xmms from a terminal, so I don't care. It doesn't actually do any harm.
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum