Good day.
A similar error occurred after the update from 12.2 to 13.3.
Performed similar actions:
service sendmail start
Starting sendmail.
Segmentation fault
/etc/rc.d/sendmail: WARNING: failed to start sendmail
Starting sendmail_msp_queue.
Segmentation fault
/etc/rc.d/sendmail: WARNING: failed to start sendmail_msp_queue
#
gdb sendmail
GNU gdb (GDB) 14.1 [GDB v14.1 for FreeBSD]
Copyright (C) 2023 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-portbld-freebsd13.2".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<
https://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 sendmail...
(No debugging symbols found in sendmail)
(gdb) run
Starting program: /usr/sbin/sendmail
warning: Could not load shared library symbols for [vdso].
Do you need "set solib-search-path" or "set sysroot"?
process 13956 is executing new program: /usr/libexec/sendmail/sendmail
warning: Could not load shared library symbols for [vdso].
Do you need "set solib-search-path" or "set sysroot"?
Program received signal SIGSEGV, Segmentation fault.
Address not mapped to object.
0x00000008016b7570 in strcasecmp_l () from
/lib/libc.so.7
(gdb) backtrace
#0 0x00000008016b7570 in strcasecmp_l () from
/lib/libc.so.7
#1 0x00000008015df288 in ?? () from /lib/libc.so.7
#2 0x00000008015def1d in nsdispatch () from /lib/libc.so.7
#3 0x00000008015d32c0 in ?? () from /lib/libc.so.7
#4 0x00000008015d3da2 in gethostbyname2 () from /lib/libc.so.7
#5 0x00000008015dcbfb in getipnodebyname () from /lib/libc.so.7
#6 0x0000000001059f80 in sm_gethostbyname (name=name@entry=0x7fffffffdf80 "myserver.com", family=family@entry=2) at /usr/src/contrib/sendmail/src/conf.c:4424
#7 0x0000000001060c78 in myhostname (hostbuf=hostbuf@entry=0x7fffffffdf80 "myserver.com", size=size@entry=256) at /usr/src/contrib/sendmail/src/daemon.c:3449
#8 0x000000000107a2df in main (argc=1, argv=0x7fffffffea00, envp=<optimized out>) at /usr/src/contrib/sendmail/src/main.c:745
In the previous discussion the solution was somehow not indicated.