Re: mailfront segfault continues

[email protected] Wed, 17 Aug 2005 13:54:58 -0500
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
Well, I have attached strace to tcpserver (that runs rblsmtpd which
then runs smtpfront-qmail).  It really seems, creating From: <>
triggers it.  First of all, I see

/var/log/messages:
Aug 17 13:44:24 thales kernel: smtpfront-qmail[7894]: segfault at 00000001005152bf rip 0000000000408368 rsp 00007fffffa2f368 error 4

/service/rblsmtpd/log/main/current:
2005-08-17 13:44:22.376625500 tcpserver: pid 7894 from 141.225.11.87
2005-08-17 13:44:22.380667500 tcpserver: ok 7894 thales.memphis.edu:141.225.8.55:25 wierdlmpc.msci.memphis.edu:141.225.11.87::51307
2005-08-17 13:44:24.057094500 smtpfront-qmail[7894]: MAIL FROM:<>
2005-08-17 13:44:24.058039500 tcpserver: end 7894 status 11

In the strace output, as the result of 

# strace -p 6362 -t -f -v -o smtpfront.strace &

I see

[...]
7894  13:44:24 write(1, "250 thales.memphis.edu\r\n", 24) = 24
7894  13:44:24 poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, 1200000) = 1
7894  13:44:24 read(0, "MAIL FROM:<>\r\n", 4096) = 14
7894  13:44:24 getpid()                 = 7894
7894  13:44:24 write(2, "smtpfront-qmail[7894]: MAIL FROM"..., 36) = 36
7894  13:44:24 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
6362  13:44:24 <... accept resumed> 0x7fffffa80950, [16]) = ? ERESTARTSYS (To be resta
rted)
6362  13:44:24 --- SIGCHLD (Child exited) @ 0 (0) ---

I have put the strace output file to

http://www.csi.hu/mw/smtpfront.strace

I'll look at valgrind later.

Mate
On Wed, Aug 17, 2005 at 02:04:48PM -0400, Dale Woolridge wrote:
> On 17-Aug-2005 12:57 [email protected] wrote:
> | 
> | How do I investigate?
> 
>     Run through valgrind?
> --
> -dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis