public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gdb 10.1 with glibc 2.33 attach to process, td_ta_thr_iter fail
@ 2021-02-20 16:33 Domen Stangar
  2021-02-22  1:42 ` Simon Marchi
  0 siblings, 1 reply; 3+ messages in thread
From: Domen Stangar @ 2021-02-20 16:33 UTC (permalink / raw)
  To: gdb

Hi,
is anyone running glibc 2.33 and tried to attach to process that is 
running threads.
Recently slackware did update from glibc 2.32 to glibc 2.33 and there 
are messages that weren't before.
So glibc 2.32 had no such issues.
I also used this commands in gdb.
set debug libthread-db 1
maint set check-libthread-db 1
So when attaching to process that has threads, i get this.

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

Anyone else has this issues with glibc 2.33 ?

Thank you, Domen


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdb 10.1 with glibc 2.33 attach to process, td_ta_thr_iter fail
  2021-02-20 16:33 gdb 10.1 with glibc 2.33 attach to process, td_ta_thr_iter fail Domen Stangar
@ 2021-02-22  1:42 ` Simon Marchi
  2021-03-05 17:00   ` Simon Marchi
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Marchi @ 2021-02-22  1:42 UTC (permalink / raw)
  To: Domen Stangar, gdb



On 2021-02-20 11:33 a.m., Domen Stangar via Gdb wrote:
> Hi,
> is anyone running glibc 2.33 and tried to attach to process that is running threads.
> Recently slackware did update from glibc 2.32 to glibc 2.33 and there are messages that weren't before.
> So glibc 2.32 had no such issues.
> I also used this commands in gdb.
> set debug libthread-db 1
> maint set check-libthread-db 1
> So when attaching to process that has threads, i get this.
> 
> 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
> 
> Anyone else has this issues with glibc 2.33 ?
> 
> Thank you, Domen
> 

I see that on Arch Linux too, also glibc 2.33.  I have not look into it
yet.

Simon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdb 10.1 with glibc 2.33 attach to process, td_ta_thr_iter fail
  2021-02-22  1:42 ` Simon Marchi
@ 2021-03-05 17:00   ` Simon Marchi
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Marchi @ 2021-03-05 17:00 UTC (permalink / raw)
  To: Domen Stangar, gdb



On 2021-02-21 8:42 p.m., Simon Marchi via Gdb wrote:
> 
> 
> On 2021-02-20 11:33 a.m., Domen Stangar via Gdb wrote:
>> Hi,
>> is anyone running glibc 2.33 and tried to attach to process that is running threads.
>> Recently slackware did update from glibc 2.32 to glibc 2.33 and there are messages that weren't before.
>> So glibc 2.32 had no such issues.
>> I also used this commands in gdb.
>> set debug libthread-db 1
>> maint set check-libthread-db 1
>> So when attaching to process that has threads, i get this.
>>
>> 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
>>
>> Anyone else has this issues with glibc 2.33 ?
>>
>> Thank you, Domen
>>
> 
> I see that on Arch Linux too, also glibc 2.33.  I have not look into it
> yet.
> 
> Simon
> 

FYI I opened this bug about this:

https://sourceware.org/bugzilla/show_bug.cgi?id=27526

Simon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-05 17:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-20 16:33 gdb 10.1 with glibc 2.33 attach to process, td_ta_thr_iter fail Domen Stangar
2021-02-22  1:42 ` Simon Marchi
2021-03-05 17:00   ` Simon Marchi

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).