unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Attila Lendvai <attila@lendvai.name>
To: guix-devel <guix-devel@gnu.org>
Subject: GDB is Unable to find libthread_db
Date: Sun, 04 Dec 2022 00:33:10 +0000	[thread overview]
Message-ID: <gYuJFLwAAzc0N_4awf_n6AiG9Ir2j8NgBThCMXMxnDRAZjmn64OfieNJwQKlHpZt2Oc9neF5FOZGANJXQgZ2dTZA75V3ChaYlIyyWQ7nLJ0=@lendvai.name> (raw)

dear Guixers,

i'm trying to debug:


https://issues.guix.gnu.org/58191


which is essentally that gpaste sigsegv's:


$ gpaste-client --version
(/home/alendvai/.guix-home/profile/bin/gpaste-client:6955): GPaste-CRITICAL **: 21:23:48.100: Error calling StartServiceByName for org.gnome.GPaste: Process org.gnome.GPaste received signal 11


but the error happens in a thread, and GDB is unable to find 'libthread_db matching inferior's thread library':



$ gdb --args ./src/client/gpaste-client --version
GNU gdb (GDB) 12.1

[...]

Warning: /gnu/store/frcfl9lbc5pijlnfgd8c02ynvlp19qqv-gpaste-3.34.4-checkout: No such file or directory.
Reading symbols from ./src/client/gpaste-client...
(gdb) set auto-load safe-path /
(gdb) r
Starting program: /home/alendvai/workspace/gpaste/builddir/src/client/gpaste-client --version
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
[New LWP 7206]
[New LWP 7207]

(/home/alendvai/workspace/gpaste/builddir/src/client/gpaste-client:7203): GPaste-CRITICAL **: 21:25:48.822: Error calling StartServiceByName for org.gnome.GPaste: Process org.gnome.GPaste received signal 11

[LWP 7206 exited]
[LWP 7203 exited]
[LWP 7207 exited]
[New process 7203]
[Inferior 1 (process 7203) exited with code 01]
(gdb) 


the same question was asked on guix-help (https://lists.gnu.org/archive/html/help-guix/2022-09/msg00003.html) but without any answers.

any hints on how to proceed?

my primary goal is to fix gpaste, which a tool that i use(d) daily. getting at least a backtrace from GDB to see where the error originates from would probably give me some hints.

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Life is dear, love is dearer. Both can be given up for freedom.”
	— Sándor Petőfi (1823–1849), 'Szabadság, szerelem!'



             reply	other threads:[~2022-12-04  0:34 UTC|newest]

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

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='gYuJFLwAAzc0N_4awf_n6AiG9Ir2j8NgBThCMXMxnDRAZjmn64OfieNJwQKlHpZt2Oc9neF5FOZGANJXQgZ2dTZA75V3ChaYlIyyWQ7nLJ0=@lendvai.name' \
    --to=attila@lendvai.name \
    --cc=guix-devel@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).