Comments (6)
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/demoSame thing when I run the benchmarks in the hyper project repo
—
Reply to this email directly or view it on GitHub
#64.
from hyper.
[~/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.
Hm, useless. Could you try running in gdb
?
from hyper.
Hm, I'm getting it now also. Will dig in.
from hyper.
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.
I wonder if it's related to this: rust-lang/rust#17464
from hyper.
Related Issues (20)
- Can not create hyper::Error HOT 3
- hyper-util missing `max_pending_accept_reset_streams` HOT 1
- There is no way to pass data to the new Server connection service in Hyper 1
- "make_service_fn" - gone. Where is it?
- hyper-util: add `Server::from_tcp`
- Provide public constructur for Incoming - for testing HOT 1
- Re-enable end-to-end request chunks benchmarks HOT 1
- how to retry request by custom policy HOT 1
- v1.0 http2 do not support `with_upgrades()` API HOT 3
- Add CI job checking that the unstable tracing feature compiles
- Suggestion to Include 'Salvo' in Framework Recommendations HOT 2
- hyper-util's auto conn cannot be used without h2 HOT 3
- `hyper_util::client::legacy::Client` always returns an error with no keep-alive
- UpgradedSendStream transmute seems to be super unsound HOT 12
- provide more context of opaque hyper errors HOT 1
- Unable to find Tower middleware signature constraints that works with both Axum and Hyper
- Add the ability to safely read into ReadBuf HOT 2
- hyper-util: Add a version of conn::auto that doesn't need to read the version
- http2 without ssl/tls not working HOT 2
- Examples should not use `support::TokioIo` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyper.