Re: [PATCH] sched, cgroup: Use exit hook to avoid use-after-freecrash

From: Mike Galbraith
Date: Fri Dec 31 2010 - 05:05:12 EST


On Thu, 2010-12-30 at 00:07 +0100, Miklos Vajna wrote:
> On Wed, Dec 29, 2010 at 04:25:22PM +0100, Ingo Molnar <mingo@xxxxxxx> wrote:
> > I tried this patch, but it causes a boot crash:
>
> Hm, indeed. (I get a crash in qemu, but not on the host machine.)
>
> qemu -enable-kvm -kernel kernel-build/arch/x86/boot/bzImage -append "root=/dev/sda1 debug sched_debug ignore_loglevel sysrq_always_enabled console=ttyS0 init=/bin/systemd" -hda systemd.img -serial stdio -m 1G -vnc :0
>
> does not crash here, but
>
> qemu -enable-kvm -kernel kernel-build/arch/x86/boot/bzImage -append "root=/dev/sda1 debug sched_debug ignore_loglevel sysrq_always_enabled console=ttyS0" -hda systemd.img -serial stdio -m 1G -vnc :0
>
> does.
>
> I'm attaching the config (what I already sent earlier in this thread)
> and the output of the above two commands just in case that helps Peter.

Your crash seems to be completely independent of Peter's patch. It
crashes here with your image/config/2.6.36 here regardless, and not 100%
repeatably. Sometimes it boots, sometimes not.

-Mike


--
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/