Giter Site home page Giter Site logo

Comments (6)

seanmonstar avatar seanmonstar commented on April 28, 2024

Could you run them with RUST_BACKTRACE=1 RUST_LOG=hyper=debug and paste
the results?
On Sep 27, 2014 12:43 AM, "Dimitar Kostov" [email protected] wrote:

When I create new cargo project and try to run the server from the
examples directory it gives me this error after successful compilation:

task '' has overflowed its stack
[1] 14646 illegal hardware instruction ./target/demo

Same thing when I run the benchmarks in the hyper project repo


Reply to this email directly or view it on GitHub
#64.

from hyper.

mytrile avatar mytrile commented on April 28, 2024
[~/tmp/demo]▶ RUST_BACKTRACE=1 RUST_LOG=hyper=debug ./target/demo                                      
DEBUG:hyper::server: Incoming stream
task '<unknown>' has overflowed its stack
[1]    27509 illegal hardware instruction  RUST_BACKTRACE=1 RUST_LOG=hyper=debug ./target/demo
[~/tmp/hyper]▶ RUST_BACKTRACE=1 RUST_LOG=hyper=debug cargo bench                                         [master]
     Running target/release/client-f71daafad9cad1f7

running 3 tests
task '<unknown>' has overflowed its stack
Process didn't exit successfully: `/Users/dimitar/tmp/hyper/target/release/client-f71daafad9cad1f7 --bench` (status=4)

from hyper.

seanmonstar avatar seanmonstar commented on April 28, 2024

Hm, useless. Could you try running in gdb?

from hyper.

seanmonstar avatar seanmonstar commented on April 28, 2024

Hm, I'm getting it now also. Will dig in.

from hyper.

seanmonstar avatar seanmonstar commented on April 28, 2024

It seems the implementation of read on Box<NetworkStream> is recursing until overflow. Something in rustc must have changed regarding how it derefs.

from hyper.

seanmonstar avatar seanmonstar commented on April 28, 2024

I wonder if it's related to this: rust-lang/rust#17464

from hyper.

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.