From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6BV4KgeEj2PaTgAAbAwnHQ (envelope-from ) for ; Tue, 06 Dec 2022 19:03:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sK18KgeEj2NQdwEA9RJhRA (envelope-from ) for ; Tue, 06 Dec 2022 19:03:51 +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 3B4E629B27 for ; Tue, 6 Dec 2022 19:03:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2cHy-000699-Pl; Tue, 06 Dec 2022 13:03:30 -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 1p2cHt-00067V-PV for guix-devel@gnu.org; Tue, 06 Dec 2022 13:03:26 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2cHp-0000h2-Ok; Tue, 06 Dec 2022 13:03:25 -0500 Date: Tue, 06 Dec 2022 18:03:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail2; t=1670349791; x=1670608991; bh=OHlu3yBD04vXSltY7VbCDXa6ImgoRms9Vi1hEhlbz+4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=NhRSfs5EsP6+JhW/uUkc2GbDsKXzxoiHiJm3bZ1AZrl/qhTEde/gUaaQq79ebmbws 2/mio/31Y4WoJu+52OQTG8Hhj01Y9Fh/YmE3L3byeuZCKEsdoZVbIDVMhJtKMzy9ht /FWziy62ekV4+F+36p3y+mdvbzvN3dJHTJ1OWwA8Gh9m+RASHpRV0ZMTHF4BbD7Svz wt3DLgSPRdW7PJ8IYKDEAyUkdJBD0H/cIwkTa7Y4aUk1sy/EFUezPwO6UnfgGTZW/P wfM1DqmOXgufQ2Dde9xlMRV9AZsMU0fDp/bvemC9US3zPLVAL+6Kyfz4COlAploNW/ L2GfYsKYBrOyQ== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: Attila Lendvai Cc: guix-devel Subject: Re: GDB is Unable to find libthread_db Message-ID: In-Reply-To: <87y1rlq37p.fsf@gnu.org> References: <87y1rlq37p.fsf@gnu.org> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=attila@lendvai.name; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1670349831; 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=OHlu3yBD04vXSltY7VbCDXa6ImgoRms9Vi1hEhlbz+4=; b=bLLVBzDE/IGA4g5Z19v8plglsGcExrjH2YCc291WP8aXFV/fViqCqcKiNW53hPEQ/uuVro ube/XRyJ+WkT3Uk+qY1D9vnWiI1Ep78sWlNGTltlcJ6M7xzKdraX0YPAAQB8K7dz/1q2gZ mX+cdYQsSPITk0KI0oex1Yn3jEN99bRbWCc+fNmAzQ1+dz25c/iPAKUj73ji+CuJgFoK41 cloLlsUXcwte2Oi4VVEHwUcy4kSrqZ9X8nVM6jtBZH6URgA7ymyhhLjxzMEBicO1t3E/jO SIWfLwfhZywU1/o+IKNZfjOLSN4V+EicAWtVEriuMUYCTNW7lH7lZWJg2RYL8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670349831; a=rsa-sha256; cv=none; b=auZ0GYh3corYDg5Uj+gt27k46qeY7vDzO0lFjWNrUgR6eKuQUkNmLapeM0JQI/OC7J/52O 93h1icgEGgtZ+xB84gs1j5u+gWsiIMJruf218oAWFL6wGjQ7v1N5agXvqaYf+6ZBo8/bpB 9eYu+CRkMKZPFoF2C3qX+ZNh2G7i91oUrtzhk+Lj+hCP6Qo7vjApYkAMBKxJEq+0Erxzlz a85VKkv7S2eLbONl5MzBdWRcIE3vOhiEDFQNGXlyBUdbbtyyjEgoDbtkD+fgxj7Fm/49qC apkeYc3ImzKVCEL4isSqHXhiNhTiMKxfbTJMbDN06u5q18LBWdRiGOiqDFjlNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail2 header.b=NhRSfs5E; dmarc=none; 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: -3.46 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail2 header.b=NhRSfs5E; dmarc=none; 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: 3B4E629B27 X-Spam-Score: -3.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: xQHwBdXN1yVn thanks for looking into it Ludo! looking again at the error message, it actually means that dbus was unable = to start the daemon (but the daemon's error output was swallowed by the arc= hitecture). $ /gnu/store/6i4gi0sfbssv9g6yd28jgnb18219zk7h-gpaste-42.1/libexec/gpaste/gp= aste-daemon (gpaste-daemon:14604): GLib-GIO-CRITICAL **: 12:44:11.196: g_settings_schem= a_source_lookup: assertion 'source !=3D NULL' failed Segmentation fault it was enough of a hint for me to fix gpaste: https://issues.guix.gnu.org/59863 looking at the code, i have no idea why/how it was not crashing for you. as for the GDB issue: > $ guix shell gdb guile guile:debug -- gdb --args guile surprisingly enough, the above fails for me: $ guix shell gdb guile guile:debug -- gdb --args guile GNU gdb (GDB) 12.1 [...] Reading symbols from guile... (No debugging symbols found in guile) (gdb) r Starting program: /gnu/store/dyw73lrvdnffwsp5idrcznyn0k0fzywz-profile/bin/g= uile warning: File "/gnu/store/qlmpcy5zi84m6dikq3fnx5dz38qpczlc-guile-3.0.8/lib/= libguile-3.0.so.1.5.0-gdb.scm" auto-loading has been declined by your `auto= -load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add [...] warning: Unable to find libthread_db matching inferior's thread library, th= read debugging will not be available. maybe you have something installed in your profile that i don't? it's not a= roadblock anymore, though. > One situation where it doesn=E2=80=99t work is if the process being debug= ged 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. i don't even know how to do that, so hopefully i'm not doing that. :) -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CHere is my secret. It is very simple: it is only with the heart th= at one can see rightly. What is essential is invisible to the eye.=E2=80= =9D =09=E2=80=94 Antoine de Saint-Exupery (1900=E2=80=931944)