| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
Windows project source guards / test (push) Has been cancelled
PyInstaller reopens the exe by name for every lazy import. When another file took that name while the app ran, the next lazy import read the new file at the old offsets: field check #3 (2026-11-23) found 15 crashes on 0.8.102-0.8.107 (crash:error = zlib.error at pyimod01_archive.extract:134, crash:OSError at extract:119) in start_metrics_worker and the disconnect cleanup, often seconds from a failed update on the same install. frozen_archive.install gives PyInstaller's archive reader one descriptor to the original file, opened with FILE_SHARE_DELETE, so renaming or deleting the exe works as before and imports keep reading this build. The first time the name points at another file the app logs it and notes the app error update:exe_replaced, so whatever swaps files under a live app stays visible. Proof: tests/test_frozen_archive.py (PyInstaller's own reader crashes unpinned and reads the original pinned, on the build VM with PyInstaller 6.21) and a frozen onedir probe on win10 (unpinned zlib.error, pinned OK). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| .. | ||
| windows | ||
| __init__.py | ||
| frozen_archive.py | ||