http://bugs.winehq.org/show_bug.cgi?id=27653
--- Comment #27 from Hedgehog nbspjr@gmail.com 2011-11-10 09:43:00 CST --- I'm not familiar with programming stuff, but... I tried to discover is there any loop causes problem and added few pintf functions:
for (; ifa; ifa = ifa->ifa_next) if (ifa->ifa_addr && ifa->ifa_addr->sa_family == AF_INET) numAddresses++; + printf("countIPv4Addresses returns %d\n", numAddresses); return numAddresses;
printf("Prior to while\n"); + while (!ret && ifPtr) { if (!ifPtr->ifa_addr || ifPtr->ifa_addr->sa_family != AF_INET) continue;
+ printf("Entered while\n");
now output looks like this: trace:iphlpapi:GetAdaptersInfo pAdapterInfo 0x0, pOutBufLen 0x33a9c0 countIPv4Addresses returns 3 trace:iphlpapi:GetAdaptersInfo returning 111 trace:iphlpapi:GetAdaptersInfo pAdapterInfo 0x7742360, pOutBufLen 0x33a9c0 countIPv4Addresses returns 3 countIPv4Addresses returns 3 Prior to while
After that it's quiet and wine not responding.