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: crashed while installing rover cli on alpine 3.18.0 #1630

Closed
udayangak opened this issue Jun 9, 2023 · 1 comment
Closed

bug: crashed while installing rover cli on alpine 3.18.0 #1630

udayangak opened this issue Jun 9, 2023 · 1 comment
Labels
duplicate 🧑‍🤝‍🧑 issue or pull request already exists

Comments

@udayangak
Copy link

udayangak commented Jun 9, 2023

Description

Describe the issue that you're seeing.

Crash Report

name = "rover"
operating_system = "unix:Alpine"
crate_version = "0.15.0"
explanation = """
Panic occurred in file 'src/utils/telemetry.rs' at line 121
"""
cause = """
could not get request client: RoverError { error: builder error: error reading DNS system conf: Error parsing resolv.conf: ProtoError { kind: Msg(\"Malformed label: --\") }

Caused by:
    error reading DNS system conf: Error parsing resolv.conf: ProtoError { kind: Msg(\"Malformed label: --\") }, metadata: RoverErrorMetadata { suggestion: None, code: None, skip_printing_cause: false, json_version: One } }"""
method = "Panic"
backtrace = """

   0: 0x7fe8984aea93 - core::result::unwrap_failed::hdaa067f32f4c1fb6
                at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/result.rs:1687
   1: 0x7fe898554120 - sputnik::session::Session::new::hfe2fc005d33dbc5c
   2: 0x7fe8984b3508 - rover::cli::Rover::run::hac451c11a362abd1
   3: 0x7fe8984b33e5 - rover::cli::Rover::run_from_args::hfe8fb8cf9d48705e
   4: 0x7fe8984af55e - rover::main::h07b072dc23a56ba4
   5: 0x7fe8984af8d3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h43fed42e02f73985
   6: 0x7fe8984af8e9 - std::rt::lang_start::{{closure}}::he8892a2be9dfc7a7
   7: 0x7fe898db14a2 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h826ec84f4d22172a
                at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/ops/function.rs:287
                 - std::panicking::try::do_call::h330f41e7cdb66fa2
                at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:485
                 - std::panicking::try::h30d9a927415799ae
                at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:449
                 - std::panic::catch_unwind::h0f7d81e60d1c7508
                at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panic.rs:140
                 - std::rt::lang_start_internal::{{closure}}::h91e177ac1f827128
                at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/rt.rs:148
                 - std::panicking::try::do_call::haf26aa5893f5930f
                at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:485
                 - std::panicking::try::hd1a491374a98c81c
                at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:449
                 - std::panic::catch_unwind::h9d9e54dec05b7526
                at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panic.rs:140
                 - std::rt::lang_start_internal::hebd4e8d348b0ef95
                at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/rt.rs:148
   8: 0x7fe8984af8c5 - main"""
@udayangak udayangak added bug 🐞 triage issues and PRs that need to be triaged labels Jun 9, 2023
@EverlastingBugstopper
Copy link
Contributor

Hi @udayangak - this appears to be related to #1471 which describes a similar crash. That issue has some troubleshooting steps that may help you. TL;DR, we can't parse your /etc/resolv.conf DNS settings due to a rule in the file that the DNS configuration parsing library that we use panics when parsing it. We've reported the issue upstream but do not have a fix, the only real path is to remove the offending line from your systems /etc/resolv.conf.

Closing as duplicate of #1471

@EverlastingBugstopper EverlastingBugstopper added duplicate 🧑‍🤝‍🧑 issue or pull request already exists and removed bug 🐞 triage issues and PRs that need to be triaged labels Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate 🧑‍🤝‍🧑 issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants