Skip to content

Build the image with a Rust that does not segfault on this crate - #139

Merged
Shine-neko merged 1 commit into
mainfrom
fix/builder-segfaults-on-rust-1-95
Aug 22, 2026
Merged

Shine-neko merged 1 commit into
mainfrom
fix/builder-segfaults-on-rust-1-95

Conversation

@Shine-neko

Copy link
Copy Markdown
Contributor

docker build fails on the release build:

error: rustc interrupted by SIGSEGV, printing backtrace
  llvm::PassManager<llvm::Module, ...>::run
error: could not compile `sozune` (bin "sozune") (signal: 11, SIGSEGV)

The builder was pinned to 1.95.0 because 1.96 segfaulted in thin-LTO codegen on this dependency set. That bug now reaches 1.95.0 too as the crate has grown — the pin protected against a future toolchain while freezing one that was going to stop working.

1.98.0 compiles it. The pin stays, so a toolchain release still cannot change what this image produces; the comment now records why this version rather than the history of the last one.

Not a stack limit, for the record: raising RUST_MIN_STACK to 16 MiB then 64 MiB made the build fail sooner (106s, then 15s), not later.

@Shine-neko
Shine-neko force-pushed the fix/builder-segfaults-on-rust-1-95 branch from de6dab4 to a1e595a Compare August 22, 2026 10:40
@Shine-neko
Shine-neko merged commit cd75c63 into main Aug 22, 2026
6 checks passed
@Shine-neko
Shine-neko deleted the fix/builder-segfaults-on-rust-1-95 branch August 22, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant