Ah indeed, the previous command automatically enabled the epel debuginfo repo, so I (wrongly) assumes it was enough.
After also installing all the other debuginfo packages that it eventually requested. I got the backtrace output. As I suspected, it doesn’t mean much to me though:
GNU gdb (GDB) Red Hat Enterprise Linux 8.2-19.el8
Copyright (C) 2018 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.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/sshd...Reading symbols from /usr/lib/debug/usr/sbin/sshd-8.0p1-16.el8.x86_64.debug...done.
done.
[New LWP 8677]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/sshd -D -E /var/log/sshd_error.log'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
50 return ret;
#0 __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
set = {__val = {0, 139663504466158, 6, 139663504466280, 0, 11407368291814832640, 6, 94225421477760, 1, 9, 0, 7, 0, 0,
0, 0}}
pid = <optimized out>
tid = <optimized out>
ret = <optimized out>
#1 0x000055b2909d9677 in sshbuf_check_sanity (buf=0x0) at sshbuf.c:46
No locals.
#2 sshbuf_check_sanity (buf=0x0) at sshbuf.c:32
No locals.
#3 sshbuf_len (buf=buf@entry=0x0) at sshbuf.c:258
No locals.
#4 0x000055b2909e22c6 in sshbuf_put_stringb (buf=0x55b290d052b0, v=0x0) at sshbuf-getput-basic.c:374
No locals.
#5 0x000055b2909a8c7f in send_rexec_state (fd=9, conf=0x55b290cfa260) at sshd.c:945
m = 0x55b290cfc0b0
inc = 0x55b290d052b0
item = 0x55b290cfb770
r = <optimized out>
__func__ = "send_rexec_state"
#6 0x000055b2909a7126 in server_accept_loop (ssh=0x0, config_s=0x7ffdfd591820, newsock=<synthetic pointer>,
sock_out=<synthetic pointer>, sock_in=<synthetic pointer>) at sshd.c:1381
fdset = <optimized out>
j = <optimized out>
maxfd = 7
listening = <optimized out>
from = {ss_family = 2,
__ss_padding = "\204&\254\023 \313\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\311A", '\000' <repeats 22 times>, "\006\000\000\000\000\000\000\000\000\020", '\000' <repeats 14 times>, ")\217\177c\000\000\000\000\223*~\r\000\000\000\000@\354\064c", '\000' <repeats 12 times>, "\210\205\177c\000\000\000\000@\020\316!\000\000\000", __ss_align = 0}
pid = 8679
rnd = "::\000.0.0\000\210\037\000\362\005\177\000\000\360\032Y\375\375\177\000\000\a\000\000\000\000\000\000\000\360\024\000\362\005\177\000\000\a\000\000\000\b\000\000\000\060\372\"\362\005\177\000\000\314\065\001\362\005\177\000\000\000\000\000\000\000\000\000\000xG\001\362\005\177\000\000\377\377\377\377\000\000\000\000P\245!\362\005\177\000\000 q\236\357\005\177\000\000\000\000\000\000\000\000\000\000\300\032Y\375\375\177\000\000\001\000\000\000\000\000\000\000(\037\000\362\005\177\000\000\000\000\000\000\000\000\000\000\030\227!\362\005\177\000\000(\037\000\362\005\177\000\000\300\032Y\375\375\177\000\000`\027\000\362\005\177\000\000x\005#\362\005\177\000\000\000\020\000\362\005\177\000\000\274\031\000\362\005\177\000\000"...
ret = <optimized out>
startups = 1
fromlen = 16
i = 0
lameduck = 0
startup_p = {7, 8}
c = 0 '\000'
fdset = <optimized out>
i = <optimized out>
j = <optimized out>
ret = <optimized out>
maxfd = <optimized out>
startups = <optimized out>
listening = <optimized out>
lameduck = <optimized out>
startup_p = <optimized out>
c = <optimized out>
from = <optimized out>
fromlen = <optimized out>
pid = <optimized out>
rnd = <optimized out>
__func__ = "server_accept_loop"
laddr = <optimized out>
raddr = <optimized out>
#7 main (ac=<optimized out>, av=<optimized out>) at sshd.c:2082
ssh = 0x0
r = <optimized out>
opt = <optimized out>
on = 1
already_daemon = <optimized out>
remote_port = <optimized out>
sock_in = -1
sock_out = -1
newsock = 6
remote_ip = <optimized out>
rdomain = <optimized out>
fp = <optimized out>
line = <optimized out>
laddr = <optimized out>
logfile = <optimized out>
config_s = {9, 10}
i = <optimized out>
j = <optimized out>
ibytes = 139663513882112
obytes = 16
new_umask = <optimized out>
key = 0x55b290d05300
pubkey = 0x55b290d054c0
keytype = <optimized out>
authctxt = <optimized out>
connection_info = <optimized out>
__func__ = "main"