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

0.4.1 release build crashed on linux #263

Open
chenrui333 opened this issue Mar 10, 2024 · 4 comments
Open

0.4.1 release build crashed on linux #263

chenrui333 opened this issue Mar 10, 2024 · 4 comments
Labels
C-bug Category: Something isn't working C-crash-report Category: bugs submitted from inlyne's crash reporting P-linux Platform: One of the many flavors of linux

Comments

@chenrui333
Copy link

While trying to package this project for homebrew, I ran into some crash while starting the app.

runner@fv-az881-710:/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core$ cat /tmp/report-f5c58da5-dd4e-4630-8cf4-ed879b9bb80d.toml
"name" = "inlyne"
"operating_system" = "Ubuntu 22.04 (jammy) [64-bit]"
"crate_version" = "0.4.1"
"explanation" = """
Panic occurred in file '/home/runner/.cache/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.7/src/platform_impl/linux/[mod.rs](http://mod.rs/)' at line 757
"""
"cause" = "Failed to initialize any backend! Wayland status: XdgRuntimeDirNotSet X11 status: XOpenDisplayFailed"
"method" = "Panic"
"backtrace" = """

   0: 0x557ecb697888 - <unresolved>
   1: 0x557ecb758493 - <unresolved>
   2: 0x557ecb740c3d - <unresolved>
   3: 0x557ecc6a5e24 - <unresolved>
   4: 0x557ecc6a7d1b - <unresolved>
   5: 0x557ecb698aa5 - <unresolved>
   6: 0x7f9ef2029d90 - <unresolved>
   7: 0x7f9ef2029e40 - __libc_start_main
   8: 0x557ecb5ff025 - <unresolved>
   9:        0x0 - <unresolved>"""
  • wayland, 1.22.0
  • libxkbcommon, 1.5.0
@CosmicHorrorDev
Copy link
Collaborator

Thanks for the issue! I'll try setting up a VM to work on reproing sometime over the next week

@CosmicHorrorDev CosmicHorrorDev added the C-bug Category: Something isn't working label Mar 10, 2024
@chenrui333
Copy link
Author

Thanks @CosmicHorrorDev!

@CosmicHorrorDev CosmicHorrorDev added the P-linux Platform: One of the many flavors of linux label Mar 11, 2024
@CosmicHorrorDev
Copy link
Collaborator

Alright, had time to setup an Ubuntu 22.04 VM and I'm able to run the prebuilt binary on a clean install without having to install anything else

image

I'm also able to build and run things after installing cargo, gcc (but any C compiler should do), libfontconfig-dev, libxkbcommon-dev, and libwayland-dev (if building with the wayland feature which is on by default)

image


Not sure where to go from here, but I can provide more information from my system if it helps in tracking down the issue

@CosmicHorrorDev CosmicHorrorDev added the C-crash-report Category: bugs submitted from inlyne's crash reporting label Mar 24, 2024
@CosmicHorrorDev
Copy link
Collaborator

Can you still reproduce this issue with the latest release? It fixed an issue with mismatched Wayland client/server capabilities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Something isn't working C-crash-report Category: bugs submitted from inlyne's crash reporting P-linux Platform: One of the many flavors of linux
Projects
None yet
Development

No branches or pull requests

2 participants