Re: [PATCH 2/3] inotify: do not BUG on idr entries at inotify destruction

From: Mikko C.
Date: Tue Aug 25 2009 - 13:17:58 EST


on 25/08/2009 18:43 Linus Torvalds wrote:

On Tue, 25 Aug 2009, Mikko C. wrote:

I just got this with -rc7, but it doesn't look related to what I was having
before:

BUG: Bad page map in process kio_thumbnail pte:ffff88006cc99128 pmd:6d3b1067
addr:00007f9d4e3a5000 vm_flags:08000070 anon_vma:(null)
mapping:ffff88007abe21a0 index:200
vma->vm_ops->fault: filemap_fault+0x0/0x460
vma->vm_file->f_op->mmap: ext4_file_mmap+0x0/0x80
Pid: 28022, comm: kio_thumbnail Not tainted 2.6.31-rc7 #1
Call Trace:
[<ffffffff810afaf4>] ? print_bad_pte+0x1d4/0x2c0
[<ffffffff810afc79>] ? vm_normal_page+0x99/0xa0
[<ffffffff810b0c7d>] ? unmap_vmas+0x4cd/0x970
[<ffffffff810b6c74>] ? exit_mmap+0x104/0x1d0
[<ffffffff81043e0d>] ? mmput+0x4d/0x100
[<ffffffff81048d81>] ? exit_mm+0x101/0x150
[<ffffffff8104b240>] ? do_exit+0x6c0/0x750
[<ffffffff8104b326>] ? do_group_exit+0x56/0xd0
[<ffffffff8104b3c2>] ? sys_exit_group+0x22/0x40
[<ffffffff8100b7eb>] ? system_call_fastpath+0x16/0x1b
Disabling lock debugging due to kernel taint

No lockups or anything.

That looks like a memory corruption bug. Your page table entry is bad:
pte:ffff88006cc99128.


Now that you mention it, I remember having a couple segfaults with a program I was testing earlier so I guess that could have screwed with memory... I'd say it's safe to ignore it unless I get another one. Meanwhile still no notify bug with -rc7 :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/