I did manage do get a full back trace for man:
$ gdb --args man apt-get
GNU gdb (Debian 13.2-1) 13.2
[...]
Reading symbols from man...
Reading symbols from
/usr/lib/debug/.build-id/70/bd707aa6a7ea95d80aaa2933e2d49f1cc56c5f.debug...
(gdb) r
Starting program: /usr/bin/man apt-get
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007f557d18ff36 in towlower () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0 0x00007f557d18ff36 in towlower () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007f557d15dd49 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x00007f557d15f26d in fnmatch () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#3 0x00005586d79b6a49 in match_wildcard_in_directory
(path=0x5586d99f4460 "/usr/share/man/man8", pattern=0x5586d99ecea0
"apt-get.8*", opts=<optimized out>, matched=0x5586d99ea4d0,
cache=0x5586d99ece80) at ../../../src/globbing.c:273
flags = 16
pattern_start = {pattern = 0x5586d9a1bf60 "apt-get.8", len =
<optimized out>}
bsearched = <optimized out>
i = 22
#4 0x00005586d79b7042 in look_for_file (hier=hier@entry=0x5586d99f0140
"/usr/share/man", sec=sec@entry=0x5586d99e7a70 "8",
unesc_name=unesc_name@entry=0x7ffef1c470b2 "apt-get",
cat=cat@entry=false, opts=opts@entry=0) at ../../../src/globbing.c:343
dirs_node = 0x1
dirs_iter = {vtable = 0x5586d79cb500
<gl_array_list_implementation>, list = 0x5586d99f3400, count = 1, p =
0x5586d99f01e8, q = 0x5586d99f01e8, i = 0, j = 0}
dirs = 0x5586d99f3400
dir = 0x5586d99f4460 "/usr/share/man/man8"
matched = 0x5586d99ea4d0
pattern = 0x5586d99ecea0 "apt-get.8*"
path = 0x0
layout = 1
name = 0x5586d99e7fd0 "apt-get"
__PRETTY_FUNCTION__ = "look_for_file"
MPI_LABEL_4_break_340 = <optimized out>
#5 0x00005586d79ba18c in try_section (cand_head=0x7ffef1c46038,
name=0x7ffef1c470b2 "apt-get", sec=0x5586d99e7a70 "8",
path=0x5586d99f0140 "/usr/share/man") at ../../../src/man.c:3172
found = 0
lff_opts = 0
names = 0x0
cat = 0 '\000'
MPI_LABEL_4_break_3197 = <optimized out>
found_name = 0x5586d99e80c8 " utility -- command-line interface"
found = <optimized out>
names = <optimized out>
found_name = <optimized out>
cat = <optimized out>
lff_opts = <optimized out>
MPI_LABEL_1_body_3197 = <optimized out>
MPI_LABEL_1_done_3197 = <optimized out>
MPI_LABEL_2_body_3197 = <optimized out>
MPI_LABEL_2_done_3197 = <optimized out>
MPI_LABEL_4_body_3197 = <optimized out>
MPI_LABEL_4_break_3197 = <optimized out>
MPI_LABEL_4_finish_3197 = <optimized out>
names_iter = <optimized out>
names_node = <optimized out>
info = <optimized out>
ult = <optimized out>
f = <optimized out>
#6 locate_page (candidates=0x7ffef1c46038, name=0x7ffef1c470b2
"apt-get", sec=0x5586d99e7a70 "8", manpath=0x5586d99f0140
"/usr/share/man") at ../../../src/man.c:3613
found = <optimized out>
db_ok = <optimized out>
found = <optimized out>
db_ok = <optimized out>
#7 locate_page_in_manpath (page_section=<optimized out>,
page_name=page_name@entry=0x7ffef1c470b2 "apt-get",
candidates=candidates@entry=0x7ffef1c46038,
found=found@entry=0x7ffef1c460f4) at ../../../src/man.c:3971
manpathlist_node = 0x2
manpathlist_iter = {vtable = 0x5586d79cb500
<gl_array_list_implementation>, list = 0x5586d99e7e30, count = 2, p =
0x5586d99f0130, q = 0x5586d99f0130, i = 0, j = 0}
mp = 0x5586d99f0140 "/usr/share/man"
MPI_LABEL_1_done_3970 = <optimized out>
MPI_LABEL_2_done_3970 = <optimized out>
MPI_LABEL_4_break_3970 = <optimized out>
#8 0x00005586d79bd29b in man (name=0x7ffef1c470b2 "apt-get",
found=0x7ffef1c460f4) at ../../../src/man.c:4003
section_list_node = 0x4
section_list_iter = {vtable = 0x5586d79cb500
<gl_array_list_implementation>, list = 0x5586d99e57a0, count = 17, p =
0x5586d99e7cd0, q = 0x5586d99e7d38, i = 0, j = 0}
sec = 0x5586d99e7a70 "8"
page_name = <optimized out>
page_section = <optimized out>
candidates = 0x0
cand = <optimized out>
candnext = <optimized out>
MPI_LABEL_1_done_4002 = <optimized out>
MPI_LABEL_2_done_4002 = <optimized out>
MPI_LABEL_4_break_4002 = <optimized out>
#9 0x00005586d79b5786 in main (argc=<optimized out>, argv=<optimized
out>) at ../../../src/man.c:4385
found_subpage = <optimized out>
status = <optimized out>
found = 0
maybe_section = false
nextarg = 0x7ffef1c470b2 "apt-get"
argc_env = <optimized out>
exit_status = 0
argv_env = <optimized out>
tmp = <optimized out>
__PRETTY_FUNCTION__ = "main"
(gdb) info registers
rax 0x7f557cc84e98 140005142449816
rbx 0x7ffef1c45940 140732954597696
rcx 0x7f557cc84e98 140005142449816
rdx 0x30 48
rsi 0x2010201 33620481
rdi 0x61 97
rbp 0x10 0x10
rsp 0x7ffef1c42be8 0x7ffef1c42be8
r8 0x10 16
r9 0x0 0
r10 0x7ffef1c45310 140732954596112
r11 0x7ffef1c45940 140732954597696
r12 0x7ffef1c45530 140732954596656
r13 0x61 97
r14 0x10 16
r15 0x7ffef1c45534 140732954596660
rip 0x7f557d18ff36 0x7f557d18ff36 <towlower+70>
eflags 0x10246 [ PF ZF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0