FS#65589 - [arch-audit] panics
Attached to Project:
Community Packages
Opened by Ralf Mardorf (Ralf) - Saturday, 22 February 2020, 13:46 GMT
Last edited by Christian Rebischke (Shibumi) - Friday, 28 February 2020, 12:00 GMT
Opened by Ralf Mardorf (Ralf) - Saturday, 22 February 2020, 13:46 GMT
Last edited by Christian Rebischke (Shibumi) - Friday, 28 February 2020, 12:00 GMT
|
Details
Description:
arch-audit doesn't work at the moment. FWIW yesterday pacaudit suffered from a https://security.archlinux.org/ failure, see https://github.com/steffenfritz/pacaudit/commit/98f2449f3bd406043796e151ad0ed4e2886f8922 . Today the server is accessible again. Additional info: arch-audit 0.1.11-1 Reporting issues upstream seems to be unwanted. I logged in, but can't find a link to report the issue, see https://github.com/ilpianista/arch-audit/ . $ arch-audit -u thread 'main' panicked at 'serde_json::from_str failed: Error("expected value", line: 1, column: 1)', src/libcore/result.rs:1165:5 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace. $ RUST_BACKTRACE=1 arch-audit -u thread 'main' panicked at 'serde_json::from_str failed: Error("expected value", line: 1, column: 1)', src/libcore/result.rs:1165:5 stack backtrace: 0: <unknown> 1: <unknown> 2: <unknown> 3: <unknown> 4: <unknown> 5: <unknown> 6: <unknown> 7: <unknown> 8: <unknown> 9: <unknown> 10: <unknown> 11: <unknown> 12: <unknown> 13: <unknown> 14: <unknown> 15: <unknown> 16: __libc_start_main 17: <unknown> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. $ RUST_BACKTRACE=full arch-audit -u thread 'main' panicked at 'serde_json::from_str failed: Error("expected value", line: 1, column: 1)', src/libcore/result.rs:1165:5 stack backtrace: 0: 0x55f42d2a1f04 - <unknown> 1: 0x55f42d2b9c7c - <unknown> 2: 0x55f42d2a0037 - <unknown> 3: 0x55f42d2a42f5 - <unknown> 4: 0x55f42d2a3fe6 - <unknown> 5: 0x55f42d2a49f5 - <unknown> 6: 0x55f42d2a4592 - <unknown> 7: 0x55f42d2a4486 - <unknown> 8: 0x55f42d2b70ba - <unknown> 9: 0x55f42d2b71b7 - <unknown> 10: 0x55f42d1781fb - <unknown> 11: 0x55f42d173063 - <unknown> 12: 0x55f42d2a4423 - <unknown> 13: 0x55f42d2a699a - <unknown> 14: 0x55f42d2a4fad - <unknown> 15: 0x55f42d178922 - <unknown> 16: 0x7f4d106b6023 - __libc_start_main 17: 0x55f42d16c0ae - <unknown> 18: 0x0 - <unknown> |
This task depends upon
Closed by Christian Rebischke (Shibumi)
Friday, 28 February 2020, 12:00 GMT
Reason for closing: Fixed
Additional comments about closing: 0.1.12-1
Friday, 28 February 2020, 12:00 GMT
Reason for closing: Fixed
Additional comments about closing: 0.1.12-1
https://gitlab.com/ilpianista/arch-audit/issues/35
Please change the URL provided by the package from https://github.com/ilpianista/arch-audit to https://gitlab.com/ilpianista/arch-audit .
$ RUST_BACKTRACE=1 ./arch-audit
thread 'main' panicked at 'serde_json::from_str failed: Error("expected value", line: 1, column: 1)', src/libcore/result.rs:1188:5
stack backtrace:
0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
1: core::fmt::write
2: std::io::Write::write_fmt
3: std::panicking::default_hook::{{closure}}
4: std::panicking::default_hook
5: std::panicking::rust_panic_with_hook
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::result::unwrap_failed
9: core::result::Result<T,E>::expect
at /build/rust/src/rustc-1.41.0-src/src/libcore/result.rs:983
10: arch_audit::main
at src/main.rs:97
11: std::rt::lang_start::{{closure}}
at /build/rust/src/rustc-1.41.0-src/src/libstd/rt.rs:67
12: std::panicking::try::do_call
13: __rust_maybe_catch_panic
14: std::rt::lang_start_internal
15: main
16: __libc_start_main
17: _start
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- END ----
For me the issue was correlated with #65596. While the URL used by arch-audit exists and is a valid JSON (therefore not exactly #65596), it may be related.