MailScanner dying with a "unblessed reference" perl error

Mikael Syska mikael at syska.dk
Tue Sep 28 18:46:11 IST 2010


Hi,

Well ... almost identical ... yes, I know, that does not count with computers.

Upgraded to FreeBSD 8.1 did not fix the issue.

Upgraded to Perl 4.12 did not dix the issue.

So I removed all mails from the queue ... and let it run for a while
with Virus disabled all the time.

And seem to do the trick ... I havent testes yet with Virus scanner
enabled and some 3 part SA rules.

But I will let you know if I can reproduce the problem ... right now
I'm just happy the system runs again.

Still ... the odd thing is that is just started to crash ... so maybe
a speciel "clamd" rule made it crachs sometimes ...

But one thing I tried, not sure if its anything I need to be scared
about is this:

truss -p 3000 ( the process id )
Gives me this:
lseek(17,0x51,SEEK_SET)                          = 81 (0x51)
lseek(17,0x0,SEEK_CUR)                           = 81 (0x51)
lseek(17,0x236,SEEK_SET)                         = 566 (0x236)
lseek(17,0x0,SEEK_CUR)                           = 566 (0x236)
read(17,"N0Received: from KSTWDTNMV (unkn"...,4096) = 2211 (0x8a3)
lseek(17,0x60e,SEEK_SET)                         = 1550 (0x60e)
lseek(17,0x0,SEEK_CUR)                           = 1550 (0x60e)
lseek(17,0x60e,SEEK_SET)                         = 1550 (0x60e)
lseek(17,0x0,SEEK_CUR)                           = 1550 (0x60e)
read(17,"N,This is a multi-part message i"...,4096) = 1227 (0x4cb)
pipe(0xbfbfe724)                                 = 0 (0x0)
ioctl(18,TIOCGETA,0xbfbfe570)                    ERR#25 'Inappropriate
ioctl for device'
lseek(18,0x0,SEEK_CUR)                           ERR#29 'Illegal seek'
ioctl(19,TIOCGETA,0xbfbfe570)                    ERR#25 'Inappropriate
ioctl for device'
lseek(19,0x0,SEEK_CUR)                           ERR#29 'Illegal seek'
fcntl(18,F_SETFD,FD_CLOEXEC)                     = 0 (0x0)
fcntl(19,F_SETFD,FD_CLOEXEC)                     = 0 (0x0)
lseek(17,0xad7,SEEK_SET)                         = 2775 (0xad7)
lseek(17,0x0,SEEK_CUR)                           = 2775 (0xad7)
fork()                                           = 92101 (0x167c5)
close(19)                                        = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGALRM,0x0)               = 0 (0x0)
sigaction(SIGALRM,{ 0x28112200 0x0 ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)                 = 0 (0x0)
setitimer(0,{0.000000, 150.000000 },{0.000000, 0.000000 }) = 0 (0x0)
read(18,"16.191\n",4096)                         = 7 (0x7)
read(18,"spam\n",4096)                           = 5 (0x5)
read(18,"BAYES_99 3.50, FSL_HELO_NON_FQDN"...,4096) = 267 (0x10b)
read(18,"Spam detection software, running"...,4096) = 2193 (0x891)
close(18)                                        = 0 (0x0)
wait4(0x167c5,0xbfbfe728,0x0,0x0,0x2,0x281c6bf8) = 92101 (0x167c5)
setitimer(0,{0.000000, 0.000000 },{0.000000, 143.106027 }) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGALRM,0x0)               = 0 (0x0)
sigaction(SIGALRM,{ SIG_DFL 0x0 ss_t },{ 0x28112200 0x0 ss_t }) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)                 = 0 (0x0)
setitimer(0,{0.000000, 0.000000 },{0.000000, 0.000000 }) = 0 (0x0)
sigprocmask(SIG_UNBLOCK,SIGALRM,0x0)             = 0 (0x0)
umask(0x3f,0x94a8404,0x1da7b,0x281200be,0x281c8d64,0x2f) = 63 (0x3f)
getpid()                                         = 83106 (0x144a2)
__sysctl(0xbfbfe5e0,0x4,0x0,0x0,0x28ce2800,0x26) = 0 (0x0)
getpid()                                         = 83106 (0x144a2)
__sysctl(0xbfbfe5e0,0x4,0x0,0x0,0x28ce2800,0x28) = 0 (0x0)
lseek(10,0x0,SEEK_SET)                           = 0 (0x0)
lseek(10,0x0,SEEK_CUR)                           = 0 (0x0)
read(10,"CO           1766             63"...,4096) = 2422 (0x976)
lseek(10,0x51,SEEK_SET)                          = 81 (0x51)
lseek(10,0x0,SEEK_CUR)                           = 81 (0x51)
lseek(10,0x27d,SEEK_SET)                         = 637 (0x27d)
lseek(10,0x0,SEEK_CUR)                           = 637 (0x27d)
read(10,"NAReceived: from nr-drn.pairerci"...,4096) = 1785 (0x6f9)
lseek(10,0x528,SEEK_SET)                         = 1320 (0x528)
lseek(10,0x0,SEEK_CUR)                           = 1320 (0x528)
lseek(10,0x528,SEEK_SET)                         = 1320 (0x528)
lseek(10,0x0,SEEK_CUR)                           = 1320 (0x528)
read(10,"N\^[Top medical alert companiesN"...,4096) = 1102 (0x44e)
pipe(0xbfbfe724)                                 = 0 (0x0)
ioctl(18,TIOCGETA,0xbfbfe570)                    ERR#25 'Inappropriate
ioctl for device'
lseek(18,0x0,SEEK_CUR)                           ERR#29 'Illegal seek'
ioctl(19,TIOCGETA,0xbfbfe570)                    ERR#25 'Inappropriate
ioctl for device'
lseek(19,0x0,SEEK_CUR)                           ERR#29 'Illegal seek'
fcntl(18,F_SETFD,FD_CLOEXEC)                     = 0 (0x0)
fcntl(19,F_SETFD,FD_CLOEXEC)                     = 0 (0x0)
lseek(10,0x965,SEEK_SET)                         = 2405 (0x965)
lseek(10,0x0,SEEK_CUR)                           = 2405 (0x965)
fork()                                           = 92121 (0x167d9)
close(19)                                        = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGALRM,0x0)               = 0 (0x0)
sigaction(SIGALRM,{ 0x28112200 0x0 ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)                 = 0 (0x0)
setitimer(0,{0.000000, 150.000000 },{0.000000, 0.000000 }) = 0 (0x0)

Make a notice of the ERR# messages in the above output ...

ps ax | grep "MailS" show me that the MS processes was waiting to
deliver Uninfedted messages ....

When running "top" ..... the State of the processes was "fifoow" and
someone told me it was a locking issue ... :-s

But ... I'm still investigating things ... but if anyone got ideas ...
do please let me know.

Thanks
Mikael Syska

On Tue, Sep 28, 2010 at 4:46 PM, Hugo van der Kooij
<hvdkooij at vanderkooij.org> wrote:
> On Sun, 26 Sep 2010 08:28:37 +0200, Mikael Syska <mikael at syska.dk> wrote:
>
>> I have another system ... almost identical ... that works just fine.
>
> Almost identical doesn't count with computers ;-)
>
> What is the exact perl version on both systems?
>
> Hugo.
>
> --
> hvdkooij at vanderkooij.org   http://hugo.vanderkooij.org/
> PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>


More information about the MailScanner mailing list