tokio-1.51.5
deepseek-ai/DeepSeek-OCRtokio-1.51.5Oct 4, 2026by Darksonn
Upgrading?
AI Summary
A maintenance release fixing critical bugs in file system operations, synchronization primitives, and runtime task handling to prevent crashes and memory leaks.
Key Highlights
- Fixed integer overflow in buffered relative seek
- Fixed mpsc index wraparound in block reclamation
- Fixed semaphore use-after-free and permit leaks
- Fixed timer handling during shutdown
Full Release Notes
# 1.51.5 (October 3rd, 2026) ### Fixed - fs: handle integer overflow in buffered relative seek ([#8574]) - io: revert "always cleanup `AsyncFd` registration list on deregister" ([#8540]) - process: unregister Windows wait before closing child handle ([#8564]) - rt: drop blocking pool mutex before shutting down rejected task ([#8562]) - sync: fix mpsc index wraparound in block reclamation ([#8546]) - sync: forget mpsc `Permit` before sending value ([#8560]) - sync: validate `MAX_PERMITS` in `Semaphore::acquire` ([#8548]) - sync: wake broadcast `Sender::closed` outside mutex ([#8558]) - task: drop replaced waker outside lock in `JoinSet` ([#8554]) - time: drop timer lock before dropping waker in `clear_entry` ([#8552]) - time: expire timers directly on shutdown without rotating wheel ([#8570]) ### Fixed (unstable) - rt: ignore `current_thread` task dumps from other runtimes ([#8544]) - rt: preserve `io_uring` context if a completion waker panics ([#8566]) - sync: fix semaphore use-after-free and permit leak on tracing panic ([#8542]) - time: drop stored waker when cancelling alt timer entry ([#8550]) [#8540]: https://github.com/tokio-rs/tokio/pull/8540 [#8542]: https://github.com/tokio-rs/tokio/pull/8542 [#8544]: https://github.com/tokio-rs/tokio/pull/8544 [#8546]: https://github.com/tokio-rs/tokio/pull/8546 [#8548]: https://github.com/tokio-rs/tokio/pull/8548 [#8550]: https://github.com/tokio-rs/tokio/pull/8550 [#8552]: https://github.com/tokio-rs/tokio/pull/8552 [#8554]: https://github.com/tokio-rs/tokio/pull/8554 [#8558]: https://github.com/tokio-rs/tokio/pull/8558 [#8560]: https://github.com/tokio-rs/tokio/pull/8560 [#8562]: https://github.com/tokio-rs/tokio/pull/8562 [#8564]: https://github.com/tokio-rs/tokio/pull/8564 [#8566]: https://github.com/tokio-rs/tokio/pull/8566 [#8570]: https://github.com/tokio-rs/tokio/pull/8570 [#8574]: https://github.com/tokio-rs/tokio/pull/8574
Related Repositories
public-apis/public-apis★ 491,198
A collective list of free APIs
NousResearch/hermes-agent★ 256,060
The agent that grows with you
yt-dlp/yt-dlp★ 200,237
A feature-rich command-line audio/video downloader
microsoft/markitdown★ 191,551
Python tool for converting files and office documents to Markdown.
Significant-Gravitas/AutoGPT★ 187,699
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.