Skip to contentSkip to conversation

memory leaks

DISCUSSION Lee Revell 2 participants 3 messages Jul 6, 2005

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

WHen reloading ALSA modules I got this message:

ALSA sound/core/memory.c:71: Not freed snd_alloc_kmalloc = 1728 ALSA sound/core/memory.c:80: kmalloc(164) from dc8506f9 not freed ALSA sound/core/memory.c:80: kmalloc(268) from dc850606 not freed ALSA sound/core/memory.c:80: kmalloc(164) from dc8506f9 not freed ALSA sound/core/memory.c:80: kmalloc(268) from dc850606 not freed ALSA sound/core/memory.c:80: kmalloc(164) from dc8506f9 not freed ALSA sound/core/memory.c:80: kmalloc(268) from dc850606 not freed ALSA sound/core/memory.c:80: kmalloc(164) from dc8506f9 not freed ALSA sound/core/memory.c:80: kmalloc(268) from dc850606 not freed

These are the closest symbols:

dc850590 t snd_hwdep_ioctl [snd_hwdep]
dc850630 t snd_hwdep_mmap [snd_hwdep]
dc850660 t snd_hwdep_control_ioctl [snd_hwdep]

AFAICT this means the leaks are in snd_hwdep_ioctl and control_ioctl.

Lee

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#1 lore raw
Quoted 11 lines · Lee Revell

WHen reloading ALSA modules I got this message:
ALSA sound/core/memory.c:80: kmalloc(164) from dc8506f9 not freed ALSA sound/core/memory.c:80: kmalloc(268) from dc850606 not freed

These are the closest symbols:

dc850590 t snd_hwdep_ioctl [snd_hwdep]
dc850630 t snd_hwdep_mmap [snd_hwdep]
dc850660 t snd_hwdep_control_ioctl [snd_hwdep]

AFAICT this means the leaks are in snd_hwdep_ioctl and control_ioctl.

These functions don't directly allocate memory, the leak is probably in some driver function. What hwdep device is this?

HTH
Clemens

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

author
#2 lore raw
Quoted 7 lines · Clemens Ladisch
Quoted 6 lines · Lee Revell

WHen reloading ALSA modules I got this message:
ALSA sound/core/memory.c:80: kmalloc(164) from dc8506f9 not freed ALSA sound/core/memory.c:80: kmalloc(268) from dc850606 not freed

These are the closest symbols:

Quoted 8 lines
Quoted 5 lines

dc850590 t snd_hwdep_ioctl [snd_hwdep]
dc850630 t snd_hwdep_mmap [snd_hwdep]
dc850660 t snd_hwdep_control_ioctl [snd_hwdep]

AFAICT this means the leaks are in snd_hwdep_ioctl and control_ioctl.

These functions don't directly allocate memory, the leak is probably in some driver function. What hwdep device is this?

snd_emu10k1_synth I think.

Lee

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click