Mailing List Archive

clamd hang - Seg fault on new database.
This is with the 20031013 snapshot. Looks like clamd doesn't like loading a
new database.

#0 0x400cfb14 in _fwalk ()
#1 0x400cf7e5 in _cleanup ()
#2 0x400d29f4 in exit ()
#3 0x58f8 in sighandler ()
#4 0x40055074 in _dispatch_signal ()
#5 0x40055139 in _dispatch_signals ()
#6 0x40054979 in _thread_sig_handler ()
#7 0x4000a004 in ?? ()
#8 0x400be4e2 in fopen ()
#9 0x400273c0 in cl_loaddb ()
#10 0x40027a9c in cl_loaddbdir ()
#11 0x4b0b in threadwatcher ()
#12 0x4004a151 in _thread_start ()
#13 0x1f in ?? ()
Error accessing memory address 0xffffffff: Invalid argument.

In clam's log I have:
Fri Oct 17 06:03:40 2003 -> SelfCheck: Database modification detected. Forcing
reload.
Fri Oct 17 06:03:40 2003 -> SelfCheck: Integrity OK
Fri Oct 17 06:03:40 2003 -> Reading databases from /usr/local/share/clamav
Fri Oct 17 06:03:40 2003 -> Segmentation fault :-( Bye..

Which then leads to clamd going into a loop and load soars.

Oct 17 06:05:03 ns sm-mta[23744]: delaying connections on daemon MTA: load
average=4 >= 4
Oct 17 06:06:35 ns sm-mta[23744]: delaying connections on daemon MTA: load
average=8 >= 4

FWIW this is an OpenBSD 3.3-stable machine on x86.
--
Craig
Re: clamd hang - Seg fault on new database. [ In reply to ]
On Fri, 17 Oct 2003 09:19:45 +1000
Craig Barraclough <craigba@creative.com.au> wrote:

> This is with the 20031013 snapshot. Looks like clamd doesn't like
> loading a new database.
>
> #0 0x400cfb14 in _fwalk ()
> #1 0x400cf7e5 in _cleanup ()
> #2 0x400d29f4 in exit ()
> #3 0x58f8 in sighandler ()
> #4 0x40055074 in _dispatch_signal ()
> #5 0x40055139 in _dispatch_signals ()
> #6 0x40054979 in _thread_sig_handler ()
> #7 0x4000a004 in ?? ()
> #8 0x400be4e2 in fopen ()
> #9 0x400273c0 in cl_loaddb ()
> #10 0x40027a9c in cl_loaddbdir ()
> #11 0x4b0b in threadwatcher ()
> #12 0x4004a151 in _thread_start ()
> #13 0x1f in ?? ()
> Error accessing memory address 0xffffffff: Invalid argument.
>
> In clam's log I have:
> Fri Oct 17 06:03:40 2003 -> SelfCheck: Database modification detected.
> Forcing reload.
> Fri Oct 17 06:03:40 2003 -> SelfCheck: Integrity OK
> Fri Oct 17 06:03:40 2003 -> Reading databases from
> /usr/local/share/clamav Fri Oct 17 06:03:40 2003 -> Segmentation fault
> :-( Bye..

This is already fixed, but public CVS server is out of sync (due to SF
problems).

Best regards,
Tomasz Kojm
--
oo ..... zolw@konarski.edu.pl
(\/)\......... http://www.konarski.edu.pl/~zolw
\..........._ I nie zapomnij kliknac w brzuszek...
//\ /\\ <- C. Amboinensis www.pajacyk.pl
Re: clamd hang - Seg fault on new database. [ In reply to ]
On Sunday 19 October 2003 04:33, Tomasz Kojm wrote:
> This is already fixed, but public CVS server is out of sync (due to SF
> problems).
>

Just a quick follow-up, installed 20031020 snapshot, and database reload seems
fine.
Tue Oct 21 10:35:03 2003 -> Reading databases from /usr/local/share/clamav
Tue Oct 21 10:35:04 2003 -> Database correctly reloaded (9877 viruses)
(Much better than the old:
Fri Oct 17 06:03:40 2003 -> Reading databases from /usr/local/share/clamav
Fri Oct 17 06:03:40 2003 -> Segmentation fault :-( Bye..
messages)

Many thanks,
Craig
Re: clamd hang - Seg fault on new database. [ In reply to ]
On Sunday 19 October 2003 04:33, Tomasz Kojm wrote:
> This is already fixed, but public CVS server is out of sync (due to SF
> problems).
>

Just a quick follow-up, installed 20031020 snapshot, and database reload seems
fine.
Tue Oct 21 10:35:03 2003 -> Reading databases from /usr/local/share/clamav
Tue Oct 21 10:35:04 2003 -> Database correctly reloaded (9877 viruses)
(Much better than the old:
Fri Oct 17 06:03:40 2003 -> Reading databases from /usr/local/share/clamav
Fri Oct 17 06:03:40 2003 -> Segmentation fault :-( Bye..
messages)

Many thanks,
Craig
Re: clamd hang - Seg fault on new database. [ In reply to ]
On Tue, 21 Oct 2003 10:42:10 +1000
Craig Barraclough <craigba@users.sourceforge.net> wrote:

> On Sunday 19 October 2003 04:33, Tomasz Kojm wrote:
> > This is already fixed, but public CVS server is out of sync (due to
> > SF problems).
> >
>
> Just a quick follow-up, installed 20031020 snapshot, and database
> reload seems fine.
> Tue Oct 21 10:35:03 2003 -> Reading databases from
> /usr/local/share/clamav Tue Oct 21 10:35:04 2003 -> Database correctly
> reloaded (9877 viruses)(Much better than the old:
> Fri Oct 17 06:03:40 2003 -> Reading databases from
> /usr/local/share/clamav Fri Oct 17 06:03:40 2003 -> Segmentation fault
> :-( Bye.. messages)

Yeah, this is finally fixed :))

Best regards,
Tomasz Kojm
--
oo ..... zolw@konarski.edu.pl
(\/)\......... http://www.konarski.edu.pl/~zolw
\..........._ I nie zapomnij kliknac w brzuszek...
//\ /\\ <- C. Amboinensis www.pajacyk.pl