public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: "Domen Stangar" <domen.stangar@gmail.com>
To: libc-help@sourceware.org
Subject: nptl_db 2.33 td_ta_thr_iter question
Date: Sat, 20 Feb 2021 14:39:39 +0000	[thread overview]
Message-ID: <em3051d5bb-b5ac-42f2-9d5d-636bce5d19ba@domen-5950x> (raw)

Recently slackware updated libc from 2.22 to 2.23 and noticed that when 
attaching with gdb to working process, there are some notifications,
also there were some changes between 2.22 and 2.23 version in nptl_db.

Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib64/libthread_db.so.1.
Running libthread_db integrity checks:
warning: libthread_db integrity checks failed: td_ta_thr_iter failed: 
generic error
Trying host libthread_db library: /lib64/libthread_db.so.1.
Running libthread_db integrity checks:
warning: libthread_db integrity checks failed: td_ta_thr_iter failed: 
generic error
thread_db_load_search returning 0
warning: Unable to find libthread_db matching inferior's thread library, 
thread debugging will not be available.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib64/libthread_db.so.1.
Running libthread_db integrity checks:
   Got thread 0x7f2c184b5740 => 14613 => 0x7f2c184b5740 ... OK
   Got thread 0x7f2c184b4640 => 14614 => 0x7f2c184b4640 ... OK
libthread_db integrity checks passed.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
thread_db_load_search returning 1

I guess td_ta_thr_iter failed to return TD_OK, third time returned ok.
Anyone else noticed this ?

gdb is 10.1, used this commands to be more verbose gdb.
set debug libthread-db 1
maint set check-libthread-db 1

Might there be any test case for td_ta_thr_iter other than gdb ?

Thank you,
Domen


                 reply	other threads:[~2021-02-20 14:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=em3051d5bb-b5ac-42f2-9d5d-636bce5d19ba@domen-5950x \
    --to=domen.stangar@gmail.com \
    --cc=libc-help@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).