Hi, Can you give me more information, like what vuxctl commands cause the problem?
Thanks, Brian On Aug 24 08:55PM, Hans-Joachim Baader wrote: > Package: vux > Version: 0.4.9 > Severity: important > Tags: patch > > > Hi, > > when sending a command to vux via vuxctl, vux spawns a new player which > results in multiple songs playing or waiting to be played simultaneously. > > After a long search I suspected the wait function to be the cause of this. > When I concentrated on this is didn't take long to find and fix the bug. > The wait is interrupted by the HUP signal sent by vuxctl, and vux should > continue to wait after that. Here's the patch: > > --- /usr/bin/vux 2004-11-04 22:54:33.000000000 +0100 > +++ /home/hans/bin/vux 2008-08-24 14:23:36.744544743 +0200 > @@ -764,7 +772,14 @@ > $player $player_options $current_song & > player_pid=$! > wait_for_player=0 > - wait > + > + while [ 1 ]; do > + wait > + if ! kill -0 $player_pid > /dev/null 2>&1; then > + break > + fi > + done > + > unset player_pid > else > $missing_method $current_song >> $missing_log > > It affects both x86 and x86_64. > > Regards, > hjb > > -- System Information: > Debian Release: lenny/sid > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.26.3 (SMP w/4 CPU cores; PREEMPT) > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages vux depends on: > ii lockfile-progs 0.1.11-0.1 Programs for locking and > unlocking > ii mpg321 [mp3-decoder] 0.2.10.4 mpg123 clone that doesn't use > floa > ii vlc [mp3-decoder] 0.8.6.h-1 multimedia player and streamer > ii vlc-nox [mp3-decoder] 0.8.6.h-1 multimedia player and streamer > (wi > ii vorbis-tools 1.2.0-5 several Ogg Vorbis tools > ii zsh 4.3.6-7 A shell with lots of features > > vux recommends no packages. > > vux suggests no packages. > > -- no debconf information > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]