# Rust 1.98 miscompilation: null vtable slot crashes boxed async services

Original title: Rust 1.98 got a P-critical miscompilation

> Hacker News story 49407237 · language: en · submitted 2026-08-23
> Web version: https://zeli.app/story/49407237
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 48 · by [gdcbe](<https://news.ycombinator.com/user?id=gdcbe>) · 💬 3
[original](<https://github.com/rust-lang/rust/issues/161441>) · [HN discussion](<https://news.ycombinator.com/item?id=49407237>)

## Summary

A critical miscompilation in Rust 1.98 causes a null vtable entry for boxed async services, leading to segfaults at address zero. The issue, reported in rust-lang/rust#161441, affects aarch64-apple-darwin and consistently breaks CI for the rama project. Safe Rust dispatches through the zeroed method slot, crashing the process. The bug is reproducible with a minimal example, and a workaround involves avoiding the async trait erasure pattern. The issue may be related to previous vtable bugs and is under investigation.

## Key quote

> Rust 1.98 silently emits a vacant method slot and the resulting binary crashes, rather than rustc producing an ICE.

---

## Cite

- Page: https://zeli.app/story/49407237
- Date: 2026-08-23
- Source: github.com (https://github.com/rust-lang/rust/issues/161441)
- Hacker News: https://news.ycombinator.com/item?id=49407237
