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

[Bug] EINVAL on realtime signals #36

Open
kxxt opened this issue Sep 16, 2024 · 0 comments
Open

[Bug] EINVAL on realtime signals #36

kxxt opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working waiting-on-upstream

Comments

@kxxt
Copy link
Owner

kxxt commented Sep 16, 2024

nix failed to convert realtime signals to its Signal type: nix-rust/nix#495 nix-rust/nix#1143

Error: 
   0: EINVAL: Invalid argument

Location:
   src/tracer.rs:428

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 5 frames hidden ⋮                               
   6: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual::hf5f08fe6903eec58
      at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/result.rs:1989
   7: tracexec::tracer::Tracer::handle_waitpid_events::h9bc60738eb477e4d
      at /home/kxxt/repos/tracexec/src/tracer.rs:<unknown line>
   8: tracexec::tracer::Tracer::run::{{closure}}::hf1b180e85a144f8d
      at /home/kxxt/repos/tracexec/src/tracer.rs:383
   9: tracexec::tracer::Tracer::spawn::{{closure}}::{{closure}}::h27319ca7a0e74a54
      at /home/kxxt/repos/tracexec/src/tracer.rs:231
  10: tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h718611086e8444dc
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/park.rs:281
  11: tokio::runtime::coop::with_budget::h10b614f0a24c5fae
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/coop.rs:107
  12: tokio::runtime::coop::budget::h2229e7fb74896048
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/coop.rs:73
  13: tokio::runtime::park::CachedParkThread::block_on::h51012a12d7711279
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/park.rs:281
  14: tokio::runtime::context::blocking::BlockingRegionGuard::block_on::h8bee69deed069e2d
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/context/blocking.rs:66
  15: tokio::runtime::handle::Handle::block_on_inner::{{closure}}::h782eb0c9f448dfc5
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/handle.rs:324
  16: tokio::runtime::context::runtime::enter_runtime::ha91d82383534a7e7
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/context/runtime.rs:65
  17: tokio::runtime::handle::Handle::block_on_inner::h7493d9dd433fbf49
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/handle.rs:323
  18: tokio::runtime::handle::Handle::block_on::hb0accc9355572497
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/handle.rs:302
  19: tracexec::tracer::Tracer::spawn::{{closure}}::h84211ed7abca7883
      at /home/kxxt/repos/tracexec/src/tracer.rs:229
  20: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::h5255f8c2acc6da06
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/blocking/task.rs:42
  21: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}::hf25179e624e9674c
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/core.rs:328
  22: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut::hc6ec38a883074a78
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/loom/std/unsafe_cell.rs:16
  23: tokio::runtime::task::core::Core<T,S>::poll::h1bc64345a143ec90
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/core.rs:317
  24: tokio::runtime::task::harness::poll_future::{{closure}}::h92a0b4d1cb4d4175
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/harness.rs:485
  25: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hcc30e6e84a8755f2
      at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/panic/unwind_safe.rs:272
  26: std::panicking::try::do_call::h2380c61d23f4e2fe
      at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/std/src/panicking.rs:559
  27: std::panicking::try::h140959f2654e6ba4
      at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/std/src/panicking.rs:523
  28: std::panic::catch_unwind::hd09d75ec3011dc68
      at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/std/src/panic.rs:149
  29: tokio::runtime::task::harness::poll_future::h5c9c2e58cf5541fb
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/harness.rs:473
  30: tokio::runtime::task::harness::Harness<T,S>::poll_inner::h9b428e93ec133351
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/harness.rs:208
  31: tokio::runtime::task::harness::Harness<T,S>::poll::h0f9d20212739feae
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/harness.rs:153
  32: tokio::runtime::task::raw::RawTask::poll::h704950921fbc817b
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/raw.rs:201
  33: tokio::runtime::task::UnownedTask<S>::run::h0841c340346a04c0
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/mod.rs:464
  34: tokio::runtime::blocking::pool::Task::run::he174a74d162b7641
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/blocking/pool.rs:160
  35: tokio::runtime::blocking::pool::Inner::run::h72aa078198b4fdf7
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/blocking/pool.rs:518
  36: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}}::hedb586b16e80dc41
      at /home/kxxt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/blocking/pool.rs:476
                                ⋮ 11 frames hidden ⋮                              

@kxxt kxxt added bug Something isn't working waiting-on-upstream labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting-on-upstream
Projects
None yet
Development

No branches or pull requests

1 participant