<div dir="ltr"><div dir="ltr">I believe I already supplied all that way back when I opened up this bug report. But for reference, here it is again:<input name="virtru-metadata" type="hidden" value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"expires":false,"isManaged":false},"attachments":{},"compose-id":"2","compose-window":{"secure":false}}"><div><br></div><div>1) Standard kernel boot params that come after a vanilla Debian install (ie: I have not modified them).</div><div><br></div><div>2) Config file is below. All I "do" is 'service clamav-daemon start' and wait about 90 seconds and the system is unresponsive. This seems to be related to the scan-on-access feature doing blocking I/O/deadlocking in some way. I can speed up the crash by doing something like 'cat ~/somefile > /dev/null' or otherwise reading files in one of the ScanOnAccess folders. </div><div><br></div><div><br></div><div>Clamd.conf is cut/pasted below:</div><div># -- begin</div><div><div>LocalSocket /var/run/clamav/clamd.ctl</div><div>FixStaleSocket true</div><div>LocalSocketGroup clamav</div><div>LocalSocketMode 666</div><div>#PreludeEnable no</div><div>#PreludeAnalyzerName ClamAV</div><div># TemporaryDirectory is not set to its default /tmp here to make overriding</div><div># the default with environment variables TMPDIR/TMP/TEMP possible</div><div>User root</div><div>ScanMail true</div><div>ScanArchive true</div><div>ArchiveBlockEncrypted false</div><div>MaxDirectoryRecursion 15</div><div>FollowDirectorySymlinks false</div><div>FollowFileSymlinks false</div><div>ReadTimeout 180</div><div>MaxThreads 12</div><div>MaxConnectionQueueLength 15</div><div>LogSyslog true</div><div>LogRotate true</div><div>LogFacility LOG_LOCAL6</div><div>LogClean false</div><div>LogVerbose false</div><div>DatabaseDirectory /var/lib/clamav</div><div>OfficialDatabaseOnly false</div><div>SelfCheck 3600</div><div>Foreground false</div><div>Debug false</div><div>ScanPE true</div><div>MaxEmbeddedPE 10M</div><div>ScanOLE2 true</div><div>ScanPDF true</div><div>ScanHTML true</div><div>MaxHTMLNormalize 10M</div><div>MaxHTMLNoTags 2M</div><div>MaxScriptNormalize 5M</div><div>MaxZipTypeRcg 1M</div><div>ScanSWF true</div><div>DetectBrokenExecutables false</div><div>ExitOnOOM false</div><div>LeaveTemporaryFiles false</div><div>AlgorithmicDetection true</div><div>ScanELF true</div><div>IdleTimeout 30</div><div>CrossFilesystems true</div><div>PhishingSignatures true</div><div>PhishingScanURLs true</div><div>PhishingAlwaysBlockSSLMismatch false</div><div>PhishingAlwaysBlockCloak false</div><div>PartitionIntersection false</div><div>DetectPUA false</div><div>ScanPartialMessages false</div><div>HeuristicScanPrecedence false</div><div>StructuredDataDetection false</div><div>CommandReadTimeout 5</div><div>SendBufTimeout 200</div><div>MaxQueue 100</div><div>ExtendedDetectionInfo true</div><div>OLE2BlockMacros false</div><div># customized</div><div>ScanOnAccess true</div><div>#OnAccessMaxFileSize 5M</div><div>OnAccessPrevention true</div><div>OnAccessIncludePath /tmp</div><div>OnAccessIncludePath /home</div><div>OnAccessIncludePath /root</div><div># end customized</div><div>AllowAllMatchScan true</div><div>ForceToDisk false</div><div>DisableCertCheck false</div><div>DisableCache false</div><div>MaxScanSize 100M</div><div>MaxFileSize 25M</div><div>MaxRecursion 16</div><div>MaxFiles 10000</div><div>MaxPartitions 50</div><div>MaxIconsPE 100</div><div>PCREMatchLimit 10000</div><div>PCRERecMatchLimit 5000</div><div>PCREMaxFileSize 25M</div><div>ScanXMLDOCS true</div><div>ScanHWP3 true</div><div>MaxRecHWP3 16</div><div>StatsEnabled false</div><div>StatsPEDisabled true</div><div>StatsHostID auto</div><div>StatsTimeout 10</div><div>StreamMaxLength 25M</div><div>LogFile /var/log/clamav/clamav.log</div><div>LogTime true</div><div>LogFileUnlock false</div><div>LogFileMaxSize 0</div><div>Bytecode true</div><div>BytecodeSecurity TrustSigned</div><div>BytecodeTimeout 60000</div></div><div><br></div><div><br></div></div><br><div class="gmail_quote" style=""><div dir="ltr">On Sat, Nov 10, 2018 at 12:03 PM Sebastian Andrzej Siewior <sebastian@breakpoint.cc> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2018-11-08 15:15:57 [-0800], Adam Lambert wrote:<br>
> What do you need me to do to provide debug info on this?<br>
I would like to reproduce this. I would need the clamd.conf, kernel<br>
command line if something non-standard and what it is you do.<br>
<br>
If I can reproduce this on my Stretch VM then I try to forward this<br>
upstream or look myself.<br>
<br>
> Thanks,<br>
<br>
Sebastian<br>
</blockquote></div></div>