Re: [PATCH 2.6.18-rc4 00/10] Kernel memory leak detector 0.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/08/06, Catalin Marinas <[email protected]> wrote:
On 18/08/06, Michal Piotrowski <[email protected]> wrote:
> cat /sys/kernel/debug/memleak + LTP + patching repo = oops?
>
> BUG: unable to handle kernel paging request at virtual address 6b6b6b6b

I got this as well today on an 4-CPU ARM platform. I changed some list
traversal to the RCU variants but forgot to change the list_del/add. I
attach another patch which fixes this (haven't tested it extensively
yet).

Thanks.

I just added your "Fix memory leak in vc_resize/vc_allocate" patch to
my series file.

orphan pointer 0xc6110000 (size 12288):
 c017480e: <__kmalloc>
 c024dda4: <vc_resize>
 c020ed9c: <fbcon_startup>
 c0251028: <register_con_driver>
 c02511e0: <take_over_console>
 c020e21e: <fbcon_takeover>
 c0212b08: <fbcon_fb_registered>
 c0212ce1: <fbcon_event_notify>
orphan pointer 0xf55b0000 (size 8208):
 c017480e: <__kmalloc>
 c0211bb8: <fbcon_set_font>
 c0251b17: <con_font_set>
 c0251c7b: <con_font_op>
 c0249a97: <vt_ioctl>
 c024432e: <tty_ioctl>
 c0189fd1: <do_ioctl>
 c018a269: <vfs_ioctl>

This is interesting. Is it too large?
orphan pointer 0xfe09f000 (size 4194304):
 c016cb9c: <__vmalloc_node>
 c016cbb2: <__vmalloc>
 c016cbc7: <vmalloc>
 fdd3bbe1: <txInit>
 fdd23b73: <init_jfs_fs>
 c0149fea: <sys_init_module>

A simple way to reproduce:

while true
do
sudo mount -o loop -t jfs /home/fs-farm/jfs.img /mnt/fs-farm/jfs/
sudo umount /mnt/fs-farm/jfs/
done

A large collection of false positives :)
http://www.stardust.webpages.pl/files/o_bugs/kmemleak-0.9/ml_collection/ml1.tar


Thanks.

--
Catalin




Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux