unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Attila Lendvai <attila@lendvai.name>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: GDB is Unable to find libthread_db
Date: Tue, 06 Dec 2022 18:03:09 +0000	[thread overview]
Message-ID: <LOHW6aZwEEsKu6xzdO4bASLq40bbhE0pZTRY9L_kRT2LlKWjKkBE4QCrOAaJQQcU8h7MhDSoiP7Buyn2eOxSfE_7jFaGWk6x6xalhs47jqQ=@lendvai.name> (raw)
In-Reply-To: <87y1rlq37p.fsf@gnu.org>

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


$ /gnu/store/6i4gi0sfbssv9g6yd28jgnb18219zk7h-gpaste-42.1/libexec/gpaste/gpaste-daemon

(gpaste-daemon:14604): GLib-GIO-CRITICAL **: 12:44:11.196: g_settings_schema_source_lookup: assertion 'source != 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/guile
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, thread 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’t work is if the process being debugged is
> in a namespace different from that of GDB, but that doesn’t seem to be
> what you did, so I’m not sure.


i don't even know how to do that, so hopefully i'm not doing that. :)

--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Here is my secret. It is very simple: it is only with the heart that one can see rightly. What is essential is invisible to the eye.”
	— Antoine de Saint-Exupery (1900–1944)



      reply	other threads:[~2022-12-06 18:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-04  0:33 GDB is Unable to find libthread_db Attila Lendvai
2022-12-05 15:28 ` Ludovic Courtès
2022-12-06 18:03   ` Attila Lendvai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='LOHW6aZwEEsKu6xzdO4bASLq40bbhE0pZTRY9L_kRT2LlKWjKkBE4QCrOAaJQQcU8h7MhDSoiP7Buyn2eOxSfE_7jFaGWk6x6xalhs47jqQ=@lendvai.name' \
    --to=attila@lendvai.name \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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