[Bug 51438] Rust compiler crashes with "free(): double free detected in tcache 2" message
WineHQ Bugzilla
wine-bugs at winehq.org
Mon Jul 12 16:27:11 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=51438
--- Comment #7 from Bernhard Übelacker <bernhardu at mailbox.org> ---
I retried on tag wine-6.12 with patches applied from
wine-staging of 163f74fe61851.
There I added the line like this:
--- a/server/fd.c
+++ b/server/fd.c
@@ -2828,6 +2828,7 @@ static void set_fd_name( struct fd *fd, ...
...
free( fd->unix_name );
+ fd->closed->unlink_name = fd->unlink_name = name;
fd->closed->unix_name = fd->unix_name = realpath( name, NULL );
...
https://github.com/wine-staging/wine-staging/commit/750044c08c49c7a117fcc911506a198969379144#diff-9eb84d04502299132b0deb6221a6ae61816eb9f2be30b04855f02f673f211a64L196
And the free fault is no longer visible
and valgrind run shows nothing related to the free.
--
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