From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32202 invoked by alias); 3 Oct 2004 18:42:32 -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 32195 invoked from network); 3 Oct 2004 18:42:31 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 3 Oct 2004 18:42:31 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CEBJW-0002jo-HU; Sun, 03 Oct 2004 14:42:30 -0400 Date: Sun, 03 Oct 2004 18:44:00 -0000 From: Daniel Jacobowitz To: Fabian Cenedese Cc: gdb@sources.redhat.com Subject: Re: Stack "signal handler called" Message-ID: <20041003184230.GB10453@nevyn.them.org> Mail-Followup-To: Fabian Cenedese , gdb@sources.redhat.com References: <5.2.0.9.1.20040930114255.01ce7bf0@NT_SERVER> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.1.20040930114255.01ce7bf0@NT_SERVER> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-10/txt/msg00033.txt.bz2 On Thu, Sep 30, 2004 at 11:45:46AM +0200, Fabian Cenedese wrote: > Hi > > I tried to examine a target where a thread had crashed. I issued bt > and got only one frame, somewhere in memcpy.c. For the second > frame gdb only printed . What does this mean? > I found the string in stack.c but I couldn't make out the meaning. > Does it mean that the call stack was destroyed? Some invalid > addresses in the call stack? It means that GDB thinks that a signal handler has been invoked, and that the frames above it are in the signal handler context. If that's incorrect, you've found a bug in GDB. (You mentioned threads. It may be that the application is placing thread stacks in such a way that GDB is confused...) -- Daniel Jacobowitz