[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: double free() with grub-probe
From: |
Jeroen Dekkers |
Subject: |
Re: double free() with grub-probe |
Date: |
Thu, 17 May 2007 00:20:51 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.7 Emacs/22.0.95 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI) |
At Wed, 16 May 2007 22:38:25 +0200,
Florian Kriener wrote:
>
> On Wednesday 16 May 2007 22:29:17 Jeroen Dekkers wrote:
> > At Wed, 16 May 2007 22:01:01 +0200,
> >
> > Robert Millan wrote:
> > > We got this bug report from Debian BTS. It seems to be related to LVM.
> > >
> > > The argc address in last line looks very suspicious; stack corruption?
> >
> > It's possible, but it can also be a compiler optimalisation that
> > confuses gdb.
>
> No, it's not that, I get that error with the standard debian package
> (grub-pc), with a self-compiled version (using debian sources), in gdb and
> (just tested it) even when compiled with empty CCFLAGS.
If it's stack corruption, I guess gcc's stack protection should detect
that. Can you try to recompile with -fstack-protector-all?
Jeroen Dekkers