Content-Transfer-Encoding: plain

----- Original Message -----
From: "Trog" <[EMAIL PROTECTED]>
To: "ClamAV users ML" <clamav-users@lists.clamav.net>
Sent: Tuesday, January 25, 2005 11:02 AM
Subject: Re: [Clamav-users] Problem with clamd hanging

>
> > Tried on 1 box that had the problem.
>>  Compiled zlib 1.2.2-1 from source, with shared libraries.
> > This morning it happened again.... Is there anything else we can try or
>>  check to try solve this?
> > thanks,
> > shaun bugler

> attach gdb to the running clamd and do a backtrace *in each thread* when
> it crashes or stops responding
>
> >
> > PS: you say its a zlib problem, what specifically is this problem?
>
> It seg faults due to not handling an error correctly.
>
> -trog
While I was waiting to get a new version of gdb, I saw the problem appearing
again.
I saved the emails and retried scanning, it stalled again...
Did a strace:

shmat(4, 0x3, 0x3)                      = -1 ENOSYS (Function not
implemented)
fcntl(4, F_GETFL)                       = 0x2 (flags O_RDWR)
fstat(4, {st_mode=S_IFLNK|S_ISVTX|0254, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40018000
_llseek(0x4, 0, 0, 0xbfffe680, 0x1)     = -1 ESPIPE (Illegal seek)
read(4,

and thats there it stopped. I did a clamscan and got:

[EMAIL PROTECTED] dd]# clamscan 1106645880.4304-0.mail1a.your-server.co.za
LibClamAV Warning: Unknown encoding type "plain" - report to [EMAIL PROTECTED]
1106645880.4304-0.mail1a.your-server.co.za: OK

I investigatd further and found the following line was causing the problem:
Content-Transfer-Encoding: plain

Once removed the emails went through fine. Should I report this to [EMAIL 
PROTECTED]
or is this a know
problem?

thanks,
shaun bugler


> _______________________________________________
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to