Bug#1125796: all(?) programs segfault running under gdb

David Bremner <[email protected]>
Newsgroups gmane.linux.debian.ports.arm
Message-ID <176869054922.611531.11693437235275778158.reportbug__13235.9463650332$1768690646$gmane$org@motzkin>
Package: gdb
Version: 17.1-1
Severity: grave
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: armhf

On amdahl,

$ cat <<EOF > hello.c
#include <stdio.h>
int main(int argc, char **argv){
    printf("hello world\n");
}
EOF

$ gdb ./a.out
Reading symbols from ./a.out...
(No debugging symbols found in ./a.out)
(gdb) run
Starting program: /home/bremner/notmuch-0.39/a.out

Program received signal SIGSEGV, Segmentation fault.
0xf7fc682a in ?? () from /lib/ld-linux-armhf.so.3
(gdb) 

I tried 4 executables: /usr/bin/ls, notmuch (compiled from 0.39 and
0.40~rc1 source, and hello world). It seems to me that gdb us
currently unusable on armhf, hence the severity. As always feel free
to choose a more appropriate severity if I missed something.

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.13+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdb depends on:
ii  libbabeltrace1           1.5.11-4+b3
ii  libc6                    2.42-7
ii  libdebuginfod1t64        0.194-1
ii  libexpat1                2.7.3-1
ii  libgcc-s1                15.2.0-12
ii  libgmp10                 2:6.3.0+dfsg-5+b1
ii  libipt2                  2.1.2-3
ii  liblzma5                 5.8.2-1
ii  libmpfr6                 4.2.2-2
ii  libncursesw6             6.6+20251231-1
ii  libpython3.13            3.13.11-1+b1
ii  libreadline8t64          8.3-3
ii  libsource-highlight4t64  3.1.9-4.3+b1
ii  libstdc++6               15.2.0-12
ii  libtinfo6                6.6+20251231-1
ii  libxxhash0               0.8.3-2
ii  libzstd1                 1.5.7+dfsg-3+b1
ii  zlib1g                   1:1.3.dfsg+really1.3.1-1+b2

gdb recommends no packages.

Versions of packages gdb suggests:
pn  gdb-doc               <none>
pn  gdbserver             <none>
ii  libc6-dbg [libc-dbg]  2.42-7

-- no debconf information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.