[MSVC] Using with libadwaita 1.4 causes STATUS_STACK_OVERFLOW
After updating my libadwaita
build to 1.4 on Windows (using gvsbuild
), I'm seeing a stack overflow.
To reproduce:
-
gvsbuild build --enable-gi gtk4 libadwaita
withgvsbuild==2023.11.0
-
Cargo.toml
:[package] name = "gtk-demo" version = "0.1.0" edition = "2021" [dependencies] adw = { version = "0.5", package = "libadwaita", features = ["gtk_v4_10", "v1_3"] } gio = "0.18" gtk = { version = "0.7", package = "gtk4", features = ["v4_10"]}
-
src/main.rs
:use gio::prelude::*; use gio::ApplicationFlags; use gtk::prelude::*; fn main() { let application = adw::Application::new(Some("org.app"), ApplicationFlags::default()); application.connect_startup(move |a| { let window = gtk::ApplicationWindow::new(a); window.set_visible(true); }); application.connect_activate(|_| {}); application.run(); }
-
cargo run
One other notes:
- I'm not sure how this is on Linux, as I'm not comfortable enough with custom GTK/Libadwaita builds or Flatpak to make a similar environment
Edited by Mitchell Hentges