microsoft / microsoft/edit

Lost contains (about 1kb, 1024 bytes length) randomly in EOF

Open
#675 2 comments 0 reactions 0 assignees View on GitHub
C-bug
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

SYSTEM: Microsoft Windows 10 Professional [10.0.19045.6093]

When I open and edited some long files (128kb or longer), and save, the contains sometimes will lost (from EOF, and backwards about 1024 bytes length), or sometimes normally saved, without any lost.

I wonder how and why the contains near the EOF could be lost randomly?

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reproducing the save operation on Windows 10 with edited files of at least 128 KB, checking whether roughly 1024 bytes near EOF disappear; done means the saved contents are preserved reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.