From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 4088B3858038 for ; Sat, 20 Feb 2021 14:39:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4088B3858038 Received: by mail-wm1-x331.google.com with SMTP id l17so9534483wmq.2 for ; Sat, 20 Feb 2021 06:39:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:reply-to :user-agent:mime-version:content-transfer-encoding; bh=OGOFgXldSBFBsDyLtxV2WrNYhD8ycGez1+XDPAmS86A=; b=EwU66keMwlHC3IsXZHyrZ23G/Y4GLP4/1V1jLS9sy1+IKIgNeZmiCdCxodHajdrvft gAADIEJqmouDiQM1BeI1Rr5OTB8afLivTu6DSVzqoHjKZ5s0jN6GPJE2eb5rP8ew4IYL th+qOKfLj4bH/cF95Gf8eZvxD1aGwgouNNBQOFieMe8w+ACUWqVnMpfUYTmiCvYjPGpt A/bwiqhfQKEtFmnGvMdY8MKs/zUQfgibyGGZqT8MYScTAQjb+c7cSVMI00cpDKHJejZE FF7HM8JpT2l2OnA92tGvmXOSikNMXTRbu5Nme8sVebdRlcH0zQrIQ+plq/mGjLOE26mA mlgA== X-Gm-Message-State: AOAM532nwBZuua3OUgTwlonL5allNSxsKtT13ZfwaUWW73LR7c7gNbDK 0kobxs3aJM9IssVVwDRPwKmiGkTEHJuO7w== X-Google-Smtp-Source: ABdhPJwET18TUUMK8lgshqyeAN0NeFshou6M3jlo7iAqUZJvAC/2HtcDTnxzM1tgtRJdDWTHJLrWKQ== X-Received: by 2002:a1c:6689:: with SMTP id a131mr12709481wmc.125.1613831980996; Sat, 20 Feb 2021 06:39:40 -0800 (PST) Received: from [10.0.0.6] (213-229-210.static.cytanet.com.cy. [213.7.229.210]) by smtp.gmail.com with ESMTPSA id 36sm20063286wrj.97.2021.02.20.06.39.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Feb 2021 06:39:40 -0800 (PST) From: "Domen Stangar" To: libc-help@sourceware.org Subject: nptl_db 2.33 td_ta_thr_iter question Date: Sat, 20 Feb 2021 14:39:39 +0000 Message-Id: Reply-To: "Domen Stangar" User-Agent: eM_Client/8.1.1054.0 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2021 14:39:43 -0000 Recently slackware updated libc from 2.22 to 2.23 and noticed that when=20 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:=20 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:=20 generic error thread_db_load_search returning 0 warning: Unable to find libthread_db matching inferior's thread library,=20 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 =3D> 14613 =3D> 0x7f2c184b5740 ... OK Got thread 0x7f2c184b4640 =3D> 14614 =3D> 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