On Wed, 2006-12-06 at 14:33 +0000, Martin Hillier wrote:
> Hi,
> 
> I have a problem with clamav-milter crashing
> 
> running: 
>     clamav-milter -D -lo /var/run/clamav/clmilter.sock -q -m 10 -x 9
> 
> When i send a fairly empty email (just headers) or any email i get the 
> following:
> 
> LibClamAV debug: watchdog sleeps
> LibClamAV debug: clamav-milter [0x805aaa7]
> LibClamAV debug: clamav-milter [0x805aeba]
> LibClamAV debug: clamav-milter [0x805832a]
> LibClamAV debug: clamav-milter [0x8056b6d]
> LibClamAV debug: /lib/libpthread.so.0 [0x3de3db]
> LibClamAV debug: /lib/libc.so.6(clone+0x5e) [0x33806e]
> ERROR: Segmentation fault :-( Bye..
> Segmentation fault
> 
> System Details: 
> ===========
> 
> uname -mrsp
> Linux 2.6.18-1.2849.fc6 i686 i686
> 
> Sendmail 8.13.8
> 
> GNU C Library stable release version 2.5
> GNU CC version 4.1.1
> 
> I have tried these versions:
> 
> 0.88.6
> 0.90rc2
> ClamAV devel-20061206/2292/Wed Dec  6 11:00:54 2006
> ClamAV version devel-20061206, clamav-milter version devel-021206
> 
> Back Trace:
> =========
> 
> [New Thread -1234830448 (LWP 26269)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1234830448 (LWP 26269)]
> 0x002d75b0 in strncpy () from /lib/libc.so.6
> (gdb) bt
> #0  0x002d75b0 in strncpy () from /lib/libc.so.6
> #1  0x0804fa94 in clamfi_eom (ctx=0xab1b758) at clamav-milter.c:3206
> #2  0x0805aaa7 in st_bodyend ()
> #3  0x0805aeba in mi_engine ()
> #4  0x0805832a in mi_handle_session ()
> #5  0x08056b6d in mi_thread_handle_wrapper ()
> #6  0x003de3db in start_thread () from /lib/libpthread.so.0
> #7  0x0033806e in clone () from /lib/libc.so.6
> (gdb) info threads

Interesting. Naturally it shouldn't crash there and I can see what's
probably wrong and can fix it. 

In the meantime, please double check your /etc/hosts file is right.

> Martin.

-Nigel

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to