Valgrind --malloc-fill=A5 --free-fill=DE crashes Wine

Maarten Lankhorst m.b.lankhorst at
Mon Feb 21 11:10:50 CST 2011

Hi Joerg,

Op 21-02-11 12:26, Joerg-Cyril.Hoehle at schreef:
> Hi,
> I used to run Valgrind with the additional options
> --malloc-fill=A5 --free-fill=DE
> around Wine 1.2 times. Now I retried it and it crashes
> Wine 1.3.13 and 1.3.14 (it fails to load kernel32.dll).
> It turns out that malloc-fill is harmless, -free-fill causes havoc currently.
> Am I the only one using or seeing this (Ubuntu Lucid)?
It's most likely a valgrind/wine bug, does this patch work?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0008-ntdll-HACK-to-prevent-valgrind-free-fill-error.txt
URL: <>

More information about the wine-devel mailing list