[Bug 51438] New: Rust compiler crashes with "free(): double free detected in tcache 2" message
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Jul 9 16:44:30 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=51438
Bug ID: 51438
Summary: Rust compiler crashes with "free(): double free
detected in tcache 2" message
Product: Wine
Version: 6.12
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: mikrutrafal at protonmail.com
Distribution: ---
When I installed on clear prefix rustc with cargo -
https://static.rust-lang.org/dist/rust-1.53.0-x86_64-pc-windows-gnu.msi
```
wget https://static.rust-lang.org/dist/rust-1.53.0-x86_64-pc-windows-gnu.msi
msiexec /i rust-1.53.0-x86_64-pc-windows-gnu.msi
```
then after running commands
```
echo "fn main() { println!(\"Hello World!\");}" > roman.rs
rustc roman.rs
```
compiler crashes with this info(not sure if this is Wine or Rustc info)
```
free(): double free detected in tcache 2
```
I think that this issue is very important to fix, because Rust allows to run
tests via e.g. `cargo test` command which allows to execute tests inside
repository.
This probably will really help with testing Wine because tests are usually
small and it will be easy to track issue down.
There is a lot of rust repositories, but this two use directly windows API, so
testing them should give easy info about crashes etc.
https://github.com/microsoft/windows-samples-rs
https://github.com/microsoft/windows-rs
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list