Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <Michael.Snyder@access-company.com>
To: Vadim Shmelev <vadim.shmelev@acronis.com>
Cc: gdb@sourceware.org
Subject: RE: GDB receives SIGKILL
Date: Tue, 03 Apr 2007 19:47:00 -0000	[thread overview]
Message-ID: <1175629645.11945.11.camel@svmsnyderlnx.palmsource.com> (raw)
In-Reply-To: <200704030712.l337CrhN031558@imap.acronis.ru>

On Tue, 2007-04-03 at 11:15 +0400, Vadim Shmelev wrote:
> Thanks for comments, Michael. Below I try to comment your comments.
> 
> > 
> > (gdb) handle SIG32 nostop noprint
> > Signal        Stop      Print   Pass to program Description
> > SIG32         No        No      Yes             Real-time event 32
> > (gdb) handle SIG33 nostop noprint
> > Signal        Stop      Print   Pass to program Description
> > SIG33         No        No      Yes             Real-time event 33
> 
> Why did you do the above?  Those signals are part of 
> linuxthreads handling and debugging.  There should be 
> no need to silence them -- if there is, it could be a 
> sign of something wrong.
> 
> -COMMENT-------------------------------------------------------------
> If I enable SIG32 and SIG33 gdb will be stopped at every thread switch.
> -END COMMENT---------------------------------------------------------

Well, this indicates that something is wrong right there.
There is some mis-match between gdb, the target, and the  
target thread libraries.

I see that you have a modern gcc (4.1.1), but an older glibc (2.3.5)
and a fairly old gdb (6.3 something, circa 2004).  Are you on an older
Red Hat distribution, and have you perhaps added a newer gcc to it?

Are you sure that your glibc is configured for old-style linux 
threads, and not NPTL threads?

Have all of your glibc components (including libpthread and 
libthread_db) been configured and built together?  Or have
some of them been changed?



What about the possibility of linking most of your libraries
statically, but linking libpthread and/or libthread_db
dynamically?



  parent reply	other threads:[~2007-04-03 19:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02  7:54 Vadim Shmelev
2007-04-02 10:01 ` Baurzhan Ismagulov
2007-04-02 13:44   ` Vadim Shmelev
2007-04-02 17:54     ` Michael Snyder
2007-04-03  7:13       ` Vadim Shmelev
2007-04-03 14:37         ` Daniel Jacobowitz
2007-04-03 19:47         ` Michael Snyder [this message]
2007-04-04 12:47           ` Vadim Shmelev
2007-04-04 18:20             ` Michael Snyder

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=1175629645.11945.11.camel@svmsnyderlnx.palmsource.com \
    --to=michael.snyder@access-company.com \
    --cc=gdb@sourceware.org \
    --cc=vadim.shmelev@acronis.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