Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HoRzh-0003JF-7L for mharc-grub-devel@gnu.org; Wed, 16 May 2007 18:29:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HoRzf-0003J2-P2 for grub-devel@gnu.org; Wed, 16 May 2007 18:29:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HoRzc-0003Iq-6A for grub-devel@gnu.org; Wed, 16 May 2007 18:29:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HoRzc-0003In-1J for grub-devel@gnu.org; Wed, 16 May 2007 18:29:12 -0400 Received: from neonescio.viaisn.org ([82.94.249.43]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HoRrZ-0006I2-Kw for grub-devel@gnu.org; Wed, 16 May 2007 18:20:53 -0400 Received: from dijkstra.dekkers.cx ([2001:960:7a0:0:213:d4ff:fe9c:2487] ident=Debian-exim) by neonescio.viaisn.org with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32 CV=0) (Exim 4.63 #1) id 1HoRrX-000858-U5; Thu, 17 May 2007 00:20:52 +0200 Received: from localhost ([127.0.0.1] helo=dijkstra.dekkers.cx ident=jeroen) by dijkstra.dekkers.cx with esmtp (Exim 4.63) (envelope-from ) id 1HoRrX-0006xE-40; Thu, 17 May 2007 00:20:51 +0200 Date: Thu, 17 May 2007 00:20:51 +0200 Message-ID: <87veeso1fg.wl@dekkers.cx> From: Jeroen Dekkers To: Florian Kriener In-Reply-To: <200705162238.25847.florian@kriener.org> References: <20070514090937.GA10895@aragorn> <20070516200101.GB30550@aragorn> <87wsz8o6le.wl@dekkers.cx> <200705162238.25847.florian@kriener.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.0.95 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-detected-kernel: Linux 2.6 (newer, 3) Cc: The development of GRUB 2 , 423409-forwarded@bugs.debian.org Subject: Re: double free() with grub-probe X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2007 22:29:16 -0000 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