The conversion of a files in a directory that also contained .png pictures seemed to cause HandBrake 1.4.0 to crash
Steps to reproduce the problem (If Applicable):
- Select a folder to convert; the folder contains a picture file in .png format
- Add all items to the queue
- start queue
- a crash occurs ("an unknown error has occurred") when the conversion of .png files is started
- restart handbrake and reload queue then start queue - crashes again at next .png file
HandBrake version (e.g., 1.0.0):
1.4.0
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 Pro 21H1 (19043.1165)
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
HandBrake 1.4.0 (2021071800)
OS: Microsoft Windows NT 10.0.19043.0
CPU: AMD Ryzen 5 5600X 6-Core Processor
Ram: 16299 MB,
GPU Information:
NVIDIA GeForce GTX 750 Ti - 27.21.14.5671
Screen: 2560x1080
Temp Dir: C:\Users\andre\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\andre\AppData\Roaming\HandBrake
-------------------------------------------
[08:35:00] Compile-time hardening features are enabled
Code: Select all
System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadCore[TValue](Utf8JsonReader& reader, Type returnType, JsonSerializerOptions options)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, Type returnType, JsonSerializerOptions options)
at HandBrakeWPF.Instance.RemoteInstance.PollEncodeProgress()
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()