The-Fat-Controller icon indicating copy to clipboard operation
The-Fat-Controller copied to clipboard

Crash during initialization

Open positiveway opened this issue 8 months ago • 2 comments

In x11 mode immediate crash during device initialization Context::new(). In Wayland mode it works as expected.

Error: The application panicked (crashed). Message: unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceedisize::MAX

OS: Lubuntu 24.04

Libraries were installed sudo apt install libx11-dev libxtst-dev libxkbcommon-dev

Cargo.toml: tfc = { version = "0.7", features = ["x11"], optional = true }

positiveway avatar Jun 07 '24 17:06 positiveway