Hello,

On Tue, 20 Aug 2024 at 21:15, Christian Brabandt <c...@256bit.org> wrote:
>
> Package: gdb
> Version: 15.1-1
> Severity: important
>
> Hi,
> not sure what happened, but for about a week or so, gdb segfaults and I
> can no longer use it anymore.
>
> A simple gdb --version already segfaults:
>
>
> ,----
> | ~$ gdb --version
> | Fatal signal: Segmentation fault
> | ----- Backtrace -----
> | 0x558a88a597c6 ???
> | 0x558a88b7b348 ???
> | 0x558a88b7b520 ???
> | 0x7fb26a45658f ???
> |       ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
> | 0x7fb26b794e66 PyObject_GC_UnTrack
> |       Modules/gcmodule.c:1702
> | 0x7fb26b69e3db list_dealloc
> |       Objects/listobject.c:317
> | 0x7fb26ae05d57 ???
> | 0x7fb26ae06929 ???
> | 0x7fb26ae0b30c ???
> | 0x7fb26addd673 ???
> | 0x7fb26aee93b2 ???
> | 0x7fb26aeeb142 ???
> | 0x7fb26aeeb298 ???
> | 0x558a88d13137 ???
> | 0x558a88d1381a ???
> | 0x558a88b82082 ???
> | 0x558a88c5a76e ???
> | 0x558a88c5bbee ???
> | 0x558a889a5f49 ???
> | 0x7fb26a440c89 __libc_start_call_main
> |       ../sysdeps/nptl/libc_start_call_main.h:58
> | 0x7fb26a440d44 __libc_start_main_impl
> |       ../csu/libc-start.c:360
> | 0x558a889b23f0 ???
> | 0xffffffffffffffff ???
> | ---------------------
> | A fatal error internal to GDB has been detected, further
> | debugging is not possible.  GDB will now terminate.
> |
> | This is a bug, please report it.  For instructions, see:
> | <https://www.gnu.org/software/gdb/bugs/>.
> `----
>
> I already purged and re-installed, did not help. Any advise please?

Your backtrace is missing symbols, so that's not very helpful. Which
gdb package do you have installed? gdb, gdb-multiarch or gdb-minimal?

This is working fine for me:

$ dpkg -l gdb
Desitjat=desconegUt/Instal·la/elimina(R)/Purga/retín(H)
| Estat=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Estat,Err: majúsc.=dolent)
||/ Nom            Versió       Arquitectura Descripció
+++-==============-============-============-=================================
ii  gdb            15.1-1       amd64        GNU Debugger

$ gdb --version
GNU gdb (Debian 15.1-1) 15.1
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Reply via email to