Memory leak in soundcard.c ?

forcer (forcer@mindless.com)
Thu, 20 Aug 1998 01:03:56 +0200


Hi there.. i recently noticed an error with my sound...
After some days of playing sound, i get the following error:

kernel: Sound error: Couldn't allocate DMA buffer

i located it in line 677 of drivers/sound/soundcard.c ... and the surrounding
code looks like it's out of memory, so i think that could be a memory leak
(i'm not a kernel hacker, just guessing;)
The error from /dev/dsp is ENOMEN (0x0C) "Out of memory"
This error happened now after 3 days of uptime, so it's rather time-consuming
to reproduce. But if i can do anything i'm more than willing to help :)

Ok, my config:

Linux version 2.0.36 (root@preforcix) (gcc version 2.7.2.3) #2
(2.0.36pre5)

ioports:
0220-022f : sound blaster

interrupts:
5: 4162076 sound blaster

dma:
1: Sound Blaster8
5: Sound Blaster16

Ok, have fun debugging ;)
-forcer

P.S. i might have problems with this email adress again. if email bounces i can
also be reached at forcer@junior-net.de

-- 
/* Computer programmers never die, they just get lost in the processing.  */
/* email: forcer@mindless.com      -><- www: http://webserver.de/forcer/  */
/* IRC: forcer@#StarWars (IRCnet)  -><- PGP/GPG: available on my website  */

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html