Git Product home page Git Product logo

Comments (8)

nhorman avatar nhorman commented on July 21, 2024

the code is trying to call recvfrom on a non-blocking socket and there is no data avaiilable.

First guess is that you're building with a threading model that maps recvfrom to a non-thread aware recvfrom call (spt_recvfrom vs spt_recvfromx), and as a result the receive thread is spinning forever and not yielding to allow the sending thread to submit data to the socket. The introduction of V=1 likely introduces console message output that fortunately yields the cpu, allowing forward progress to be made.

from openssl.

rsbeckerca avatar rsbeckerca commented on July 21, 2024

the code is trying to call recvfrom on a non-blocking socket and there is no data avaiilable.

First guess is that you're building with a threading model that maps recvfrom to a non-thread aware recvfrom call (spt_recvfrom vs spt_recvfromx), and as a result the receive thread is spinning forever and not yielding to allow the sending thread to submit data to the socket. The introduction of V=1 likely introduces console message output that fortunately yields the cpu, allowing forward progress to be made.

We're actually dealing with a new kernel threading model - so not cooperative threading. It is looking like we have some timeouts causing transient issues. This is going back to development.

from openssl.

nhorman avatar nhorman commented on July 21, 2024

ok, thank you for the update. Should this then be close pending the outcome of your new internal development?

from openssl.

rsbeckerca avatar rsbeckerca commented on July 21, 2024

ok, thank you for the update. Should this then be close pending the outcome of your new internal development?

May I keep it open until I hear back? It should be a few weeks.

from openssl.

nhorman avatar nhorman commented on July 21, 2024

please, of course. I'll leave it in investigation state to follow up on.

from openssl.

nhorman avatar nhorman commented on July 21, 2024

@rsbeckerca ping, any update here?

from openssl.

rsbeckerca avatar rsbeckerca commented on July 21, 2024

@rsbeckerca ping, any update here?

I'm waiting on an opportunity to retest this in the new threading model. This does hang in our CI system but not when running directly in bash. This leads me to think there is a timing/yield issue somewhere in the test driver.

from openssl.

rsbeckerca avatar rsbeckerca commented on July 21, 2024

The new threading model passes all QUIC tests really well. I will be publishing the configuration for it hopefully in a week or so. I think we can close this. The PUT model is also passing as of commit 2dd74d3 + PR #24912

from openssl.

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.