Coder Social home page Coder Social logo

make issues - duping jobs pipe about didbs HOT 5 OPEN

danielhams avatar danielhams commented on August 17, 2024
make issues - duping jobs pipe

from didbs.

Comments (5)

danielhams avatar danielhams commented on August 17, 2024

Added some additional tracing in what will be 0.0.7 info to try and help discover what error is actually being returned when this happens.

from didbs.

danielhams avatar danielhams commented on August 17, 2024

Issue reproduced with jobserver_pre_acquire - looks like make_job_rfd returns -1 from make_job_rfd() call.

This is EINTRLOOP(job_rfd, dup(job_fds[0])) - at a guess irix occasionally return EMFILE for too many files or something like that.

To dig deeper later.

from didbs.

danielhams avatar danielhams commented on August 17, 2024

And so I have my first occurence of this with the logging in place.

In posixos.c, jobserver_pre_acquire:

DH job_fds[0]=3 job_rfd=-1 and errno=2
DH job_rf_val=-1

Which is actually failing deeper down in the make_job_rfd code - which in turn is a call to EINTRLOOP that isn't giving back what it should.

from didbs.

danielhams avatar danielhams commented on August 17, 2024

Another one:

DH job_fds[0]=3 job_rfd=-1 and errno=9
DH job_rf_val=-1
make: *** duping jobs pipe #2: Bad file number

from didbs.

danielhams avatar danielhams commented on August 17, 2024

Massive hit this too:

DH job_fds[0]=6 job_rfd=-1 and errno=9
DH job_rf_val=-1
make[2]:  duping jobs pipe #2: Bad file number.  Stop.
make[2]:  Waiting for unfinished jobs....
  GEN      sys/time.h

from didbs.

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.