You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue while running DiffGenTool from the Preview folder in the iot-hub-device-update-delta repository on a Windows 10 win-x64 environment. The tool crashes with a System.AccessViolationException error.
Steps to Reproduce
I executed the following command:
Observed Behavior
The tool begins tokenizing the SWU files and then crashes with the following fatal error: Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Partial Log Output: [Info] ThreadId1 Loading tokens from ... [Info] ThreadId7 Testing if archive is format: CpioArchives.NewAsciiCpioArchive [Info] ThreadId1 Archive is of format: CpioArchives.NewAsciiCpioArchive ...
Environment
Operating System: Windows 10, version 10.0.22631
Architecture: win-x64
Tool Version: DiffGenTool (Preview folder)
SWU Files:
adu-update-image-raspberrypi3-1.2.0.swu
adu-update-image-raspberrypi3-20241211045834.swu
What I Have Tried
Ensured both SWU files are present and valid.
Ran the command with administrator privileges.
Verified that I am using a 64-bit environment.
Confirmed that no file path contains special characters.
The text was updated successfully, but these errors were encountered:
Hello,
I am encountering an issue while running DiffGenTool from the Preview folder in the iot-hub-device-update-delta repository on a Windows 10 win-x64 environment. The tool crashes with a System.AccessViolationException error.
Steps to Reproduce
I executed the following command:
PS C:\Users\youngwoong.han\Downloads\Diffgen\win-x64> .\DiffGenTool.exe "C:\Users\youngwoong.han\Downloads\Diffgen\win-x64\adu-update-image-raspberrypi3-1.2.0.swu" "C:\Users\youngwoong.han\Downloads\Diffgen\win-x64\adu-update-image-raspberrypi3-20241211045834.swu" "C:\Users\youngwoong.han\Downloads\Diffgen\win-x64\delta-image.swu" "C:\Users\youngwoong.han\Downloads\Diffgen\win-x64\logs" "C:\Users\youngwoong.han\Downloads\Diffgen\win-x64\output"
Observed Behavior
The tool begins tokenizing the SWU files and then crashes with the following fatal error:
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Partial Log Output:
[Info] ThreadId1 Loading tokens from ... [Info] ThreadId7 Testing if archive is format: CpioArchives.NewAsciiCpioArchive [Info] ThreadId1 Archive is of format: CpioArchives.NewAsciiCpioArchive ...
Environment
Operating System: Windows 10, version 10.0.22631
Architecture: win-x64
Tool Version: DiffGenTool (Preview folder)
SWU Files:
adu-update-image-raspberrypi3-1.2.0.swu
adu-update-image-raspberrypi3-20241211045834.swu
What I Have Tried
Ensured both SWU files are present and valid.
Ran the command with administrator privileges.
Verified that I am using a 64-bit environment.
Confirmed that no file path contains special characters.
The text was updated successfully, but these errors were encountered: