From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7539 invoked by alias); 17 Mar 2005 18:09:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 7148 invoked from network); 17 Mar 2005 18:09:05 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 17 Mar 2005 18:09:05 -0000 Received: from drow by nevyn.them.org with local (Exim 4.44 #1 (Debian)) id 1DBzQb-0002PH-9b; Thu, 17 Mar 2005 13:09:01 -0500 Date: Thu, 17 Mar 2005 18:09:00 -0000 From: Daniel Jacobowitz To: David Lecomber Cc: gdb Subject: Re: LD_PRELOAD, SIGTRAP and step/next Message-ID: <20050317180901.GA9215@nevyn.them.org> Mail-Followup-To: David Lecomber , gdb References: <1111063455.8222.23.camel@delmo.priv.wark.uk.streamline-computing.com> <20050317141231.GA27192@nevyn.them.org> <1111068922.8222.34.camel@delmo.priv.wark.uk.streamline-computing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1111068922.8222.34.camel@delmo.priv.wark.uk.streamline-computing.com> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00169.txt.bz2 On Thu, Mar 17, 2005 at 02:15:22PM +0000, David Lecomber wrote: > On Thu, 2005-03-17 at 09:12 -0500, Daniel Jacobowitz wrote: > > On Thu, Mar 17, 2005 at 12:44:15PM +0000, David Lecomber wrote: > > > Dear all, > > > > > > I am debugging using a memory checking library -- dmalloc -- this does > > > the usual things via an LD_PRELOAD over the malloc. I am getting > > > SIGTRAP when trying to call a function in this library -- but only after > > > a step or a next; after a user-defined breakpoint behaviour is correct! > > > > Kernel version? This sounds like a Linux kernel bug that has since > > been fixed... > > 2.6.10-1.770_FC3smp > > so pretty recent! That's the one. Try an even more recent kernel. (The bug wasn't very long lived; it was introduced and fixed between 2.6.10 and 2.6.11. I'm getting the feeling that FC3 picked it up however.) -- Daniel Jacobowitz CodeSourcery, LLC