Code Monkey home page Code Monkey logo

term-handler-rust's People

Contributors

kitsuneninetails avatar rawicki avatar

Stargazers

 avatar

Watchers

 avatar  avatar

term-handler-rust's Issues

Will panic on newer rust due to `signal_simple`'s use of mem::uninitialized

Hello! In rust-lang/rust#99389 we're making the checks for mem::uninitialized stronger, and this crate runs into those, through the use of signal_simple.

I have reported it upstream, kitsuneninetails/signal-rust#4, but it might be best to instead use a different signal crate.

For reference, the backtrace is

thread 'tests::test_term' panicked at 'attempted to leave type `libc::unix::linux_like::linux::gnu::b64::x86_64::sigaction` uninitialized, which is invalid', /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-simple-0.1.1/src/signal.rs:19:29
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: core::mem::uninitialized
             at /home/jess/src/rust/library/core/src/mem/mod.rs:685:9
   4: signal_simple::signal::signal_internal
             at /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-simple-0.1.1/src/signal.rs:19:29
   5: signal_simple::signal::signal
             at /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-simple-0.1.1/src/signal.rs:11:5
   6: term_handler::wait_for_term
             at ./src/lib.rs:16:5
   7: term_handler::tests::test_term
             at ./src/lib.rs:33:9
   8: term_handler::tests::test_term::{{closure}}
             at ./src/lib.rs:28:5
   9: core::ops::function::FnOnce::call_once
             at /home/jess/src/rust/library/core/src/ops/function.rs:248:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


failures:
    tests::test_term

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.