Bug#572310: gamin: Possible memory leak

Jim Barber jimb at ddihealth.com
Wed Mar 3 06:40:17 UTC 2010


Package: gamin
Version: 0.1.10-2+b1
Severity: normal


I am seeing the following errors many times a day in my logs.

Mar  3 13:09:46 mail kernel: [67796.754558] WARNING: at /tmp/buildd/linux-2.6-2.6.32/debian/build/source_i386_none/fs/notify/inotify/inotify_fsnotify.c:129 idr_callback+0x2a/0x4b()
Mar  3 13:09:46 mail kernel: [67796.754561] Hardware name: VMware Virtual Platform
Mar  3 13:09:46 mail kernel: [67796.754563] inotify closing but id=0 for entry=dd237b80 in group=f22f8b00 still in idr.  Probably leaking memory
Mar  3 13:09:46 mail kernel: [67796.754565] Modules linked in: iptable_filter ip_tables x_tables vmsync vmmemctl vmhgfs loop ide_cd_mod cdrom ata_generic libata ide_pci_generic snd_pcm snd_timer snd soundcore snd_page_alloc parport_pc floppy serio_raw parport evdev pcspkr i2c_piix4 intel_agp vmci psmouse shpchp ac piix container vmxnet3 i2c_core processor pci_hotplug agpgart ide_core button ext3 jbd mbcache sd_mod crc_t10dif thermal fan thermal_sys mptspi mptscsih mptbase scsi_transport_spi scsi_mod
Mar  3 13:09:46 mail kernel: [67796.754644] Pid: 2759, comm: gam_server Tainted: G        W  2.6.32-trunk-686 #1
Mar  3 13:09:46 mail kernel: [67796.754646] Call Trace:
Mar  3 13:09:46 mail kernel: [67796.754652]  [<c1030ba1>] ? warn_slowpath_common+0x5e/0x8a
Mar  3 13:09:46 mail kernel: [67796.754655]  [<c1030bff>] ? warn_slowpath_fmt+0x26/0x2a
Mar  3 13:09:46 mail kernel: [67796.754657]  [<c10d6048>] ? idr_callback+0x2a/0x4b
Mar  3 13:09:46 mail kernel: [67796.754662]  [<c112ed09>] ? idr_for_each+0x5a/0x91
Mar  3 13:09:46 mail kernel: [67796.754664]  [<c10d601e>] ? idr_callback+0x0/0x4b
Mar  3 13:09:46 mail kernel: [67796.754667]  [<c10d600f>] ? inotify_free_group_priv+0x12/0x21
Mar  3 13:09:46 mail kernel: [67796.754669]  [<c10d48b9>] ? fsnotify_final_destroy_group+0x16/0x1e
Mar  3 13:09:46 mail kernel: [67796.754671]  [<c10d6184>] ? inotify_release+0x16/0x22
Mar  3 13:09:46 mail kernel: [67796.754674]  [<c10b2b73>] ? __fput+0xd5/0x170
Mar  3 13:09:46 mail kernel: [67796.754677]  [<c10b0274>] ? filp_close+0x4e/0x54
Mar  3 13:09:46 mail kernel: [67796.754680]  [<c1032324>] ? put_files_struct+0x60/0xa6
Mar  3 13:09:46 mail kernel: [67796.754682]  [<c103397f>] ? do_exit+0x1d4/0x5c6
Mar  3 13:09:46 mail kernel: [67796.754686]  [<c101c488>] ? do_page_fault+0x271/0x287
Mar  3 13:09:46 mail kernel: [67796.754696]  [<c1033dd0>] ? do_group_exit+0x5f/0x82
Mar  3 13:09:46 mail kernel: [67796.754699]  [<c1033e04>] ? sys_exit_group+0x11/0x14
Mar  3 13:09:46 mail kernel: [67796.754702]  [<c10030fb>] ? sysenter_do_call+0x12/0x28
Mar  3 13:09:46 mail kernel: [67796.754705] ---[ end trace 350063aef129cabe ]---
Mar  3 13:09:46 mail kernel: [67796.754707] entry->group=(null) inode=(null) wd=1024

They seem to indicate a problem with gamin and its interaction with inotify and reports "Probably leaking memory".
The process referred to is gam_server.

The version of the Linux kernel installed is: linux-image-2.6.32-trunk-686 2.6.32-5

The Linux instance is running on VMware VSphere 4 and is using open-vm-tools.
It is an email server using the courier-imap-ssl daemon which makes use of FAM/GAMIN.

Regards,

----------
Jim Barber
DDI Health


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages gamin depends on:
ii  libc6                        2.10.2-6    Embedded GNU C Library: Shared lib
ii  libgamin0                    0.1.10-2+b1 Client library for the gamin file 
ii  libglib2.0-0                 2.22.4-1    The GLib library of C routines

gamin recommends no packages.

gamin suggests no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list