http://bugs.winehq.org/show_bug.cgi?id=26027
--- Comment #8 from fracting fracting@gmail.com 2011-02-18 04:23:34 CST ---
Okay, now I'm confused. If there's no crash without the patch, does that mean it doesn't need this function after all?
I'm not sure either...
I test it with WINEDEBUG=iphlpapi , and find something strange.
Without the patch, there is something like below:
trace:iphlpapi:GetIpForwardTable pIpForwardTable (nil), pdwSize 0x32e75c, bOrder 0 trace:iphlpapi:AllocateAndGetIpForwardTableFromStack table 0x32e6b0, bOrder 0, heap 0x110000, flags 0x00000000 trace:iphlpapi:AllocateAndGetIpForwardTableFromStack returning ret 0 table 0x1613790 trace:iphlpapi:GetIpForwardTable returning 122 trace:iphlpapi:GetIpForwardTable pIpForwardTable 0x2130b78, pdwSize 0x32e75c, bOrder 0 trace:iphlpapi:AllocateAndGetIpForwardTableFromStack table 0x32e6b0, bOrder 0, heap 0x110000, flags 0x00000000 trace:iphlpapi:AllocateAndGetIpForwardTableFromStack returning ret 0 table 0x1613790 trace:iphlpapi:GetIpForwardTable returning 0 trace:iphlpapi:GetAdaptersInfo pAdapterInfo (nil), pOutBufLen 0x32e758 trace:iphlpapi:GetAdaptersInfo returning 111 trace:iphlpapi:GetAdaptersInfo pAdapterInfo 0x2133988, pOutBufLen 0x32e758 trace:iphlpapi:AllocateAndGetIpForwardTableFromStack table 0x32e68c, bOrder 0, heap 0x110000, flags 0x00000000 trace:iphlpapi:AllocateAndGetIpForwardTableFromStack returning ret 0 table 0x1613790 trace:iphlpapi:GetAdaptersInfo returning 0 wine: Call from 0x7b839332 to unimplemented function iphlpapi.dll._PfCreateInterface@24, aborting
But, after applying the patch, there is no trace from iphlpapi ...
attachments are the logs, hopes them helpful.
Thank you Juan ;-)