Re: BUG: warning at kernel/lockdep.c:2427/check_flags()

From: Paolo Ornati
Date: Thu Jun 08 2006 - 16:00:32 EST


On Thu, 8 Jun 2006 21:38:09 +0200
Paolo Ornati <ornati@xxxxxxxxxxxxx> wrote:

> After some hours running 2.6.17-rc6-mm1 + combo-patch I've got this:
>
> [12138.880686] BUG: warning at kernel/lockdep.c:2427/check_flags()
> [12138.880692]
> [12138.880693] Call Trace:
> [12138.880702] [<ffffffff80240374>] check_flags+0x86/0x201
> [12138.880707] [<ffffffff80240873>] lock_acquire+0x2f/0xa3
> [12138.880713] [<ffffffff8025fcae>] sys_munmap+0x5e/0xa7
> [12138.880719] [<ffffffff8020944e>] system_call+0x7e/0x83
> [12138.880723]
> [12138.880725] irq event stamp: 18146
> [12138.880728] hardirqs last enabled at (18145): [<ffffffff8049dffc>] _spin_unlock_irq+0x28/0x50
> [12138.880734] hardirqs last disabled at (18146): [<ffffffff8049d61e>] trace_hardirqs_off_thunk+0x35/0x67
> [12138.880742] softirqs last enabled at (18112): [<ffffffff8022c1ae>] __do_softirq+0xb2/0xba
> [12138.880748] softirqs last disabled at (18105): [<ffffffff8020a2c2>] call_softirq+0x1e/0x28
>
>
> I don't know if/how it is reproducible.

Wow, now I can reproduce it easly :)

Just run under "gdb" a program that segfaults:

void main(void)
{
*(int*)(0) = 1;
}

and it will trigger.

--
Paolo Ornati
Linux 2.6.17-rc6-mm1-lockdep on x86_64
-
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/