-->> Shark's website <<--

Shark's Help Forum

Search
  Create an account  
1 of 2 Possible Bugs...?

#1
Photo 
Hello –

1) Great job on the latest release !  Thank you for that.  I’ve noticed several improvements and some things that didn’t seem to work for me before, they now do.
2) I’ve got 2 possible bugs to detail for you.  I’ll detail one here and open up another topic for the other one. 

Let me know what you think.  Thanks, Matt.



My system setup (I also included a jpg of some system information for you):
Window 10 Version 20H2 (build 19042.906)
x64 - Installed both x86 & x64 during Icaros Install
Running Latest Icaros 3.2.0 Final Release
Running both Thumbnails/Properties Turned on, with Dynamic Cache, and choosing Most Common File Types

Possible Bug #1:  This issue is repeatable using the exact same file and trying to run it through the Debug.  See below for the initial error, analysis results of the DMP file, and the corresponding error in the Event Log.  In this example, its processing a .JPG file, however I can get it to trip up on processing the thumbnails for a video as well, such as an (.MP4).  I've attached a screen shot of the initial error via Icaros. Of course, clicking yes, opens up the dmp folder and the Icaros Application closes.  Below is as much "error" information as I could find (dmp file analysis, and also any entries generated in the Event Viewer.




Analysis of the DMP File:
Note:  I don’t have a lot of experience working with DMP files, but I did my best, hopefully this helps.



--------------------------------------------------------------------------------------------------------------------------------------------------
Microsoft ® Windows Debugger Version 10.0.19041.685 X86
Copyright © Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Users\mattr\AppData\Local\Temp\IcarosDebug\IcarosThumbnailProvider.dll-3.2.0.0-4.12.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: srv*
Executable search path is:
Windows 10 Version 19042 MP (24 procs) Free x64
Product: WinNt, suite: SingleUserTS Personal
19041.1.amd64fre.vb_release.191206-1406
Machine Name:
Debug session time: Mon Apr 12 21:32:27.000 2021 (UTC - 5:00)
System Uptime: not available
Process Uptime: 0 days 0:00:11.000
................................................................
...................................................
Loading unloaded module list
..
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(178.34d0): Access violation - code c0000005 (first/second chance not available)
For analysis of this file, run !analyze -v
ntdll!NtGetContextThread+0x14:
00007ffa`22a6ea44 c3              ret
0:011> !analyze -v
*******************************************************************************
*                                                                            *
*                        Exception Analysis                                  *
*                                                                            *
*******************************************************************************

*** WARNING: Unable to verify checksum for System.Core.ni.dll
*** WARNING: Unable to verify checksum for System.ni.dll
*** WARNING: Unable to verify checksum for WindowsBase.ni.dll
*** WARNING: Unable to verify checksum for PresentationFramework.ni.dll
*** WARNING: Unable to verify checksum for IcarosConfig.exe
*** WARNING: Unable to verify timestamp for avcodec-ics-58.dll

KEY_VALUES_STRING: 1

    Key  : AV.Fault
    Value: Read

    Key  : Analysis.CPU.Sec
    Value: 1

    Key  : Analysis.DebugAnalysisProvider.CPP
    Value: Create: 8007007e on CYBERPC

    Key  : Analysis.DebugData
    Value: CreateObject

    Key  : Analysis.DebugModel
    Value: CreateObject

    Key  : Analysis.Elapsed.Sec
    Value: 26

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 289

    Key  : Analysis.System
    Value: CreateObject

    Key  : CLR.Engine
    Value: CLR

    Key  : CLR.NOSOS
    Value: 1

    Key  : CLR.Version
    Value: 4.0.30319.0

    Key  : Timeline.Process.Start.DeltaSec
    Value: 11


NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

CONTEXT:  (.ecxr)
rax=0000000000000030 rbx=000000002a8fc060 rcx=000000001b0dd440
rdx=00000000026b0018 rsi=000000002a964780 rdi=0000000000400000
rip=00007ffa012314e0 rsp=000000001bdbe130 rbp=000000002a96f450
r8=000000000000005d  r9=0000000000384000 r10=0000000000000042
r11=0000000000000246 r12=000000001bdbe1b0 r13=0000000000000000
r14=000000002a715740 r15=14f63075b2d3a921
iopl=0        nv up ei pl nz ac po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b            efl=00010216
IcarosCache!ReleaseIIcarosCacheIndexing+0x1f60:
00007ffa`012314e0 440fb74208      movzx  r8d,word ptr [rdx+8] ds:00000000`026b0020=????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffa012314e0 (IcarosCache!ReleaseIIcarosCacheIndexing+0x0000000000001f60)
  ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
  Parameter[0]: 0000000000000000
  Parameter[1]: 00000000026b0020
Attempt to read from address 00000000026b0020

PROCESS_NAME:  IcarosConfig.exe

READ_ADDRESS:  00000000026b0020

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000000

EXCEPTION_PARAMETER2:  00000000026b0020

MISSING_CLR_SYMBOL: 0

ADDITIONAL_DEBUG_TEXT:  SOS.DLL is not loaded for managed code. Analysis might be incomplete

STACK_TEXT: 
00000000`1bdbe130 00007ffa`0122a4d1 : 00007ffa`01174640 00000000`2a8da6d0 00000000`00000004 00000000`00000000 : IcarosCache!ReleaseIIcarosCacheIndexing+0x1f60
00000000`1bdbe190 00007ffa`01172e73 : 00000000`00000019 00000000`1bdbe330 00000000`2a8122f0 00000000`00000000 : IcarosCache!GetIIcarosThumbnailCache+0xad1
00000000`1bdbe240 00007ffa`01172b85 : 00220000`00656a70 00007ff9`edd87750 00007ff9`edd87760 00007ff9`ed5a4e95 : IcarosThumbnailProvider!DllUnregisterServer+0x6c53
00000000`1bdbe310 00007ff9`8e09f5f9 : 00000000`2a812310 00000000`1bdbe4d0 00000000`1bdbe4c8 00000000`02f1f138 : IcarosThumbnailProvider!DllUnregisterServer+0x6965
00000000`1bdbe360 00007ff9`8e09e7df : 00000000`2a812310 00000000`1bdbe4d0 00000000`1bdbe4c8 00000000`00000500 : 0x00007ff9`8e09f5f9
00000000`1bdbe440 00007ff9`8e09e53f : 00000000`02a75fb8 00000000`02f1f138 00000000`1bdbe550 00007ff9`ebf059c0 : 0x00007ff9`8e09e7df
00000000`1bdbe510 00007ff9`e85eb4b8 : 00000000`02c9ae60 00000000`02dc8b10 00000000`02f1f138 00000000`02f34a20 : 0x00007ff9`8e09e53f
00000000`1bdbe5a0 00007ff9`ed5a1f4c : 00007ff9`8e1e4cd8 00000000`02f34a60 00000000`02c9ae60 00000000`02dc8b10 : System_Core_ni+0x5eb4b8
00000000`1bdbe650 00007ff9`8e09c114 : 00007ff9`8e1e4cd8 00000000`02f33580 00000000`02c9ae60 00000000`02dc8b10 : clr!InstantiatingMethodStubWorker+0xbc
00000000`1bdbe700 00007ff9`eb577d8b : 00000000`02cd2668 00000000`02cd3f00 00000000`02f481c0 00007ff9`ebeee6a8 : 0x00007ff9`8e09c114
00000000`1bdbe780 00007ff9`eb577c3c : 00000000`ebeee6a8 00000000`00000000 00000000`00000000 00000000`1bdbebb8 : System_ni+0x307d8b
00000000`1bdbe7c0 00007ff9`ed5a6923 : 00000000`02c9c490 00000000`02f44840 00000000`1bdbea80 00007ff9`ebeee6a8 : System_ni+0x307c3c
00000000`1bdbe820 00007ff9`ed5a6838 : 00000000`00000001 00007ff9`ed5a8662 00000000`1bdbea08 000007cb`1d8ba949 : clr!CallDescrWorkerInternal+0x83
00000000`1bdbe860 00007ff9`ed66518c : 00000000`02f46068 00000000`00000000 00000000`1bdbebb8 00000000`00000000 : clr!CallDescrWorkerWithHandler+0x4e
00000000`1bdbe8a0 00007ff9`ed664c90 : 00000000`02f44ea0 00007ff9`eb3632f0 00000000`02f44ea0 00007ff9`eb3632f0 : clr!CallDescrWithObjectArray+0x705
00000000`1bdbeaf0 00007ff9`ece83761 : 00000000`02f47f78 00007ff9`eb3632f0 00000000`02f46050 00000000`02cd3f00 : clr!CStackBuilderSink:TonguerivateProcessMessage+0x26d
00000000`1bdbef90 00007ff9`ec46df12 : 00000000`02f47f78 00000000`02f44bf8 00000000`02dc8df8 00007ff9`edfc5020 : mscorlib_ni+0xfa3761
00000000`1bdbf030 00007ff9`ec46dd95 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : mscorlib_ni+0x58df12
00000000`1bdbf100 00007ff9`ec439c06 : 00000000`1bdbf328 00000000`1bdbf328 00000000`1bdbf200 00000000`1bdbf8f0 : mscorlib_ni+0x58dd95
00000000`1bdbf130 00007ff9`ec438e46 : 00000000`02f460d8 00000000`000004ec 00000000`00000000 00000000`00000000 : mscorlib_ni+0x559c06
00000000`1bdbf170 00007ff9`ed5a6923 : 00007ff9`ed5a7070 00000000`00000000 00007ff9`ed5a75d9 00000000`1bdbf3c0 : mscorlib_ni+0x558e46
00000000`1bdbf210 00007ff9`ed5a6838 : 00000000`1bdbf438 00007ff9`ed5a73cc 00000000`00000001 00007ff9`ed5a7336 : clr!CallDescrWorkerInternal+0x83
00000000`1bdbf250 00007ff9`ed5a70e8 : 00000000`1bdbf438 00000000`00000000 00000000`1bdbf610 00000000`00000000 : clr!CallDescrWorkerWithHandler+0x4e
00000000`1bdbf290 00007ff9`ed5ac11a : 00000000`1bdbf8f0 00000000`1bdbf8a0 00000000`1bdbf8f0 00000000`1b0defb0 : clr!MethodDescCallSite::CallTargetWorker+0x102
00000000`1bdbf390 00007ff9`ed5a7ce0 : 00000000`00000000 00007ffa`210ebe30 ffffffff`fffffffe 00000000`1b0defb0 : clr!QueueUserWorkItemManagedCallback+0x2a
00000000`1bdbf480 00007ff9`ed5a7c53 : 00000000`1bdbf650 00000000`1bdbf608 00007ff9`ed5a5770 00007ff9`ed5af9c7 : clr!ManagedThreadBase_DispatchInner+0x40
00000000`1bdbf4c0 00007ff9`ed5a7b92 : 00000000`1bdbf650 00007ff9`ed6363df 00007ffa`210ebe30 00007ff9`ede0c78c : clr!ManagedThreadBase_DispatchMiddle+0x6c
00000000`1bdbf5c0 00007ff9`ed5a7d77 : ffffffff`ffffffff 00000000`1b0defb0 00000000`ffffffff 00000000`00000000 : clr!ManagedThreadBase_DispatchOuter+0x4c
00000000`1bdbf630 00007ff9`ed5ac067 : 00000000`00000001 00000000`1bdbf8a0 00000000`1b0defb0 00000000`00000000 : clr!ManagedThreadBase_FullTransitionWithAD+0x2f
00000000`1bdbf690 00007ff9`ed5a78a7 : 00000001`00020018 00000000`1bdbf8e8 00000000`1bdbf8f0 00000000`1b0defb0 : clr!ManagedPerAppDomainTPCount:Big GrinispatchWorkItem+0xa4
00000000`1bdbf810 00007ff9`ed5a777f : 00000001`00020018 00000000`00000001 00000000`1b0defb0 00000000`1b0defb0 : clr!ThreadpoolMgr::ExecuteWorkRequest+0x64
00000000`1bdbf840 00007ff9`ed5ab5d5 : 00000000`00000000 00000000`00000000 00000000`00000001 00000000`00000409 : clr!ThreadpoolMgr::WorkerThreadStart+0xf6
00000000`1bdbf8e0 00007ffa`22847034 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : clr!Thread::intermediateThreadProc+0x8b
00000000`1bdbfa20 00007ffa`22a22651 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
00000000`1bdbfa50 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21


SYMBOL_NAME:  IcarosCache!ReleaseIIcarosCacheIndexing+1f60

MODULE_NAME: IcarosCache

IMAGE_NAME:  IcarosCache.dll

STACK_COMMAND:  ~11s ; .ecxr ; kb

FAILURE_BUCKET_ID:  INVALID_POINTER_READ_NOSOS_c0000005_IcarosCache.dll!ReleaseIIcarosCacheIndexing

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {44e08cbd-a551-e885-fdf6-b2c66eb87988}

Followup:    MachineOwner
-------------------------------------------------------------------------------------------------------------------------------------------

Contents of Event Viewer - 1 Error Entry

Application: IcarosConfig.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
  at IcarosUICore.Interop.ThumbnailProviderExInterop.ExtractThumbnailB(IntPtr, IntPtr ByRef, IcarosUICore.Interop.WTS_ALPHATYPE ByRef, UInt32, Single, UInt64, Int32 ByRef)
  at IcarosConfig.Services.ShellExManager.GetThumbnailViaIcaros(IcarosConfig.Models.DebugThumbContext, IcarosConfig.Models.ThumbnailResult ByRef)
  at IcarosConfig.ViewModels.ToolDebugViewModel.ThumbnailViaX(System.Collections.Generic.IList`1<IcarosConfig.Models.DebugFile>, IcarosConfig.Models.DebugThumbContext, ThumbFunc)
  at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid4[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Runtime.CompilerServices.CallSite, System.__Canon, System.__Canon, System.__Canon, System.__Canon)
  at IcarosConfig.ViewModels.ToolDebugViewModel.RunDebuggingAsync(System.Object, System.ComponentModel.DoWorkEventArgs)
  at System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)
  at System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)
  at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, System.Object[], System.Object, System.Object[] ByRef)
  at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
  at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
  at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
  at System.Threading.ThreadPoolWorkQueue.Dispatch()


Attached Files Thumbnail(s)
       
Reply

#2
[quote pid="329" dateline="1618314618"]
Hello –

I wanted to add some additional information here that may help in triaging this issue (maybe).  

Been doing some work, and it seemed as if the thumbnailing was either slowing way down, or stopping all together.  So, I opened up Icaros, the cache numbers look ok.  However, when I opened up Event Viewer, there are multiple sets of errors+warnings appearing within seconds of each other (see screen shot). And they are continuing to be logged.  I don't have Icaros open right now.  HOWEVER, I am running an application called SearchEverything - basically an app that is MUCH faster than File explorer for doing searches, etc.  This app builds it own index and updates that index in realtime.  I had the user interface set to display All Video Files, showing the results in a Thumbnail format.  I also have a download manger that's running that downloads youtube videos in batches, say 10 at a time, so as they are downloading, the SearchEverything is udpating the index, and displays a generic thumbnail for a while until enough of the file is download I guess for one to get generated.  So here's what I'm wondering. As SearchEverything keeps updating, it must be checking for a thumbnail as well, so it's asking Icaros first, and then Icaros would try to generate a thumbnail, but since these files haven't finished downloading, a possible issue pops up when Icaros tries to generate the thumbnail ?  Possibly ?  So as another chunk of the video file is downloaded, the whole process repeats, logging another set of entries in the logs ? I hope this makes sense.  However, I don't recall ever seeing all these errors in the Event Viewer before, and I've been running this same process for, more than a year. Hope this more info helps a bit...

NOTE:  I have had the search everything application shut down now for the last 1/2 hour, and the entries in the log file are still being generated, so either something is still making these thumbnail calls, or the Icaros code might be stuck in it's own loop ? Just a guess.

Screenshots attached.

Here is the Event Errors/Warnings info:

ERROR:

Faulting application name: DllHost.exe, version: 10.0.19041.546, time stamp: 0xf25621f0

Faulting module name: IcarosCache.dll, version: 3.2.0.0, time stamp: 0x6069e55c
Exception code: 0xc0000005
Fault offset: 0x00000000000114e0
Faulting process id: 0x2bd0
Faulting application start time: 0x01d7307f9775cb03
Faulting application path: C:\Windows\system32\DllHost.exe
Faulting module path: C:\Program Files\Icaros\64-bit\IcarosCache.dll
Report Id: 96d531d5-e749-4952-8493-e1beccff6224
Faulting package full name:
Faulting package-relative application ID:

WARNING:

Fault bucket , type 0

Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: DllHost.exe
P2: 10.0.19041.546
P3: f25621f0
P4: IcarosCache.dll
P5: 3.2.0.0
P6: 6069e55c
P7: c0000005
P8: 00000000000114e0
P9:
P10:

Attached files:

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_DllHost.exe_24c49a24ccedc795ef0ddc881791155e26d49d_b4988140_065b682c-49c6-451b-8731-0ec3edb3be47

Analysis symbol:
Rechecking for solution: 0
Report Id: 96d531d5-e749-4952-8493-e1beccff6224
Report Status: 100
Hashed bucket:
Cab Guid: 0




[/quote]


Attached Files Thumbnail(s)
   
Reply

#3
Hi Mrantz,

So looking at both your posts, both issues/bugs seem to be related.
Both are caused by the Icaros Cache, and I'm fairly sure it has to do with a bug when the cache reaches sizes above 4GB.
I'm currently working on a fix for this, so hopefully both your issues will be solved with the next release.

I will let you know when the next release is ready.
Reply





Users browsing this thread:
1 Guest(s)