Re: Bug report

Rainer Link <rainer-pBPPa8WU5k41Tgt60Rntydi2O/[email protected]> Thu, 06 Nov 2003 00:34:39 +0100
Newsgroups gmane.comp.security.virus.openantivirus.general
Organization http://www.reniar.de/
Message-ID <[email protected]>

Moritz Both wrote:

[..]
> [2003/11/04 12:26:54, 10] global/vscan-fileaccesslog.c:lrufiles_add(132)
>   alloc space for file entry '/home/moritz/TheBat/The Bat Mail/ACCOUNT.LOG'
> [2003/11/04 12:26:54, 10] global/vscan-fileaccesslog.c:lrufiles_add(145)
>   lru maximum reached '100'
> [2003/11/04 12:26:54, 0] lib/fault.c:fault_report(38)
>   ===============================================================
> [2003/11/04 12:26:54, 0] lib/fault.c:fault_report(39)
>   INTERNAL ERROR: Signal 11 in pid 3888 (2.2.7-security-rollup-fix)
>   Please read the file BUGS.txt in the distribution
> [2003/11/04 12:26:54, 0] lib/fault.c:fault_report(41)
>   ===============================================================
> [2003/11/04 12:26:54, 0] lib/util.c:smb_panic(1094)
>   PANIC: internal error

Looks like a bug in vscan-fileaccesslog.c, to be more precise when
lru list reached the maximum.

[..]

> Note that when we comment the "vfs object =" lines and thus disable
> the scanning, the error never appears. This is why we believe that
> samba-vscan is probably the cause.
Most likely, yes.


[..]
> ; as Windows tries to open a file multiple time in a (very) short time
> ; of period, samba-vscan use a last recently used file mechanism to avoid
> ; multiple scans of a file. This setting specified the maximum number of
> ; elements of the last recently used file list. If set to 0, this
> ; mechanism is disabled completely (default: 100)
> max lru files entries = 100

Could you please set this setting to zero (0) and see whether smbd 
crashes or not?

I'll have a closer look at this issue tomorrow, hopefully. Thanks for
the detailed report.

best regards,
Rainer Link



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/