Bug 227984 - gweled creates enormous music.raw file
gweled creates enormous music.raw file
Product: Fedora
Classification: Fedora
Component: gweled (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Thorsten Leemhuis
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-02-09 06:06 EST by Jon Burgess
Modified: 2008-08-02 19:40 EDT (History)
0 users

See Also:
Fixed In Version: gweled-0.7-7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-24 07:48:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jon Burgess 2007-02-09 06:06:22 EST
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):

How reproducible:
every time

Steps to Reproduce:
1. run gweled
2. look at size of music.raw file in current directory
Actual results:
$ ls -l music.raw
-rw------- 1 jburgess jburgess 1744785408 Feb  9 00:35 music.raw

Expected results:
No file!

Additional info:


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
Comment 1 Thorsten Leemhuis 2007-02-09 14:06:05 EST
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.
Comment 2 Jon Burgess 2007-02-09 14:33:00 EST
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
artsd   18024 jburgess    0r   CHR                1,3               1883 /dev/null
artsd   18024 jburgess    9r   CHR              116,2               6927
artsd   18024 jburgess   10u   CHR              116,8               8023

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.
Comment 3 Thorsten Leemhuis 2007-02-24 07:48:07 EST
No answer from upstream; I applied to patches from debian to the devel and FC-6
branch and requested a build.

Note You need to log in before you can comment on or make changes to this bug.