GoogleChrome / GoogleChrome/ripunzip

Spurious failures when unzipping

Open
#74 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
294
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Hi,

we're seeing spurious failures during `unzip-file` on CI which imo hint at a concurrency problem. Unfortunately, I don't have a good reproducer, but we do see this on CI every once in a while.

Errors we're seeing:
```
Error: invalid Zip archive: Invalid local file header
```
```
Error: Failed to extract legal/java.desktop/mesa3d.md

Caused by:
0: Failed to write directory
1: corrupt deflate stream
```
```
Error: Failed to extract bin/java

Caused by:
0: Failed to write directory
1: corrupt deflate stream
```

We're seeing this across multiple platforms (at least macos and windows, maybe also linux), and with multiple zip files.
I'd guess the error rate is at or below 1%.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.