-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
bugA bug.A bug.
Description
Hi, got a test falure here. Does not look like a huge deal, but wanted to let you know.
What version of ripgrep are you using?
ripgrep 12.1.0
-SIMD -AVX (compiled)
How did you install ripgrep?
from gentoo repositories (I maintain ripgrep package/ebuild)
What operating system are you using ripgrep on?
Genroo rolling. tested on x86_64 and ppc64, same test failure.
distribution package of rustc 1.43.1 (which I also maintain)
also reproducable with official tarball of rustc-1.43.1
Describe your bug.
.Z compress test fails with both uncompress provided by gzip and ncompress package.
gentoo bug and full buld log available here
https://bugs.gentoo.org/725778
What are the steps to reproduce the behavior?
cargo test
What is the actual behavior?
test misc::compressed_uncompress ... FAILED
failures:
---- misc::compressed_uncompress stdout ----
thread 'misc::compressed_uncompress' panicked at '
==========
command failed but expected success!
Did your search end up with no results?
command: "/var/tmp/portage/sys-apps/ripgrep-12.1.0/work/ripgrep-12.1.0/target/release/deps/../rg" "--path-separator" "/" "-z" "Sherlock" "sherlock.Z"
cwd: /var/tmp/portage/sys-apps/ripgrep-12.1.0/temp/ripgrep-tests/compressed_uncompress/108
dir list: ["/var/tmp/portage/sys-apps/ripgrep-12.1.0/temp/ripgrep-tests/compressed_uncompress/108", "/var/tmp/portage/sys-apps/ripgrep-12.1.0/temp/ripgrep-tests/compressed_uncompress/108/sherlock.Z"]
status: exit code: 1
stdout:
stderr:
==========
==========
', tests/util.rs:406:13
stack backtrace:
0: 0x106826d94 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1e21cbf03e4e5763
1: 0x10685a364 - core::fmt::write::hb3ff83338e8b2d66
2: 0x1067d3d58 - std::io::Write::write_fmt::h5fd38946bf8c7a11
3: 0x10680f8dc - std::io::impls::<impl std::io::Write for alloc::boxed::Box<W>>::write_fmt::h0e0d8e73cfc9ac67
4: 0x106810964 - std::panicking::default_hook::{{closure}}::ha159ab335d6d2780
5: 0x1068104dc - std::panicking::default_hook::hc6f8b73d36ecf078
6: 0x1068112ac - std::panicking::rust_panic_with_hook::h2b8f1d2ef0497000
7: 0x106810d08 - rust_begin_unwind
8: 0x106810c30 - std::panicking::begin_panic_fmt::h4ffe547a81dbf942
9: 0x1067a621c - integration::util::TestCommand::expect_success::h742640728124be65
10: 0x1067a4c74 - integration::util::TestCommand::stdout::h9c875b01ea94d149
11: 0x106781210 - integration::misc::compressed_uncompress::h040d70216738de96
12: 0x1067b7194 - test::__rust_begin_short_backtrace::h5d4bbc96f3e45b05
13: 0x1067bdad8 - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::he06369dcdc359518
14: 0x1068341d0 - __rust_try
15: 0x10683404c - __rust_maybe_catch_panic
16: 0x1067b7440 - test::run_test_in_process::hab58b4da0b1dab28
17: 0x1067c3fa4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h71a54a46a35eda28
18: 0x1067c5378 - std::panicking::try::do_call::h3448860c56f573f7
19: 0x1068341d0 - __rust_try
20: 0x10683404c - __rust_maybe_catch_panic
21: 0x1067bc87c - core::ops::function::FnOnce::call_once{{vtable.shim}}::h513d035f57eb50fe
22: 0x10680f628 - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::hefcd91f4e78e44b5
23: 0x106828074 - std::sys_common::thread::start_thread::hf3c0bc78acf4ce1e
24: 0x10681c798 - std::sys::unix::thread::Thread::new::thread_start::he003e4e14f3e450a
25: 0x7fff9de1850c - start_thread
at /var/tmp/portage/sys-libs/glibc-2.31-r3/work/glibc-2.31/nptl/pthread_create.c:477
26: 0x7fff9dcf8b34 - __clone
failures:
misc::compressed_uncompress
test result: FAILED. 254 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
What is the expected behavior?
Test should succeed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugA bug.A bug.