<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://blueirissoftware.com/forum/app.php/feed/topic/2487" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2021-07-28T18:29:17+00:00</updated>

	<author><name><![CDATA[Blue Iris]]></name></author>
	<id>https://blueirissoftware.com/forum/app.php/feed/topic/2487</id>

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-07-28T18:29:17+00:00</updated>

		<published>2021-07-28T18:29:17+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=9826#p9826</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=9826#p9826"/>
		<title type="html"><![CDATA[Windows Events]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=9826#p9826"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>Unfortunately, BI can crash on occasion.  The Windows Event may provide some hints as to the cause of the instability.  The <a href="https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55" class="postlink">Windows Exception codes</a> article lists all the Windows exceptions.<br><br>The Windows Event Viewer section explains how to leverage Windows Event Viewer to identify when BI started crashing.  From there, you can use the BI logs to determine which BI version started the instability.  Valuable information to share with support.<br><br>The Windows Exceptions section explains known errors and what to do next.  FYI, there is plenty of documentation regarding different Windows Exception Codes.  A simple Google search for "windows exception code &lt;code number&gt;", e.g. "windows exception code 0xc0000005" will bring up many articles on the issue.<br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Windows Event Viewer</strong></span><div style="margin-left:3em"><br>This section explains how to leverage Windows Event Viewer to identify when BI started crashing.  From there, you can use the BI logs to determine which BI version started the instability.  Valuable information to share with support.<br><br>Sort the Application log by errors and determine which version introduced the crash.<br>Right click on Application -&gt; Filter Current Log<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2160" class="postimage" alt="windows events_filter.png" onclick="viewableArea(this);" /></dt></dl></div><br>Scroll down until you find the first time BI crashed.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2161" class="postimage" alt="windows events_first crash.png" onclick="viewableArea(this);" /></dt></dl></div><br>Look in BI logs to determine which version was running.<div style="margin-left:3em"><br>In this example, the crashes started for you on Oct. 29 at 3.53 pm.  Find the corresponding version that was running.  All I did was search for Stopped.<br>0 10/29/2021 4:18:19.589 PM App                 Stopped<br><br>A few lines after I see the version that was started.<br>0 10/29/2021 4:18:26.869 PM App                 Started version 5.5.1.18<br><br>Since 4:18 PM was after 3:35 PM I went to the previous stopped event.<br><br>0 10/29/2021 7:47:50.688 AM App                 Stopped<br>0 10/29/2021 7:47:56.454 AM App                 Intel video hardware detected<br>0 10/29/2021 7:47:56.454 AM App                 Nvidia video hardware detected<br>0 10/29/2021 7:47:56.454 AM App                 Graphics hardware vendorID 1414<br>0 10/29/2021 7:47:56.457 AM App                 Started version 5.5.1.18</div><br>So from my logs I know the version that was running at 3:35 PM was 5.5.1.18 since the next Stopped event was at 4:18 PM.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Windows Exceptions">Windows Exceptions</a></strong></span><div style="margin-left:3em"><br><strong class="text-strong">Exception code: 0xc0000005</strong><br><div class="codebox"><p>Code: </p><pre><code>Faulting application name: BlueIris.exe, version: 5.4.9.1, time stamp: 0x60d742f2Faulting module name: BlueIris.exe, version: 5.4.9.1, time stamp: 0x60d742f2[b]Exception code: 0xc0000005[/b]Fault offset: 0x0000000000d188d6Faulting process id: 0x27d8Faulting application start time: 0x01d76ac5acaea843Faulting application path: C:\Program Files\Blue Iris 5\BlueIris.exeFaulting module path: C:\Program Files\Blue Iris 5\BlueIris.exeReport Id: ffeed7ef-7251-46c9-a157-111a0085cb3a</code></pre></div>Exception code: 0xc0000005 means BI is accessing a memory location that is not assigned to it.  But because BI is constantly creating / reading / writing / deleting memory, it's impossible to know the underlying cause.  In addition, it could be bad storage or memory hardware that is causing the issue.  Again, in and of itself, these errors never point to the root cause.<br><br>However, the <strong class="text-strong">Faulting module path</strong> is the BI executable and it may be possible to use the fault offset to get to the underlying code causing the crash.  Therefore, good to report the problem to Support.<br><br>If you search on the web, many articles regarding the Windows 0xc0000005 error (example below).<br><a href="https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/" class="postlink">https://www.ionos.com/digitalguide/serv ... 05-errors/</a><br><br><br><strong class="text-strong">Exception code: 0xc0000374</strong><br><div class="codebox"><p>Code: </p><pre><code>Faulting application name: BlueIris.exe, version: 5.4.7.3, time stamp: 0x60afe6e9Faulting module name: ntdll.dll, version: 10.0.19041.964, time stamp: 0xbd2c3c23Exception code: 0xc0000374Fault offset: 0x00000000000ff199Faulting process id: 0x113cFaulting application start time: 0x01d75389be095104Faulting application path: C:\Program Files\Blue Iris 5\BlueIris.exeFaulting module path: C:\Windows\SYSTEM32\ntdll.dllReport Id: ec002b2f-6043-41af-9421-471eb677ca83</code></pre></div>The 0xc0000374 exception code only states there is a heap issue, which if you are not a programmer, means an error occurred accessing memory.  BI accesses memory many, many times per second so this by itself will not result in resolution.  Furthermore, these errors can also be due to many other reasons like Antivirus software is in conflict with the BI application.<br><br>What makes this particular event more challenging is the <strong class="text-strong">Faulting module path</strong> is a Windows library (ntdll.dll) and thus using the offset to get to the underlying code is not possible.<br><br><br><strong class="text-strong">Faulting module path: unknown</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2531" class="postimage" alt="windows events_module unknown.png" onclick="viewableArea(this);" /></dt></dl></div><br>A crash in "unknown" is almost always a problem with antivirus.  Run through the Windows Tuning article just to make sure Windows is not in conflict with BI.  Pay attention to Anti-virus and Firewall sections.<br><a href="https://blueirissoftware.com/forum/viewtopic.php?f=23&amp;t=2426" class="postlink">https://blueirissoftware.com/forum/view ... =23&amp;t=2426</a><br><br>It could also be a problem with hardware decoding drivers.  Turn off hardware acceleration and see if stability returns.<br><br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed Jul 28, 2021 6:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
