[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

smtp dump core after stopping scheduler



Hello,

The problem found in 2.99.49p9 release running on Solaris 2.5.1.  The smtp
transporter dump core after "router kill scheduler".   It is not repeatable
but happened intermittently.

It seems NULL pointer arguments are passing to the vcsetup() in makeconn().

====
# gdb /opt/zmailer/bin/ta/smtp core
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-sun-solaris2.5), 
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `/opt/zmailer/bin/ta/smtp -s -l /var/log/mail/smtp'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libmp.so.1...done.
Reading symbols from /usr/lib/libw.so.1...done.
Reading symbols from /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
Reading symbols from /usr/lib/nss_compat.so.1...done.
#0  0xef66056c in memcpy ()
(gdb) bt
#0  0xef66056c in memcpy ()
#1  0xef5e0f9c in _doprnt ()
#2  0xef5eb274 in sprintf ()
#3  0x18d40 in vcsetup (SS=0x0, sa=0x0, fdp=0x0, 
    hostname=0x3a310000 <Address 0x3a310000 out of bounds>) at smtp.c:2770
#4  0x18588 in makeconn (SS=0xefffd0a0, ai=0x50590, ismx=-1) at smtp.c:2500
#5  0x18108 in smtpconn (SS=0xefffd0a0, host=0x46668 "mach.psych.indiana.edu", 
    noMX=0) at smtp.c:2315
#6  0x17820 in smtpopen (SS=0xefffd0a0, host=0x46668 "mach.psych.indiana.edu", 
    noMX=0) at smtp.c:2016
#7  0x14ecc in main (argc=-268437048, argv=0xeffff9d7) at smtp.c:914


=======================================================================
Lai Yiu Fai                       |  Tel.:       (852) 2358-6202
Centre of Computing Services      |  Fax.:       (852) 2358-0967
 & Telecommunications             |  E-mail:     ccyflai@ust.hk
                                  |
The Hong Kong University of       |  Clear Water Bay,
Science & Technology              |  Kowloon, Hong Kong.