Hello,

I'm running clamav 0.965 on a G5 with OS X Server 10.4.11.

A launchdaemon automatically kicks off an overnight scan by sending a command 
to clamdscan.

Starting last night, clamd began crashing while scanning a certain directory 
(crash log at the end of this message).

Calling clamscan manually to scan that same directory runs successfully. 
Nothing bad is found.

Clamd is running as root on this machine.

What is the most practical way to debug and correct this problem?

-----------------
Russ Tyndall
Wake Forest, NC

*************

Host Name:      OurFileServer
Date/Time:      2011-03-11 08:33:17.454 -0500
OS Version:     10.4.11 (Build 8S169)
Report Version: 4

Command: clamd
Path:    /usr/local/sbin/clamd
Parent:  launchd [1]

Version: ??? (???)

PID:    2738
Thread: 2

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0:
0   libSystem.B.dylib   0x900c7600 poll + 12
1   clamd               0x0000dbdc fds_poll_recv + 468 (others.c:506)
2   clamd               0x0000b628 recvloop_th + 3440 (server-th.c:1114)
3   clamd               0x000069b8 main + 4344 (clamd.c:589)
4   clamd               0x00002094 _start + 760
5   clamd               0x00001d98 start + 48

Thread 1:
0   libSystem.B.dylib   0x900c7600 poll + 12
1   clamd               0x0000dbdc fds_poll_recv + 468 (others.c:506)
2   clamd               0x00009e1c acceptloop_th + 104 (server-th.c:328)
3   libSystem.B.dylib   0x9002b908 _pthread_body + 96

Thread 2 Crashed:
0   libSystem.B.dylib   0x90002dc8 strlen + 8
1   libSystem.B.dylib   0x90011c1c __vfprintf + 5768
2   libSystem.B.dylib   0x9002a38c vsnprintf + 300
3   libclamav.6.dylib   0x002b1c30 cli_dbgmsg_internal + 96 
(others_common.c:160)
4   libclamav.6.dylib   0x0025d1a8 pdf_extract_obj + 2004 (pdf.c:736)
5   libclamav.6.dylib   0x0025dfac cli_pdf + 1516 (pdf.c:1120)
6   libclamav.6.dylib   0x0021a3f8 cli_scanpdf + 148 (scanners.c:1472)
7   libclamav.6.dylib   0x0021c498 magic_scandesc + 4168 (scanners.c:2261)
8   libclamav.6.dylib   0x0021cb28 cl_scandesc_callback + 188 (scanners.c:2445)
9   libclamav.6.dylib   0x0021ccd4 cl_scanfile_callback + 84 (scanners.c:2503)
10  clamd               0x0000c364 scan_callback + 944 (scanner.c:232)
11  libclamav.6.dylib   0x002b2b54 cli_ftw_dir + 1068 (others_common.c:771)
12  libclamav.6.dylib   0x002b2b54 cli_ftw_dir + 1068 (others_common.c:771)
13  libclamav.6.dylib   0x002b2b54 cli_ftw_dir + 1068 (others_common.c:771)
14  libclamav.6.dylib   0x002b2b54 cli_ftw_dir + 1068 (others_common.c:771)
15  libclamav.6.dylib   0x002b270c cli_ftw + 488 (others_common.c:607)
16  clamd               0x00007860 command + 1468 (session.c:373)
17  clamd               0x00009850 scanner_thread + 76 (server-th.c:107)
18  clamd               0x0000911c thrmgr_worker + 292 (thrmgr.c:653)
19  libSystem.B.dylib   0x9002b908 _pthread_body + 96

Thread 2 crashed with PPC Thread State 64:
  srr0: 0x0000000090002dc8 srr1: 0x100000000200d030                        
vrsave: 0x0000000000000000
    cr: 0x24088204          xer: 0x0000000000000000   lr: 0x0000000090011c1c  
ctr: 0x0000000090002dc0
    r0: 0x0000000090011c1c   r1: 0x00000000f01802a0   r2: 0x00000000f0180f7c   
r3: 0x0000000000000001
    r4: 0x00000000f018041b   r5: 0x0000000000000001   r6: 0x0000000000000031   
r7: 0xffffffffffffffff
    r8: 0x00000000f0180419   r9: 0x0000000000000000  r10: 0x0000000000000004  
r11: 0x00000000a00061c0
   r12: 0x0000000090002dc0  r13: 0x0000000000000001  r14: 0x0000000000000000  
r15: 0x0000000000000000
   r16: 0x00000000f0181120  r17: 0x00000000a00022e0  r18: 0x00000000002cfad4  
r19: 0xffffffffffffffff
   r20: 0x00000000f01809b8  r21: 0x0000000000000073  r22: 0x00000000f0180320  
r23: 0x0000000000000000
   r24: 0x0000000000000029  r25: 0x0000000000000001  r26: 0x0000000000000000  
r27: 0x0000000000000029
   r28: 0x00000000002cfad2  r29: 0x00000000f0180328  r30: 0x00000000002cfaca  
r31: 0x000000009001059c

Binary Images Description:
    0x1000 -    0x19fff clamd   /usr/local/sbin/clamd
   0x50000 -    0x5dfff libbz2.1.0.dylib        /opt/local/lib/libbz2.1.0.dylib
   0x78000 -    0x79fff libclamunrar_iface.so   
/usr/local/lib/libclamunrar_iface.so
   0x80000 -    0x8afff libclamunrar.6.dylib    
/usr/local/lib/libclamunrar.6.dylib
  0x205000 -   0x2eafff libclamav.6.dylib       /usr/local/lib/libclamav.6.dylib
0x8fe00000 - 0x8fe52fff dyld 46.16      /usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib       /usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib   
/usr/lib/system/libmathCommon.A.dylib
0x91112000 - 0x91120fff libz.1.dylib    /usr/lib/libz.1.dylib
0x91434000 - 0x9143ffff libgcc_s.1.dylib        /usr/lib/libgcc_s.1.dylib
0x92a07000 - 0x92af5fff libiconv.2.dylib        /usr/lib/libiconv.2.dylib





_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to