Giter VIP home page Giter VIP logo

Comments (6)

dpc avatar dpc commented on June 21, 2024 1

On a machine with Ubuntu and nix I had around with Linux 5.15.0-101-generic, this works. On my two systems with new NixOS and Linux 6.9.2 it fails.

from rust.

workingjubilee avatar workingjubilee commented on June 21, 2024 1

Ah, a relatively small diff, then! Should be easy to find the offending commit. torvalds/linux@f610c35...c8eef17

from rust.

dpc avatar dpc commented on June 21, 2024

I have verified that downgrading to linux kernel 6.8.11 makes the problem go away.

from rust.

tbu- avatar tbu- commented on June 21, 2024

Nix builds are kind of reproducible, so that's very unexpected

Nix does not take kernel version into account in its reproducibility guarantees.

from rust.

dpc avatar dpc commented on June 21, 2024

Yes, everything else is locked in place (kind of). That's why I immediately suspected the kernel might be a problem.

So to sum up: something about very recent linux kernel version is breaking some assumptions in Rust standard code w.r.t forking/execing, which leads to this internal panic. It's hard for me to tell is it a kernel regression, or Rust's stdlib assumptions were incorrect, or maybe I'm missing something else entirely.

I am happening to witness it because I'm running as recent kernel version as NixOS can provide trying to avoid some bcachefs bugs. With time the problem might become more widespread.

from rust.

dpc avatar dpc commented on June 21, 2024

image

🤔 , dozens of rebuild + reboot cycles... . I'll see if I can find a time to do it. No promises. :D

from rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.