[Bug 14574] New: iphlpapi: GetAdaptersAddresses required for some utility classes in system.net namespace (.NET)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 19 10:55:44 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14574

           Summary: iphlpapi: GetAdaptersAddresses required for some utility
                    classes in system.net namespace (.NET)
           Product: Wine
           Version: CVS/GIT
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net


Hello,

encountered this insufficiency several times while investigating bugs in
several .NET/managed apps:

--- snip ---
..
First chance exception generated: (0x125ef4c)
<System.EntryPointNotFoundException>
  ClassName=<null>
  AssemblyName=<null>
  MessageArg=<null>
  ResourceId=0
  _className=<null>
  _exceptionMethod=<null>
  _exceptionMethodString=<null>
  _message=(0x125f094) "Unable to find an entry point named
'GetAdaptersAddresses' in DLL 'iphlpapi.dll'."
  _data=<null>
  _innerException=<null>
  _helpURL=<null>
  _stackTrace=(0x125f16c) <System.SByte[]>
  _stackTraceString=<null>
  _remoteStackTraceString=<null>
  _remoteStackIndex=0
  _dynamicMethods=<null>
  _HResult=-2146233053
  _source=<null>
  _xptrs=0
  _xcode=-532459699
Exception is called:FIRST_CHANCE
[0110] mov         esi,eax
(cordbg) w
Thread 0x4a Current State:Background,GCUnsafe spot
0)* System.Net.NclUtilities::GetLocalAddresses +0272[native] +0029[IL]
1)  System.Net.NclUtilities::get_LocalAddresses +0219[native] +0081[IL]
2)  System.Net.ServicePoint::IsAddressListLoopback +0067[native] +0002[IL]
3)  System.Net.ServicePoint::SetAddressList +0082[native] +0024[IL]
4)  System.Net.ServicePoint::GetIPAddressInfoList +0503[native] +0228[IL]
5)  System.Net.ServicePoint::ConnectSocketInternal +0150[native] +0022[IL]
6)  System.Net.ServicePoint::ConnectSocket +0055[native] +0000[IL]
7)  System.Net.ServicePoint::GetConnection +0257[native] +0067[IL]
8)  System.Net.PooledStream::Activate +0142[native] +0024[IL]
9)  System.Net.Connection::CompleteStartConnection +0360[native] +0111[IL]
..
--- snip ---

The missing iphlpapi export seems not critical for functioning of apps (first
chance exception is caught) but it's better to fill holes in wine's API.

MSDN info here: http://msdn.microsoft.com/en-us/library/aa365915.aspx

Set component as -unknown- because iphlpapi component doesn't exist in
bugzilla.

(NOTE for myself: encountered this in VS.NET 2005 startup phase, under managed
debugger, 'ca e')

Regards


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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