Open Kl4rry opened 2 years ago
Hi!
What OS?
STATUS_HEAP_CORRUPTION
looks like Microsoft COM error, so I assume windows. Winit uses COM to handle it's drag and drop so we are probably having some races related to that. I remember having the same problems with cpal audio + winit drag and drop
rust-gdb
should be available out of the box in rust toolchain.
1. rust-gdb ./path/to/binary
2. type in `run` (or `r` for short)
3. reproduce the crash
4. type in `backtrace`
It does not seem to be avaliable by default. I ran in to this isssue while trying to run it rust-lang/rustup#2838. Both using the gnu and msvc toolchains.
When a file is dragged from an open rfd dialog and dropped in a winit window the program crashes with the error: