[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GDB is Unable to find libthread_db
From: |
Attila Lendvai |
Subject: |
GDB is Unable to find libthread_db |
Date: |
Sun, 04 Dec 2022 00:33:10 +0000 |
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!'
- GDB is Unable to find libthread_db,
Attila Lendvai <=