<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Universal Forwarder Crash _initCrcLen' failed. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Crash-initCrcLen-failed/m-p/298626#M56486</link>
    <description>&lt;P&gt;As a general rule, if you get an assertion that's a sign you need to submit a support case.  To truly look into an assertion requires access to the source code, and few if any of us in the community have such rights.  &lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2017 04:12:42 GMT</pubDate>
    <dc:creator>dwaddle</dc:creator>
    <dc:date>2017-02-15T04:12:42Z</dc:date>
    <item>
      <title>Universal Forwarder Crash _initCrcLen' failed.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Crash-initCrcLen-failed/m-p/298623#M56483</link>
      <description>&lt;P&gt;I have a universal forwarder running that picks up bluecoat logs from a directory. Everything works as expected, however every couple of hours the forwarder randomly crashes with the following error message in splunkd_stderr.log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunkd: /home/build/build-src/ivory/src/pipeline/input/ArchiveProcessor.cpp:1062: bool ArchiveCrcChecker::write(const char*, size_t): Assertion `_dataProv.curPos() &amp;lt; _initCrcLen' failed.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The files are compressed and contain headers which may be part of my issue but I'd like to know a bit more what this error message is referring to. The forwarder crashed almost constantly before I added the initCrcLength = 1000. I plan to try and increase this number to see if it helps but my headers only tend to be 400-500 bytes.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Inputs.conf
    [batch:///logs/proxy/splunkwatch/SG_*.log.gz]
    source = file.bluecoat
    sourcetype = bluecoat:proxysg:access:file
    disabled = false
    index = proxy
    move_policy = sinkhole
    initCrcLength = 1000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The files are unique with a date/time stamp so I thought about using crcSalt =  however splunk doesn't seem to read the files at all using that.&lt;/P&gt;

&lt;P&gt;Thoughts on what may be going on?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 18:53:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Crash-initCrcLen-failed/m-p/298623#M56483</guid>
      <dc:creator>Kieffer87</dc:creator>
      <dc:date>2017-02-14T18:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Universal Forwarder Crash _initCrcLen' failed.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Crash-initCrcLen-failed/m-p/298624#M56484</link>
      <description>&lt;P&gt;Which version of the forwarder are you using? We had crashes saying &lt;CODE&gt;StatWrap::isDir() const: Assertion&lt;/CODE&gt;_valid' failed` and by upgrading from 6.3.1 to 6.5, the problem got cleared. &lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 20:32:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Crash-initCrcLen-failed/m-p/298624#M56484</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-02-14T20:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Universal Forwarder Crash _initCrcLen' failed.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Crash-initCrcLen-failed/m-p/298625#M56485</link>
      <description>&lt;P&gt;Running a fresh install of 6.5.2&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 20:33:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Crash-initCrcLen-failed/m-p/298625#M56485</guid>
      <dc:creator>Kieffer87</dc:creator>
      <dc:date>2017-02-14T20:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Universal Forwarder Crash _initCrcLen' failed.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Crash-initCrcLen-failed/m-p/298626#M56486</link>
      <description>&lt;P&gt;As a general rule, if you get an assertion that's a sign you need to submit a support case.  To truly look into an assertion requires access to the source code, and few if any of us in the community have such rights.  &lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 04:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Crash-initCrcLen-failed/m-p/298626#M56486</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2017-02-15T04:12:42Z</dc:date>
    </item>
  </channel>
</rss>

