Bug 2035786
| Summary: | gnome-tour panicks when launched in environment without graphical session | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Jiri Prajzner <jprajzne> |
| Component: | gnome-tour | Assignee: | Kalev Lember <klember> |
| Status: | CLOSED MIGRATED | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | tpelka, tpopela |
| Target Milestone: | rc | Keywords: | MigratedToJIRA |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-15 17:02:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I am not really sure how you end up with this issue, but I have made a new 40.1 release with updated bindings, it should hopefully land soon. (In reply to belmouss from comment #1) > I am not really sure how you end up with this issue, but I have made a new > 40.1 release with updated bindings, it should hopefully land soon. On thing isn't explicitly mentioned by the reporter and one have to read it between the lines: you will only be able to reproduce it when running GNOME Tour in an environment when there's no graphical session available (aka jump to tty, log in and try to run gnome-tour --help). Thanks Tomas, although, no idea if there is anything actionable here as it is a GUI application after all and doesn't provide any CLI options that would make such issue a priority (In reply to belmouss from comment #3) > Thanks Tomas, although, no idea if there is anything actionable here as it > is a GUI application after all and doesn't provide any CLI options that > would make such issue a priority On the other hand it should rather fail gracefully as other GUI applications. thanks for clarifying Tomas, i overlooked the reply from Bilal. "On the other hand it should rather fail gracefully as other GUI applications." - yes, it should not panic and just fail gracefully I will have a look at fixing the issue today Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |
Description of problem: tour panicks when launched from cli or given a valid argument Version-Release number of selected component (if applicable): gnome-tour-40.0-4.el9.x86_64 How reproducible: always Steps to Reproduce: 1. ssh to server/workstation 2. gnome-tour --valid-argument or just plain gnome-tour 3. Actual results: thread 'main' panicked at 'Unable to start GTK3: BoolError { message: "Failed to initialize GTK", filename: "/builddir/build/BUILD/gnome-tour-40.0/vendor/gtk/src/rt.rs", function: "gtk::rt", line: 129 }', src/main.rs:22:17 stack backtrace: 0: 0x562cd5bab2d0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h7346ef35344da971 1: 0x562cd5bc612f - core::fmt::write::h4c35274e7f1f2b72 2: 0x562cd5ba9a95 - std::io::Write::write_fmt::h90963487920a69ee 3: 0x562cd5bad20b - std::panicking::default_hook::{{closure}}::hd2989a88586c636b 4: 0x562cd5baccdd - std::panicking::default_hook::hd68a69e68d565d2d 5: 0x562cd5bad82d - std::panicking::rust_panic_with_hook::h78fa23e85ebb254e 6: 0x562cd5bad3b7 - std::panicking::begin_panic_handler::{{closure}}::h71df9d9892d5bc06 7: 0x562cd5bab76c - std::sys_common::backtrace::__rust_end_short_backtrace::h79afda96df1f9629 8: 0x562cd5bad319 - rust_begin_unwind 9: 0x562cd5b05821 - core::panicking::panic_fmt::h471341e59c25a5c6 10: 0x562cd5b058b3 - core::result::unwrap_failed::h2cdc9a07e4f7629c 11: 0x562cd5b08c27 - gnome_tour::main::hee4c491af842401c 12: 0x562cd5b0a433 - std::sys_common::backtrace::__rust_begin_short_backtrace::h07411f5594d59219 13: 0x562cd5b0a449 - std::rt::lang_start::{{closure}}::h1c04e484b162a296 14: 0x562cd5badc2a - std::rt::lang_start_internal::hce057b83727e2aaa 15: 0x562cd5b08cd2 - main 16: 0x7fa766342560 - __libc_start_call_main 17: 0x7fa76634260c - __libc_start_main@@GLIBC_2.34 18: 0x562cd5b05f15 - _start 19: 0x0 - <unknown> Expected results: print out usage Additional info: gnome-tour --valid-argument works fine from within gnome-terminal