From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oEqeJmUOjmMFlgAAbAwnHQ (envelope-from ) for ; Mon, 05 Dec 2022 16:29:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oH+qJmUOjmNlkgAAauVa8A (envelope-from ) for ; Mon, 05 Dec 2022 16:29:41 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D5D5E9792 for ; Mon, 5 Dec 2022 16:29:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2DOy-000702-7Q; Mon, 05 Dec 2022 10:29:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2DOv-0006zd-U0 for guix-devel@gnu.org; Mon, 05 Dec 2022 10:29:01 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2DOv-0001pO-2K; Mon, 05 Dec 2022 10:29:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=V2+g3b7ePrKx4Qc8kLk6yxiLsysQ3Bi/vaBiWxX69W0=; b=J/IK1+dKdXYM2raL5lIF L2xrgASGAZzDEvHNbf+OzVZwAuxWRL+7oHKMMbPn4it9Xnp5ufGVmN5ZLwPD/zLP0x9V8wJYXQsfE TRSu54RbsSeRdClhROELDMIxig9wzAFg1VoqGZQ0qPb4ouxHs3HwGtJPJY4kZwdgFvqq447M/e0KO XPmrpv1M3W23516HoWXjctxbIpewgtF20C7iXQ4HDYntJyvzbCZRthU+7fRtr2AibtxN437aGLXj5 MPYbtzyCBkokd9eIwyziFlp6q4KjZCVdsGq8+CAni6rEZ9ZkeAaCyfsBryM6Mry8sV3TOeT21exA5 5yQl+GMPtRYAZw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2DOu-00036P-Fh; Mon, 05 Dec 2022 10:29:00 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Attila Lendvai Cc: guix-devel Subject: Re: GDB is Unable to find libthread_db References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 15 Frimaire an 231 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour du Chevreuil X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 05 Dec 2022 16:28:58 +0100 In-Reply-To: (Attila Lendvai's message of "Sun, 04 Dec 2022 00:33:10 +0000") Message-ID: <87y1rlq37p.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670254161; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=V2+g3b7ePrKx4Qc8kLk6yxiLsysQ3Bi/vaBiWxX69W0=; b=Z6VQN3kmE2SFJjbypm0n/AMkSAJEE+yujWnFu78IjB/cWES1eR1LfJPETsjljNFUw+tSsD VDGAUsw0FV5NcFKrAEGpt4hLJ6282QahVLvqrEKghhfPLRcLl9FCB/hYGZZ+segNyg3Q8l y2EOGBKPW4IIJPxkTaiCvFc5aWP++sVdyUaoxdKAbIQE1CJohRtRJ7mIINJZYBSoUqL1ap WKpNNNjIaiKDllJr5zbOKFNTFiE3XpaZy2OrAdWGXFLvHn6YtkwSRaz1YkxEAMi8d0HAQQ cYwwt0FsRVgkUDCpuRuOoj/UJEnYpmTLqZleEtc71uJ6SpTaW2oJbMdVWWs3dQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670254161; a=rsa-sha256; cv=none; b=k0qLxeXb2WE4DSufnEM03wtduLEJzHHk1JyLDexKPdKQb7pbYsD+XyYeea2z4N/oc2OoDm 08NH0TasmiHb1OjgyDwzpj81x0lDuFA2T4XIKHbl8N4Kaodu486uIasoSWwThWgol317M9 fJCBH+DHQgbY88H9DcPOaxBNxmIF/QM80m/3NFt+G7Y4kWaGHQO6SvKAd/JXg/73AJgYbB pLjtsAEmr5j88VsYCtDptI+2WWWjtN3ZANZAtc8zSDO6o1/8BB7tykOWBM5sAx0ZkXjOhA K4+c2ysabIc/wOfWUrO32+b9RjIN0WZFtgbIPGQ9fqyQZaJhE7eeIb94xc4vYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="J/IK1+dK"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.17 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="J/IK1+dK"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D5D5E9792 X-Spam-Score: -5.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: kGa0XpmGSa/6 Hi, Attila Lendvai skribis: > $ gpaste-client --version > (/home/alendvai/.guix-home/profile/bin/gpaste-client:6955): GPaste-CRITIC= AL **: 21:23:48.100: Error calling StartServiceByName for org.gnome.GPaste:= Process org.gnome.GPaste received signal 11 FWIW I=E2=80=99m unable to reproduce this problem: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 239 Dec 04 2022 23:46:31 (current) guix b2a848d repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: b2a848d23d37f31496e1ff664f1dcf6abcdcc388 $ guix shell gpaste -- gpaste-client --version GPaste 42.1 --8<---------------cut here---------------end--------------->8--- > (gdb) r > Starting program: /home/alendvai/workspace/gpaste/builddir/src/client/gpa= ste-client --version > warning: Unable to find libthread_db matching inferior's thread library, = thread debugging will not be available. I=E2=80=99m not sure under which circumstances this error happens. It works for me though, as in: --8<---------------cut here---------------start------------->8--- $ guix shell gdb guile guile:debug -- gdb --args guile GNU gdb (GDB) 12.1 [...] Type "apropos word" to search for commands related to "word"... Reading symbols from guile... Reading symbols from /gnu/store/9snhi90f2nivxqrvqgjgixdch5zkps88-guile-3.0.= 8-debug/lib/debug//gnu/store/qlmpcy5zi84m6dikq3fnx5dz38qpczlc-guile-3.0.8/b= in/guile.debug... (gdb) r Starting program: /gnu/store/dyw73lrvdnffwsp5idrcznyn0k0fzywz-profile/bin/g= uile=20 [Thread debugging using libthread_db enabled] Using host libthread_db library "/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4= s-glibc-2.33/lib/libthread_db.so.1". [New Thread 0x7ffff75bf640 (LWP 20252)] [New Thread 0x7ffff6dbe640 (LWP 20253)] [New Thread 0x7ffff65bd640 (LWP 20254)] [New Thread 0x7ffff5666640 (LWP 20255)] [New Thread 0x7ffff422d640 (LWP 20256)] GNU Guile 3.0.8 --8<---------------cut here---------------end--------------->8--- One situation where it doesn=E2=80=99t work is if the process being debugge= d is in a namespace different from that of GDB, but that doesn=E2=80=99t seem to= be what you did, so I=E2=80=99m not sure. Ludo=E2=80=99.