Bug 164241 - MAR update fails and rolls back at "LoadSourceFile: destination file crc # does not match expected crc #"
Summary: MAR update fails and rolls back at "LoadSourceFile: destination file crc # do...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Automatic-Updater
  Show dependency treegraph
 
Reported: 2024-12-08 12:30 UTC by V Stuart Foote
Modified: 2024-12-18 14:41 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Zip'd logs of failed MAR updates 24.8.2.1 --> 24.8.3.1 (20.30 MB, application/x-zip-compressed)
2024-12-08 12:39 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description V Stuart Foote 2024-12-08 12:30:03 UTC
Running MAR update w/Administrators level perms

Download test for MAR proceeds offering 24.8.3.1 from 24.8.2.1 (0f794b6) partial.

LibreOffice_24.8.3.1_Windows_X86_64_65412f067af443213e726c93f137ccc85c9a1e06_from_0f794b6e29741098670a3b95d60478a65d05ef13_partial.mar

Download of update.mar proceeds and copies to fs temp.

Patching starts, but aborts with this in the update.log (zip of logs attached):

024-12-08 06:58:24-0500: EXECUTE PATCH program/python-core-3.9.20/lib/winsound.pyd
2024-12-08 06:58:24-0500: LoadSourceFile: destination file crc 1465044323 does not match expected crc 1882560190
2024-12-08 06:58:24-0500: LoadSourceFile failed
2024-12-08 06:58:24-0500: ### execution failed

after rollback and fail notice, returns with no update.
Comment 1 V Stuart Foote 2024-12-08 12:39:40 UTC
Created attachment 198010 [details]
Zip'd logs of failed MAR updates 24.8.2.1 --> 24.8.3.1

zip of failed MAR updating logs, with updating.log showing "Old and new Build ID are the same. No Updating took place."

The update.log shows it aborts in 'EXECUTE PATCH' against "program/python-core-3.9.20/lib/winsound.pyd" for mismatched CRC

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 2 V Stuart Foote 2024-12-12 15:13:38 UTC
Performed a full removal and registry cleaning.

Installed with the 24.8.0.3 MSI package and initial run as administrators priv account.

Updates.log show MAR updates proceeded 24.8.1.1 -> 24.8.1.2 -> 24.8.2.1 -> 24.8.3.1 and 24.8.3.2 so this is likely not reproducible.

Just some glitch between python-core-3.9.19 and updated python-core-3.9.20 that prevented MAR patching beyond the 24.8.2.1 release.

MAR patch updating now succeeds

Closing => WFM

But still have an incorrect build version left in registry as in bug 164043 or bug 160585
Comment 3 V Stuart Foote 2024-12-18 14:41:53 UTC
Something additional to partial-info MAR packaging of bug 161292?  

Where the signature/HASH didn't match for a patched file in the python-core-3.9.19 --> python-core-3.9.20 incremental?