Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Fabian Cenedese <Cenedese@indel.ch>
To: gdb@sources.redhat.com
Subject: Re: Stack "signal handler called"
Date: Mon, 04 Oct 2004 13:12:00 -0000	[thread overview]
Message-ID: <5.2.0.9.1.20041004092344.01ced058@NT_SERVER> (raw)
In-Reply-To: <20041003184230.GB10453@nevyn.them.org>


>> 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 <signal handler called>. 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...)

There are some possibilities for errors on our side. The callstack could
be made up wrong in case of a trap, and our debugger could also read
and interpret wrong data. But it usually works fine. As it didn't work
in this case I tried if gdb could perform better. As it didn't get further
either I'll assume for now that there really was an error in the call stack.
More investigations didn't reveal anything.

Thanks

bye  Fabi



      reply	other threads:[~2004-10-04  9:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30  9:47 Fabian Cenedese
2004-10-03 18:44 ` Daniel Jacobowitz
2004-10-04 13:12   ` Fabian Cenedese [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.2.0.9.1.20041004092344.01ced058@NT_SERVER \
    --to=cenedese@indel.ch \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox