overlayeddev / overlayed

A modern, open-source, and free voice chat overlay for Discord that supports Mac, Linux, and Windows
https://overlayed.dev
GNU Affero General Public License v3.0
357 stars 27 forks source link

Overlayed v0.4.0 crashes on linux #146

Closed Hacksore closed 4 months ago

Hacksore commented 4 months ago

Describe the bug

hacksore@gamer:~$ RUST_BACKTRACE=full ./overlayed_0.4.0_amd64.AppImage
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gdk-pixbuf-0.15.11/src/pixbuf.rs:52:13:
data.len() must fit the width, height, and row_stride
stack backtrace:
   0:     0x559991ca9d35 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1e1a1972118942ad
   1:     0x559991cd5b0b - core::fmt::write::hc090a2ffd6b28c4a
   2:     0x559991ca5b0f - std::io::Write::write_fmt::h8898bac6ff039a23
   3:     0x559991ca9b0e - std::sys_common::backtrace::print::ha96650907276675e
   4:     0x559991caadc9 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0
   5:     0x559991caab0d - std::panicking::default_hook::h207342be97478370
   6:     0x559991cab263 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c
   7:     0x559991cab10b - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c
   8:     0x559991caa1f9 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996
   9:     0x559991caae77 - rust_begin_unwind
  10:     0x559991366443 - core::panicking::panic_fmt::hdc63834ffaaefae5
  11:     0x5599919c13a6 - tao::platform_impl::platform::icon::<impl core::convert::From<tao::platform_impl::platform::icon::PlatformIcon> for gdk_pixbuf::auto::pixbuf::Pixbuf>::from::hecd2bb6b5fb5efba
  12:     0x559991522609 - tao::platform_impl::platform::window::Window::new::h9124e96de9fcf0bc
  13:     0x559991395321 - <tauri_runtime_wry::Wry<T> as tauri_runtime::Runtime<T>>::create_window::ha06da703e90fce12
  14:     0x5599914c2b94 - tauri::app::Builder<R>::build::hc3557d2037275d5e
  15:     0x5599913c1acc - overlayed::main::h77b517ab8f5752ca
  16:     0x5599914ad4e3 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha2508b17c398dc8c
  17:     0x5599914ad629 - std::rt::lang_start::{{closure}}::h3f75103b48cfeaa1
  18:     0x559991c9f1b0 - std::rt::lang_start_internal::h3ed4fe7b2f419135
  19:     0x5599913c2945 - main
  20:     0x7fb2e66b0d90 - <unknown>
  21:     0x7fb2e66b0e40 - __libc_start_main
  22:     0x559991366cc5 - _start
  23:                0x0 - <unknown>

Expected behavior It should not crash 😢

Desktop (please complete the following information):