From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 50C803894436 for ; Sat, 20 Feb 2021 16:33:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 50C803894436 Received: by mail-wr1-x429.google.com with SMTP id r3so2561025wro.9 for ; Sat, 20 Feb 2021 08:33:30 -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=9ArOb+W9KI/bcj3+ms6SWPnDtVFdAiUuHa4APg2ueJQ=; b=bANvSG86oHmcaQgIscSfEdJLOnmd1G5Gd5n9j+1zBV5DrcWXkhghDCGmVg3bA7HRts F41YiJttU0wN9jorGgh/Rh25aVcI/MbkXHMXlq9OAan7LCrQfLIc7bx8TiNg15eph99o YQG+eZ3f3IDIHXs8Ivk4mHd0K0lr4rQUTD4rQBJbpj6q9yvUmtkZiSsqaJLdDIQQfPmn z0zm+W44f+a+vcFP0T5RWJSJmdxYZYmrb7Dibq7fmeuQNv8BXxo4BMYQlaZm3vdityFV 5cQiJZv4VK3NotIk53EyzdF9CVOZ+qbon1UiwVdGx+gAkM4Lc/zPBICacJJn1B44JZHF 7Adg== X-Gm-Message-State: AOAM530wzeLutmjmu5LEFDbLFzt0dzI+sk5JpOP5HMYXASAtmivt4VJ4 bsjIwFQ1KzBOb3uidMA4oJBbASGWYUpMIw== X-Google-Smtp-Source: ABdhPJx5qp2B5stl6b0BPbolvII7cA7TZq5NhubeOXvCHFRf8O/6cEZk4wdESx/kfZYoFtxJH90bGg== X-Received: by 2002:adf:de91:: with SMTP id w17mr5769216wrl.341.1613838809189; Sat, 20 Feb 2021 08:33:29 -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 d29sm13692594wra.51.2021.02.20.08.33.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Feb 2021 08:33:28 -0800 (PST) From: "Domen Stangar" To: gdb@sourceware.org Subject: gdb 10.1 with glibc 2.33 attach to process, td_ta_thr_iter fail Date: Sat, 20 Feb 2021 16:33:28 +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: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2021 16:33:32 -0000 Hi, is anyone running glibc 2.33 and tried to attach to process that is=20 running threads. Recently slackware did update from glibc 2.32 to glibc 2.33 and there=20 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:=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 Anyone else has this issues with glibc 2.33 ? Thank you, Domen