[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1335112621.20322.8.camel@home>
Date: Sun, 22 Apr 2012 22:37:01 +0600
From: "Alexander E. Patrakov" <patrakov@...il.com>
To: linux-kernel@...r.kernel.org
Cc: alsa-devel@...a-project.org
Subject: kmemleak findings about USB audio recording on 3.3.2
On my home computer with linux-3.3.2, kmemleak found a lot of copies of
this (not only from pulseaudio, but also from wine):
unreferenced object 0xffff88021afaed40 (size 16):
comm "pulseaudio", pid 839, jiffies 4294711382 (age 31392.844s)
hex dump (first 16 bytes):
80 3e 00 00 c0 5d 00 00 00 7d 00 00 02 00 00 00 .>...]...}......
backtrace:
[<ffffffff811620d7>] create_object+0x127/0x2b0
[<ffffffff81636d81>] kmemleak_alloc+0x21/0x50
[<ffffffff81157bc3>] __kmalloc+0x103/0x1e0
[<ffffffffa02f650b>] snd_usb_pcm_open+0x3bb/0x4c0 [snd_usb_audio]
[<ffffffffa02f661e>] snd_usb_capture_open+0xe/0x10 [snd_usb_audio]
[<ffffffffa014e5de>] snd_pcm_open_substream+0x4e/0x90 [snd_pcm]
[<ffffffffa014e752>] snd_pcm_open+0x132/0x300 [snd_pcm]
[<ffffffffa014e965>] snd_pcm_capture_open+0x45/0x50 [snd_pcm]
[<ffffffffa0088679>] snd_open+0x159/0x3b0 [snd]
[<ffffffff81169627>] chrdev_open+0x127/0x280
[<ffffffff81162f5c>] __dentry_open+0x28c/0x3f0
[<ffffffff81164001>] nameidata_to_filp+0x71/0x80
[<ffffffff81174328>] do_last+0xd8/0x930
[<ffffffff81174c94>] path_openat+0xd4/0x440
[<ffffffff81175114>] do_filp_open+0x44/0xa0
[<ffffffff8116410d>] do_sys_open+0xfd/0x1d0
The audio device is a microphone that is a part of my Logitech C910
webcam.
lsmod here:
$ lsmod
Module Size Used by
nls_utf8 1325 0
nls_cp437 6239 0
vfat 10420 0
fat 53160 1 vfat
fuse 70926 3
saa7134_alsa 11876 1
saa7134_dvb 21412 0
qt1010 5662 1 saa7134_dvb
zl10039 4104 1 saa7134_dvb
tda1004x 16866 1 saa7134_dvb
zl10353 7638 1 saa7134_dvb
mt312 7833 1 saa7134_dvb
isl6405 1669 1 saa7134_dvb
isl6421 1573 1 saa7134_dvb
nxt200x 13796 1 saa7134_dvb
mb86a20s 7533 1 saa7134_dvb
lgdt3305 15185 1 saa7134_dvb
tda10048 12290 1 saa7134_dvb
videobuf_dvb 5956 1 saa7134_dvb
dvb_core 105599 2 videobuf_dvb,lgdt3305
dvb_pll 10915 1 saa7134_dvb
tda10086 10357 1 saa7134_dvb
zl10036 5109 1 saa7134_dvb
mt352 6659 1 saa7134_dvb
tda826x 2837 1 saa7134_dvb
lgs8gxx 12605 1 saa7134_dvb
lnbp21 2122 1 saa7134_dvb
ir_kbd_i2c 5702 0
tuner 15379 1
xc4000 20520 1 tuner
tea5761 4436 1 tuner
mt20xx 11748 1 tuner
tuner_simple 14494 2 tuner,saa7134_dvb
tuner_types 18910 1 tuner_simple
tda9887 10082 1 tuner
xc5000 13845 2 tuner,saa7134_dvb
ir_lirc_codec 4207 0
lirc_dev 11682 1 ir_lirc_codec
tuner_xc2028 20474 2 tuner,saa7134_dvb
ir_mce_kbd_decoder 3359 0
tda8290 13845 2 tuner,saa7134_dvb
tda827x 10023 2 tda8290,saa7134_dvb
snd_hda_codec_idt 63229 1
ir_sanyo_decoder 1697 0
tda18271 37682 3 tda8290,tuner,saa7134_dvb
tea5767 6030 1 tuner
saa7134 176641 2 saa7134_dvb,saa7134_alsa
tveeprom 14313 1 saa7134
videobuf_dma_sg 9510 3 saa7134,saa7134_dvb,saa7134_alsa
uvcvideo 67542 0
videobuf_core 19849 3 videobuf_dma_sg,saa7134,videobuf_dvb
videobuf2_vmalloc 2332 1 uvcvideo
videobuf2_memops 2606 1 videobuf2_vmalloc
ir_sony_decoder 1630 0
videobuf2_core 21814 1 uvcvideo
v4l2_common 9450 2 saa7134,tuner
snd_hda_intel 26025 3
ir_jvc_decoder 1723 0
arc4 1393 2
ir_rc6_decoder 2139 0
snd_usb_audio 113095 1
snd_usbmidi_lib 20104 1 snd_usb_audio
snd_rawmidi 22506 1 snd_usbmidi_lib
snd_hda_codec 111371 2 snd_hda_intel,snd_hda_codec_idt
videodev 100441 4 v4l2_common,uvcvideo,saa7134,tuner
snd_seq_device 6486 1 snd_rawmidi
zd1211rw 54861 0
mac80211 407545 1 zd1211rw
ir_rc5_decoder 1659 0
snd_pcsp 8778 0
snd_hwdep 6556 2 snd_hda_codec,snd_usb_audio
cfg80211 192043 2 mac80211,zd1211rw
snd_pcm 85514 5
snd_pcsp,snd_hda_codec,snd_usb_audio,snd_hda_intel,saa7134_alsa
snd_page_alloc 8388 2 snd_pcm,snd_hda_intel
ir_nec_decoder 1883 0
v4l2_compat_ioctl32 8780 1 videodev
snd_timer 21551 1 snd_pcm
i2c_i801 8578 0
ppdev 6270 0
rc_core 17483 10
ir_nec_decoder,ir_rc5_decoder,ir_rc6_decoder,ir_jvc_decoder,ir_sony_decoder,saa7134,ir_sanyo_decoder,ir_mce_kbd_decoder,ir_lirc_codec,ir_kbd_i2c
media 13480 2 videodev,uvcvideo
rfkill 19056 1 cfg80211
iTCO_wdt 13872 0
iTCO_vendor_support 2878 1 iTCO_wdt
mei 31994 0
e1000e 146241 0
snd 71425 22
snd_timer,snd_pcm,snd_hwdep,snd_pcsp,snd_seq_device,snd_hda_codec,snd_rawmidi,snd_usbmidi_lib,snd_usb_audio,snd_hda_intel,snd_hda_codec_idt,saa7134_alsa
usb_storage 49615 0
parport_pc 32063 0
parport 35575 2 parport_pc,ppdev
ata_generic 3723 0
pata_acpi 3555 0
firewire_ohci 32122 0
firewire_core 58296 1 firewire_ohci
pata_marvell 3305 0
uhci_hcd 23328 0
ehci_hcd 40261 0
usbcore 173141 8
ehci_hcd,uhci_hcd,usb_storage,zd1211rw,snd_usbmidi_lib,snd_usb_audio,uvcvideo
usb_common 1093 1 usbcore
dm_mod 77752 12
lsusb -vv output and kernel config attached (it is a 64-bit kernel with
32-bit userspace).
--
Alexander E. Patrakov
View attachment "lsusb-vv.txt" of type "text/plain" (102986 bytes)
View attachment "config-3.3.2" of type "text/x-mpsub" (114479 bytes)
Powered by blists - more mailing lists