IENT / YUView

The Free and Open Source Cross Platform YUV Viewer with an advanced analytics toolset
http://ient.github.io/YUView
Other
1.78k stars 353 forks source link

Occasional crashes when choosing the format before resolution #562

Open MateuszGrabuszynski opened 4 months ago

MateuszGrabuszynski commented 4 months ago

Describe the bug With various raw sequences (YUV planar, RGB planar and packed), I am encountering a crash if I try to choose RGB/YUV Format before the Frame Size. I see this happens more often when a few videos are added to the playlist and when wrong format is chosen by mistake.

To Reproduce Steps to reproduce the behavior:

  1. Open a new instance of YUView
  2. Import a sequence (or more than one sequence)
  3. Choose YUV/RGB Format before choosing Frame Size, retry a few times if not happening after a first try
  4. Program crashes without any warning

Expected behavior Program should not crash when a format is set before resolution.

Workaround I do not recall any situation, when it would happen when the resolution is chosen first.

Screenshots Captured right before it happened. It tries to load something, but cannot do so. image

Version

Events from Event Viewer Found a single Application Error, but it does not say much:

[-] <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
[-] <System>
  <Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" /> 
  <EventID>1000</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x8000000000000000</Keywords> 
  <TimeCreated SystemTime="2024-02-14T11:02:55.6322170Z" /> 
  <EventRecordID>40683</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="29024" ThreadID="30148" /> 
  <Channel>Application</Channel> 
  <Computer><!--redacted--></Computer> 
  <Security UserID="<!--redacted-->" /> 
  </System>
[-] <EventData>
  <Data Name="AppName">YUView.exe</Data> 
  <Data Name="AppVersion">0.0.0.0</Data> 
  <Data Name="AppTimeStamp">650c45ed</Data> 
  <Data Name="ModuleName">YUView.exe</Data> 
  <Data Name="ModuleVersion">0.0.0.0</Data> 
  <Data Name="ModuleTimeStamp">650c45ed</Data> 
  <Data Name="ExceptionCode">c0000005</Data> 
  <Data Name="FaultingOffset">0000000000295719</Data> 
  <Data Name="ProcessId">0x7294</Data> 
  <Data Name="ProcessCreationTime">0x1da5f3510dcef77</Data> 
  <Data Name="AppPath">C:\Program Files\YUView-Win\YUView.exe</Data> 
  <Data Name="ModulePath">C:\Program Files\YUView-Win\YUView.exe</Data> 
  <Data Name="IntegratorReportId"><!--redacted--></Data> 
  <Data Name="PackageFullName" /> 
  <Data Name="PackageRelativeAppId" /> 
  </EventData>
  </Event>

I can attach more logs, but I have not found any way to grab them.