Sendmail bug back?

Dave Hayes dave at
Tue Mar 4 03:36:37 PST 2008

I have sendmail randomly coredumping on signal 11 on my freshly upgraded
dragonfly 1.12 box. It looks like the bug Matt fixed, so I spent some
time making sure that patch to main.c actually found it's way into this
binary. (That doesn't mean I actually succeeded at this but it's quite
likely I did.)

# gdb sendmail sendmail.core
GNU gdb 6.7.1
. ..
Core was generated by `sendmail'.
Program terminated with signal 11, Segmentation fault.
#0  newenvelope (e=0x80fc740, parent=0x80fc740, rpool=0x483810c0)
    at /usr/src/usr.sbin/sendmail/../../contrib/sendmail-8.14/sendmail/envelope
. c:97
97      /usr/src/usr.sbin/sendmail/../../contrib/sendmail-8.14/sendmail/envelop
e.c: No such file or directory.
        in /usr/src/usr.sbin/sendmail/../../contrib/sendmail-8.14/sendmail/enve
(gdb) bt
#0  newenvelope (e=0x80fc740, parent=0x80fc740, rpool=0x483810c0)
    at /usr/src/usr.sbin/sendmail/../../contrib/sendmail-8.14/sendmail/envelope
. c:97
#1  0x0809b565 in smtp (nullserver=0x0, d_flags=0x80fe18c, e=0x80fc740)
    at /usr/src/usr.sbin/sendmail/../../contrib/sendmail-8.14/sendmail/srvrsmtp
. c:3789
#2  0x080aff32 in main (argc=5, argv=<value optimized out>, envp=0xbfbff6f8) 
at main.c:2641

I've placed the corefile and the binary on leaf in my "crash" directory,
for perusal of better eyes than mine. Thanks in advance.
Dave Hayes - Consultant - Altadena CA, USA - dave at 
>>> The opinions expressed above are entirely my own <<<

"Never give people anything they ask for until at least a
day has passed," said Nasrudin. "For experience shows that
they only appreciate something when they have had the
opportunity of doubting whether they will get it or not."

More information about the Bugs mailing list