pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Curious shells/nushell issue



Hi,

On -current, both amd64 and aarch64, using nushell 87.1 and 88.1, I get:
---
# RUST_BACKTRACE=full /usr/pkg/bin/nu -c "cd /; ls -l "
thread 'main' panicked at library/std/src/sys/unix/time.rs:77:9:
assertion failed: tv_nsec >= 0 && tv_nsec < NSEC_PER_SEC as i64
stack backtrace:
   0:          0x10438c1 -
<std::sys_common::backtrace::_print::DisplayBacktrace as
core::fmt::Display>::fmt::h542345f6c0a5b9d0
   1:           0x3db10c - core::fmt::write::h4a7029c72fe74398
   2:          0x103dc6e - std::io::Write::write_fmt::h463637b98c14dc6b
   3:          0x1043695 - std::sys_common::backtrace::print::hfa76af9daca12dff
   4:          0x10450d3 -
std::panicking::default_hook::{{closure}}::h41344868983f3f1d
   5:          0x1044d9c - std::panicking::default_hook::h4c7c63a5bf1dcdb6
   6:          0x1045726 -
std::panicking::rust_panic_with_hook::h2fa714c766a164ac
   7:          0x10454b4 -
std::panicking::begin_panic_handler::{{closure}}::h7116e749da2b4cc5
   8:          0x1043d66 -
std::sys_common::backtrace::__rust_end_short_backtrace::h2f4091fe515e23cd
   9:          0x1045262 - rust_begin_unwind
  10:           0x3450b3 - core::panicking::panic_fmt::hb67bf14fa3ff747e
  11:           0x345143 - core::panicking::panic::h4beb945c55c45e9b
  12:           0x7ba2ea - core::ops::function::impls::<impl
core::ops::function::FnMut<A> for &mut F>::call_mut::hc638d33d1e2f9e37
  13:           0x7b4431 - <core::iter::adapters::map::Map<I,F> as
core::iter::traits::iterator::Iterator>::next::hb9e231b9a762b59d
  14:           0x6ca6a5 - <core::iter::adapters::map::Map<I,F> as
core::iter::traits::iterator::Iterator>::next::h30e48b72818885f8
  15:           0x8d312a -
<nu_command::viewers::table::PagingTableCreator as
core::iter::traits::iterator::Iterator>::next::h01acfcfe4d702cda
  16:           0xe91e93 - <nu_protocol::value::stream::RawStream as
core::iter::traits::iterator::Iterator>::next::hc06ae18e5e781fa3
  17:           0xe8f3ab -
<nu_protocol::pipeline_data::PipelineIterator as
core::iter::traits::iterator::Iterator>::next::h9c0eee12d1f4b54a
  18:           0x4eed2f - nu_cli::eval_file::print_or_exit::he81cf46cf7451665
  19:           0x4eea98 -
nu_cli::eval_file::print_table_or_error::h6c38a428edf69455
  20:           0x5286bd -
nu_cli::eval_cmds::evaluate_commands::hdb3acdf9381e7119
  21:           0x4c604d - nu::run::run_commands::h73409a883645470c
  22:           0x4bb235 - nu::main::hf7d7b98fe48ba30e
  23:           0x4cb067 -
std::sys_common::backtrace::__rust_begin_short_backtrace::h483e7ef6b4043dc8
  24:           0x4ccf3a - std::rt::lang_start::{{closure}}::h1f65b4e11acbdcd8
  25:          0x1035c2f - std::rt::lang_start_internal::hf1007fd91fd47787
  26:           0x4bc315 - main
  27:           0x34463d - ___start

As far as I could test it, this happens only with long-listing of /,
works ok on any other directory.

This happens only under NetBSD-current (tested under a few Linux
variants, Windows 11 and FreeBSD 14(pkgsrc version on the latter).

Chavdar

-- 
----


Home | Main Index | Thread Index | Old Index