Giter Site home page Giter Site logo

Thread panic about radicle-bins HOT 6 CLOSED

radicle-dev avatar radicle-dev commented on September 26, 2024
Thread panic

from radicle-bins.

Comments (6)

kim avatar kim commented on September 26, 2024 2

I'm sure this was fixed upstream, can't find where at the moment. Iow, should go away with newer quinns.

from radicle-bins.

FintanH avatar FintanH commented on September 26, 2024

This looks like there was a panic deep in the bowels of the networking. Unfortuately, there's not enough information to go off of here. There's not much to do unless you can provide more information on this, for example, the logs before the stack trace, which commit SHA you're using for deploying the seed, etc.

from radicle-bins.

xni avatar xni commented on September 26, 2024

Yep, I found how to reproduce it:

nc -u 95.216.68.43 12345
abc

and the version is:

f1462b92a06ef65ec4b65201e9801473a41b4ee3 (HEAD)

some lines before the backtrace:

thread 'tokio-runtime-worker' panicked at 'range end index 8 out of range for slice of length 3', /git/checkouts/quinn-572d2e5812b43165/babb07b/quinn-proto/src/packet.rs:517:46
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: "PoisonError { inner: .. }" /git/checkouts/quinn-572d2e5812b43165/babb07b/quinn/src/endpoint.rs:215:42

from radicle-bins.

xla avatar xla commented on September 26, 2024

If you send messages that the networking doesn't expect like in your example above it will crash. It's not ideal but expected behaviour at this point.

from radicle-bins.

xni avatar xni commented on September 26, 2024

I understand that the issue may be in the quinn module, but still... crashing on unknown packet is weird

from radicle-bins.

xla avatar xla commented on September 26, 2024

It is, but the code that currently causes that is on the way out and we are rolling out an updated network stack. We don't have the capacity or the incentive to invest any more time in the current code and are working hard on the updated stack. Thanks again for taking the time to report this issue.

from radicle-bins.

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.