Closed sick4noise closed 2 years ago
I have the same issue on Manjaro Linux. I installed the AUR package.
export RUST_BACKTRACE=full
stl-thumb ./test.stl ./test.png
memory allocation of 48 bytes failed
[1] 493830 abort (core dumped) stl-thumb ./test.stl ./test.png
export RUST_BACKTRACE=full
stl-thumb -x ./test.stl
thread 'main' panicked at 'attempted to leave type `platform::platform::x11::util::input::PointerState` uninitialized, which is invalid', /build/rust/src/rustc-1.55.0-src/library/core/src/mem/mod.rs:663:9
stack backtrace:
0: 0x5623315b99c0 - <unknown>
1: 0x5623315db53c - <unknown>
2: 0x5623315b7135 - <unknown>
3: 0x5623315bba3b - <unknown>
4: 0x5623315bb511 - <unknown>
5: 0x5623315bc114 - <unknown>
6: 0x5623315bbbb7 - <unknown>
7: 0x5623315b9ebc - <unknown>
8: 0x5623315bbb49 - <unknown>
9: 0x5623313feb81 - <unknown>
10: 0x5623313feacd - <unknown>
11: 0x56233154bebf - <unknown>
12: 0x562331527952 - <unknown>
13: 0x56233150cc9c - <unknown>
14: 0x562331507ab9 - <unknown>
15: 0x56233149827a - <unknown>
16: 0x562331405909 - <unknown>
17: 0x562331405e7c - <unknown>
18: 0x5623313ffa79 - <unknown>
19: 0x5623313fffd3 - <unknown>
20: 0x562331400579 - <unknown>
21: 0x5623315bc61a - <unknown>
22: 0x5623313ffc92 - <unknown>
23: 0x7f6233c64b25 - __libc_start_main
24: 0x5623313ff35e - <unknown>
25: 0x0 - <unknown>
Can you test again with version 0.4.1? https://github.com/unlimitedbacon/stl-thumb/releases/tag/v0.4.1
Closing. Reopen if this is still happening for you on v0.5.0.
Confirmed - v0.5.0 works for me on Gentoo when compiled from scratch. Thanks!
I was very excited to find this project as I'm in need of an STL thumbnailer. I'm running gentoo on x86_64 hardware so I had to compile and install manually. However, the compile binary refuses to work. Based on searches it sounds like it's an issue with winit and my version of Rust (1.51.0). I tried using various versions of winit but I hit the same issue with all of them. Here's the stacktrace:
I would think if it's a compatibility issue with Rust then everyone running a recent version of Rust would be having this issue.