2025-02-23

Tokio + prctl = nasty bug

A detailed analysis of a bug in HyperQueue where tasks were unexpectedly terminated after 10 seconds due to an interaction between tokio thread management, PR_SET_PDEATHSIG, and process spawning optimization. The bug emerged from moving process spawning to a worker thread, causing processes to receive SIGTERM when tokio cleaned up idle threads.

Original archive.is archive.ph web.archive.org

Log in to get one-click access to archived versions of this article.

read comments on news aggregators:

Related articles

3,200% CPU Utilization

An in-depth analysis of a critical Java performance issue where unprotected concurrent TreeMap modifications led to 3,200% CPU utilization. The investigation revealed how thread interleaving can create infinite loops in red-black trees, with experiments across multiple programming languages demonstrating similar vulnerabilities.

Netboot Windows 11 with iSCSI and iPXE

An in-depth guide demonstrates how to netboot Windows 11 using iSCSI and iPXE, enabling Windows to run from a NAS instead of local storage. The solution allows gaming on Windows while maintaining Linux as the primary OS, providing a practical workaround for AAA games that restrict virtual machine usage.

The Miserable State of Modems and Mobile Network Operators

Engineers at Golioth investigated connectivity issues with nRF9160 cellular modems, revealing DNS resolution failures when using NB-IoT networks that don't properly implement extended Protocol Configuration Options (ePCO) as specified by 3GPP standards, highlighting broader issues with closed-source modems and opaque telecom infrastructure.

Clang Static Analyzer and the Z3 constraint solver

A detailed exploration of using Z3 constraint solver with Clang Static Analyzer to reduce false positives in code analysis. The integration offers two methods: using Z3 as an external constraint solver or employing it for false positive filtering, with the latter being significantly faster.

RUSTSEC-2025-0007: ring: *ring* is unmaintained

The ring cryptography package maintenance status underwent changes, initially being declared unmaintained but later receiving security-focused maintenance from the rustls team. The advisory highlights potential security implications for users of the ring crate, with the rustls team committed to addressing critical security issues.

Yocto, RockPi and SBOMs: Building Modern Embedded Linux Images

A developer explores building a modern disk image for Rock Pi 4 using Yocto, incorporating CUPS and Docker while leveraging Yocto's advanced SBOM generation capabilities. The process demonstrates how to create custom Linux distributions for embedded systems, with detailed instructions for setup and configuration. The guide addresses common challenges in maintaining up-to-date software for Chinese SBCs while highlighting Yocto's sophisticated approach to dependency tracking and SBOM generation.

Linus Torvalds Clearly Lays Out Linux Maintainer Roles - Or Not - Around Rust Code

Linus Torvalds addresses the ongoing Linux kernel Rust debate by clarifying maintainer roles, stating that maintainers can either actively engage with Rust code or stay hands-off, but cannot arbitrarily block its implementation. The discussion centers around DMA maintainer Christoph Hellwig's opposition to Rust code integration, highlighting the broader implications for kernel development governance.

Announcing Rust 1.85.0 and Rust 2024 | Rust Blog

Rust 1.85.0 introduces the Rust 2024 Edition, featuring significant language changes and improvements including async closures support and expanded tuple operations. The release includes extensive updates to the standard library, Cargo package manager, and development tools like Rustdoc and Rustfmt.