Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a Illegal instruction segfault on arm (Raspberry Pi 1) #324

Closed
weiznich opened this issue May 2, 2018 · 1 comment
Closed

Getting a Illegal instruction segfault on arm (Raspberry Pi 1) #324

weiznich opened this issue May 2, 2018 · 1 comment

Comments

@weiznich
Copy link

weiznich commented May 2, 2018

(I'm quite unsure where to report this)

I'm trying to run some future related code on an old raspberry pi 1. After cross compiling a binary construction a reactor and spawning a future on it the program segfaults with an illegal hardware instruction error.
Programs without a reactor are running fine.

Example code:

extern crate tokio_core;
extern crate futures;

fn main() {
   let core = tokio_core::reactor::Core::new().unwrap();
       core.handle().spawn(futures::future::ok(()));
    println!("Hello, world!");
}

Versions:

  • Rustc: rustc 1.25.0 (84203cac6 2018-03-25), rustc 1.27.0-nightly (79252ff4e 2018-04-29)
  • tokio_core: 0.1.17
  • futures: 0.1.21
  • target: arm-unknown-linux-musleabihf
@carllerche
Copy link
Member

I would think that this is a rust issue and should be reported on rust-lang/rust?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants