Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: win32

Clamd crashing periodically

 

 

ClamAV win32 RSS feed   Index | Next | Previous | View Threaded


jason at emeraldtechnologyinc

Feb 28, 2007, 7:17 PM

Post #1 of 5 (2726 views)
Permalink
Clamd crashing periodically

Hello all,



I am having a problem with the latest build crashing as a service (ClamD).
I am using the latest Tools and W32 version from the site.



Here is the exception:



The application, C:\Program Files\clamAV\clamd.exe, generated an application
error The error occurred on 02/28/2007 @ 18:41:29.619 The exception
generated was c0000005 at address 78180312 (MSVCR80!memchr)



Faulting application clamd.exe, version 0.0.0.0, faulting module
msvcr80.dll, version 8.0.50727.762, fault address 0x00050312



This is happening about twice a day, and I am not sure why. I am using the
clamdscan.exe called from an app to scan my inbound email.

If there is any logging I can turn on to help diagnose the problem please
let me know. More than happy to help out.



I was also curious about how to detect the service had crashed. I tried to
set the recovery settings for the service, but that does not work. The
service actually starts Clamd.exe. So when Clamd.exe crashed the
clamservice is still running. I can't use the built in recovery tools to
detect that. Shouldn't the service wrapper detect if the underlying service
has crashed and restart it, or at least shutdown so the SCM in windows can
detect the service is dead.



Right now I am calling clamdscan.exe and if that returns an error code of 2
then I try clamscan.exe. That seems to be OK, but not a good solution.



I love the system, it works great.



Jason Short, Ph.D.

Emerald Technology, Inc.





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


njh at bandsman

Mar 1, 2007, 1:24 AM

Post #2 of 5 (2623 views)
Permalink
Re: Clamd crashing periodically [In reply to]

Jason S Short, Ph.D. wrote:
> Hello all,
>
>
>
> I am having a problem with the latest build crashing as a service (ClamD).
> I am using the latest Tools and W32 version from the site.
>
>
>
> Here is the exception:
>
>
>
> The application, C:\Program Files\clamAV\clamd.exe, generated an application
> error The error occurred on 02/28/2007 @ 18:41:29.619 The exception
> generated was c0000005 at address 78180312 (MSVCR80!memchr)

Please try the "debug" version and see if that gives any useful information (http://w32.clamav.net/clamAV-debug.msi)

>
>
> Jason Short, Ph.D.
>
> Emerald Technology, Inc.


--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh [at] bandsman http://www.bandsman.co.uk


jason at emeraldtechnologyinc

Mar 1, 2007, 7:40 AM

Post #3 of 5 (2618 views)
Permalink
RE: Clamd crashing periodically [In reply to]

>> Please try the "debug" version and see if that gives any useful
information (http://w32.clamav.net/clamAV-debug.msi)


Within about 10 seconds I get the following:

DEBUG Assert
Program: Clamd.exe
File: isctype.c
Line: 56
Expression: (unsigned)(c+1)<=256





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


njh at bandsman

Mar 1, 2007, 8:32 AM

Post #4 of 5 (2621 views)
Permalink
RE: Clamd crashing periodically [In reply to]

> >> Please try the "debug" version and see if that gives any useful
> information (http://w32.clamav.net/clamAV-debug.msi)
>
>
> Within about 10 seconds I get the following:
>
> DEBUG Assert
> Program: Clamd.exe
> File: isctype.c
> Line: 56
> Expression: (unsigned)(c+1)<=256

Try the debug version I've just uploaded, which I hope will address this
issue.

-Nigel

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


clamav-win32 at subscriptions

Mar 5, 2007, 1:56 PM

Post #5 of 5 (2626 views)
Permalink
RE: Clamd crashing periodically [In reply to]

On Thursday, March 01, 2007 8:33 AM, Nigel Horne wrote:
> > >> Please try the "debug" version and see if that gives any useful
> > information (http://w32.clamav.net/clamAV-debug.msi)
> >
> >
> > Within about 10 seconds I get the following:
> >
> > DEBUG Assert
> > Program: Clamd.exe
> > File: isctype.c
> > Line: 56
> > Expression: (unsigned)(c+1)<=256
>
> Try the debug version I've just uploaded, which I hope will address
this
> issue.
>
> -Nigel

Please review the patch just posted to Bug 93 on
https://www.clamav.net/bugzilla

I'm pretty sure the behavior people are seeing is the same I originally
reported and would be fixed by the updated patch.

- Mark

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

ClamAV win32 RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.