Description of problem: Running gweled generates a music.raw file which keeps growing at a rapid rate eating up disk space. Version-Release number of selected component (if applicable): gweled-0.7-6.fc6.x86_64 How reproducible: every time Steps to Reproduce: 1. run gweled 2. look at size of music.raw file in current directory 3. Actual results: $ ls -l music.raw -rw------- 1 jburgess jburgess 1744785408 Feb 9 00:35 music.raw Expected results: No file! Additional info: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401727 The problem and fix: "Gweled registers all drivers including DISK WRITER drivers, I have removed RegisterAll and manually register all drivers which makes sense (AudioFile, ESD, ALSA, OSS and NoSound).... Disable disk writer driver in MikMod initialization"
I don't see the problem locally -- that's odd, but well, software is odd sometimes. I contacted upstream about the issue. I'll probably apply the debian patch to my package in case upstream has no plans for a new release in the near future.
Looks like it falls back to the disk writer after other options fail. strace shows... access("/dev/sound/dsp", F_OK) = -1 ENOENT (No such file or directory) access("/dev/dsp0", F_OK) = -1 ENOENT (No such file or directory) open("/dev/dsp", O_WRONLY) = -1 EBUSY (Device or resource busy) stat("music.raw", 0x7fff5b8c6bd0) = -1 ENOENT (No such file or directory) open("music.raw", O_RDWR|O_CREAT|O_TRUNC, 0600) = 16 I'm using KDE so artsd has the alsa sound devices open already: [root@shark ~]# lsof -c artsd | grep /dev artsd 18024 jburgess mem CHR 116,8 8023 /dev/snd/pcmC0D0p artsd 18024 jburgess 0r CHR 1,3 1883 /dev/null artsd 18024 jburgess 9r CHR 116,2 6927 /dev/snd/timer artsd 18024 jburgess 10u CHR 116,8 8023 /dev/snd/pcmC0D0p Looking at the documented driver support in MikMod suggests that it doesn't support artsd (but does support alsa, oss etc). If I kill artsd then the sound in gweled works and no music.raw file is created.
No answer from upstream; I applied to patches from debian to the devel and FC-6 branch and requested a build.