From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17966 invoked by alias); 5 Jan 2007 00:58:51 -0000 Received: (qmail 17957 invoked by uid 22791); 5 Jan 2007 00:58:50 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 05 Jan 2007 00:58:46 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H2dPw-0001Ny-6L; Thu, 04 Jan 2007 19:58:44 -0500 Date: Fri, 05 Jan 2007 00:58:00 -0000 From: Daniel Jacobowitz To: jf Cc: gdb@sourceware.org Subject: Re: signals in a multithreaded application Message-ID: <20070105005844.GA5296@nevyn.them.org> Mail-Followup-To: jf , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00086.txt.bz2 On Fri, Jan 05, 2007 at 08:35:03AM +0000, jf wrote: > And the program continues running fine (minus of course the heap > corruption). Has anyone encountered this before? I changed the settings in > GDB telling it to not pass the exception to the application thinking that > the terminal was just messing up or similar and it just happened at the > same time GDB decided to switch threads (is that GDB changing threads or > the OS??), but I found that the signal is never delivered. It's GDB switching threads. But no, I've never seen anything like this. -- Daniel Jacobowitz CodeSourcery