public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Thompson <daniel.thompson@linaro.org>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: Ajay Garg <ajaygargnsit@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Jason Wessel <jason.wessel@windriver.com>,
	Douglas Anderson <dianders@chromium.org>,
	kgdb-bugreport-request@lists.sourceforge.net
Subject: Re: How to resolve "nptl-signals.h : no such file or directory"
Date: Sat, 11 Mar 2023 17:36:46 +0000	[thread overview]
Message-ID: <20230311173646.GA4559@aspen.lan> (raw)
In-Reply-To: <b6530d49-074d-ee68-ed87-57c9d60d4847@infradead.org>

On Sat, Mar 11, 2023 at 08:52:53AM -0800, Randy Dunlap wrote:
> +add some kernel gdb people + list

This looks like a userspace backtrace to me, so rather off-topic for
LKML but since I've read it already...


> On 3/11/23 08:00, Ajay Garg wrote:
> > Hi All.
> >
> > (Sorry had to write to this list, as the subscription to
> > gdb@sourcewave.org seemingly went successful, but never got the
>
> Is that  @sourceware.org ?
>
> > confirmation email. Even sending emails get bounced).
> >
> >
> > I have been trying to analyze a core, but unable to receive the
> > complete backtrace due to following error :
> >
> > #######################################
> > #0  0x0088ad6c in __libc_signal_restore_set (set=0xf48f2a78) at
> > ../sysdeps/unix/sysv/linux/nptl-signals.h:79
> > 79 ../sysdeps/unix/sysv/linux/nptl-signals.h: No such file or directory.
> > #######################################

This is not why you are getting an incomplete backtrace!


> > Following is the (incomplete) backtrace :
> >
> > #######################################
> > [Current thread is 1 (LWP 7491)]
> > (gdb) bt
> > #0  0x0088ad6c in __libc_signal_restore_set (set=0xf48f2a78) at
> > ../sysdeps/unix/sysv/linux/nptl-signals.h:79
> > #1  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:48
> > #2  0x0088cb78 in __GI_abort () at abort.c:89

Frames 0-2 tell use your program called abort() (e.g. you got a core
dump because whatever you were running *asked* for a core dump to be
made)..

> > #3  <frame with modified names> 0x049b3a54 in func_1 (ffp=<optimized
> > out>, base_name=<optimized out>, max_size=<optimized out>,
> > file_type=<optimized out>)  at a/b/c/d/e:58

Not sure if this is good or bad but...

> > #4  0x00000270 in ?? ()

... based on the address here I'd say that this stack from is for a
function provided by your application... and you forgot to compile the
application with debug information!


Daniel.

      reply	other threads:[~2023-03-11 17:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-11 16:00 How to resolve "nptl-signals.h : no such file or directory" Ajay Garg
2023-03-11 16:52 ` Randy Dunlap
2023-03-11 17:36   ` Daniel Thompson [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=20230311173646.GA4559@aspen.lan \
    --to=daniel.thompson@linaro.org \
    --cc=ajaygargnsit@gmail.com \
    --cc=dianders@chromium.org \
    --cc=jason.wessel@windriver.com \
    --cc=kgdb-bugreport-request@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    /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