unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* GDB is Unable to find libthread_db
@ 2022-12-04  0:33 Attila Lendvai
  2022-12-05 15:28 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Attila Lendvai @ 2022-12-04  0:33 UTC (permalink / raw)
  To: guix-devel

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!'



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-06 18:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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