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@winehq.org ReportedBy: focht@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
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #1 from Jeff Zaroyko jeffz@jeffz.name 2008-12-29 04:00:28 --- Created an attachment (id=18293) --> (http://bugs.winehq.org/attachment.cgi?id=18293) stub GetAdapterAddresses
Noticed this function was unimplemented when trying a chinese app called NamiRobot, it tries to use this function through GetProcAddress, calling the result regardless of the value.
http://bugs.winehq.org/show_bug.cgi?id=14574
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffz@jeffz.name Severity|enhancement |normal Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |patch Version|CVS/GIT |1.1.11
--- Comment #2 from Jeff Zaroyko jeffz@jeffz.name 2008-12-29 04:01:23 --- confirming
http://bugs.winehq.org/show_bug.cgi?id=14574
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18293|0 |1 is obsolete| |
--- Comment #3 from Jeff Zaroyko jeffz@jeffz.name 2008-12-30 04:53:16 --- Created an attachment (id=18322) --> (http://bugs.winehq.org/attachment.cgi?id=18322) improved patch
http://bugs.winehq.org/show_bug.cgi?id=14574
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://202.111.173.105:8011/ | |NamiRobotSetup.exe Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #4 from Jeff Zaroyko jeffz@jeffz.name 2008-12-31 09:06:44 --- Patches sent: http://www.winehq.org/pipermail/wine-patches/2008-December/066839.html http://www.winehq.org/pipermail/wine-patches/2008-December/066840.html
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #5 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-01-31 04:46:36 --- Created an attachment (id=19120) --> (http://bugs.winehq.org/attachment.cgi?id=19120) crash log from Little Reader
Hi Jeff, any updates on the patches you sent? Could you resend them again?
This stub is also needed by Little Reader, see attached crash log. Affects probably more .net apps. BTW, Little reader is not happy by return ERROR_CALL_NOT_IMPLEMENTED, it still crashes. Returning ERROR_NODATA is enough to get it going
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #6 from Jeff Zaroyko jeffz@jeffz.name 2009-01-31 05:15:32 --- (In reply to comment #5)
Created an attachment (id=19120)
--> (http://bugs.winehq.org/attachment.cgi?id=19120) [details]
crash log from Little Reader
Hi Jeff, any updates on the patches you sent? Could you resend them again?
This stub is also needed by Little Reader, see attached crash log. Affects probably more .net apps. BTW, Little reader is not happy by return ERROR_CALL_NOT_IMPLEMENTED, it still crashes. Returning ERROR_NODATA is enough to get it going
Hi Louis
My attempt was rejected because headers wrote did not match the platform sdk, I'll take another look this week.
http://bugs.winehq.org/show_bug.cgi?id=14574
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ead1234@hotmail.com
--- Comment #7 from Jeff Zaroyko jeffz@jeffz.name 2009-02-25 08:18:45 --- *** Bug 17516 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #8 from Jeff Zaroyko jeffz@jeffz.name 2009-02-25 08:20:56 --- due to lack of time I haven't looked at this since and I don't currently have the platform SDK, anyone else is free to submit a revised patch.
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #9 from EA Durbin ead1234@hotmail.com 2009-02-25 13:30:42 --- I'll have a poke at it this weekend and see if I can't implement this.
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #10 from EA Durbin ead1234@hotmail.com 2009-02-27 21:01:26 --- Created an attachment (id=19704) --> (http://bugs.winehq.org/attachment.cgi?id=19704) iptypes.h
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #11 from EA Durbin ead1234@hotmail.com 2009-02-27 21:02:16 --- Created an attachment (id=19705) --> (http://bugs.winehq.org/attachment.cgi?id=19705) iphlpapi_main
http://bugs.winehq.org/show_bug.cgi?id=14574
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dgerard@gmail.com
--- Comment #12 from Jeff Zaroyko jeffz@jeffz.name 2009-02-28 08:28:18 --- *** Bug 17554 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14574
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |t.artem@mailcity.com
--- Comment #13 from Jeff Zaroyko jeffz@jeffz.name 2009-02-28 08:29:55 --- *** Bug 17555 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14574
Benson btsai@vrwarp.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |btsai@vrwarp.com
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #14 from David Gerard dgerard@gmail.com 2009-03-01 09:00:02 --- EADurbin's patch doesn't get Safari 4 working (which was bug 17554 and bug 17555, which were marked as duplicates of this one - may have been mis-marked). I tried Safari with the patch and it still bombs out with a backtrace, though hopefully it's a more informative backtrace than the one attached to bug 17554.
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #15 from David Gerard dgerard@gmail.com 2009-03-01 09:02:21 --- Created an attachment (id=19729) --> (http://bugs.winehq.org/attachment.cgi?id=19729) backtrace
Backtrace from running Safari 4 in wine-1.1.16 with EADurbin's patch, built from source.
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #16 from EA Durbin ead1234@hotmail.com 2009-03-01 12:54:24 --- (In reply to comment #15)
Created an attachment (id=19729)
--> (http://bugs.winehq.org/attachment.cgi?id=19729) [details]
backtrace
Backtrace from running Safari 4 in wine-1.1.16 with EADurbin's patch, built from source.
(In reply to comment #14)
EADurbin's patch doesn't get Safari 4 working (which was bug 17554 and bug 17555, which were marked as duplicates of this one - may have been mis-marked). I tried Safari with the patch and it still bombs out with a backtrace, though hopefully it's a more informative backtrace than the one attached to bug 17554.
The other crash is a font issue, you can bypass it using winetricks corefonts, this patch satisfies the GetAdaptersAddresses function crash.
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #17 from David Gerard dgerard@gmail.com 2009-03-01 12:58:49 --- Right, so bug 17554 should *not* in fact have been marked a duplicate of this bug, and should therefore be reopened until the font crash is resolved other than through winetricks?
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #18 from Vitaliy Margolen vitaliy@kievinfo.com 2009-03-01 13:21:02 --- (In reply to comment #17) Wrong. What you posted in that bug ex exact duplicate of this. You are welcome to open a new bug for the next font related crash.
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #19 from David Gerard dgerard@gmail.com 2009-03-01 13:32:16 --- OK.
I can verify that EA Durbin's patch in this bug does (when I do "winetricks corefonts") allow Safari to start properly! So merely adding this patch to create a stub looks like a big win.
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #20 from Dmitry Timoshkov dmitry@codeweavers.com 2009-03-01 23:37:56 --- Do you know which missing font is a culprit?
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #21 from EA Durbin ead1234@hotmail.com 2009-03-02 07:04:47 --- (In reply to comment #20)
Do you know which missing font is a culprit?
According to a note on the AppDB
Install: Needs operating system to be set to Win XP or Win 2003 (can be changed after install) and at least the Times New Roman font in /fonts. Get a variety of basic Windows fonts anyway (known as msttcorefonts in some reps), or the browser will page fault when trying to go to another site.
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #22 from Dmitry Timoshkov dmitry@codeweavers.com 2009-03-02 07:54:36 --- (In reply to comment #21)
According to a note on the AppDB Install: Needs operating system to be set to Win XP or Win 2003 (can be changed after install) and at least the Times New Roman font in /fonts.
Then that's a duplicate of the bug 9623.
http://bugs.winehq.org/show_bug.cgi?id=14574
Hin-Tak Leung htl10@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |htl10@users.sourceforge.net
http://bugs.winehq.org/show_bug.cgi?id=14574
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew.rw.robinson+winehq@gm | |ail.com
--- Comment #23 from Jeff Zaroyko jeffz@jeffz.name 2009-03-31 17:57:40 --- *** Bug 17899 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14574
Jean Michél Marca jmmarca@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jmmarca@gmail.com
--- Comment #24 from Jean Michél Marca jmmarca@gmail.com 2009-04-01 09:41:20 --- http://www.ushost.com.br/wine/livezilla.jpg http://www.ushost.com.br/wine/error.txt
Would you like to chat client livezilla run on linux and can not run in wine, because it is on. Net can someone help me?
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #25 from Jeff Zaroyko jeffz@jeffz.name 2009-04-01 14:50:28 --- (In reply to comment #24)
http://www.ushost.com.br/wine/livezilla.jpg http://www.ushost.com.br/wine/error.txt
Would you like to chat client livezilla run on linux and can not run in wine, because it is on. Net can someone help me?
use the forum http://forum.winehq.org if you want help, bugzilla is for discussing bugs, not support.
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #26 from Jean Michél Marca jmmarca@gmail.com 2009-04-01 16:07:09 ---
use the forum http://forum.winehq.org if you want help, bugzilla is for discussing bugs, not support.
I am looking for 2 days, the Internet and consulting people in search of support via IRC about this error and nobody able to help me, if you can help me is urgent and of great importance to my company if you need to pay for support.
http://bugs.winehq.org/show_bug.cgi?id=14574
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #27 from Hans Leidekker hans@meelstraat.net 2009-04-29 12:33:16 --- There's an implementation of GetAdaptersAddresses in git now, please check if it's sufficient.
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #28 from Jean Michél Marca jmmarca@gmail.com 2009-04-29 13:09:27 --- (In reply to comment #27)
There's an implementation of GetAdaptersAddresses in git now, please check if it's sufficient.
you are a developer of wine? please try to install the livezilla, because I am trying to install 2 months.
See-> http://forum.winehq.org/viewtopic.php?t=4371&sid=9b72086a1c5a10a71ffe7f2...
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #29 from Hans Leidekker hans@meelstraat.net 2009-04-29 14:22:08 ---
you are a developer of wine? please try to install the livezilla, because I am trying to install 2 months.
Livezilla does indeed use GetAdaptersAdresses and seems happy with the implementation. Here's how to get it installed on current wine:
$ rm -rf ~/.wine $ sh winetricks ie6 dotnet20 mdac28 jet40 $ wine LiveZilla_3.1.7.12_Setup.exe
Please open new bugs for any other issues you may find.
http://bugs.winehq.org/show_bug.cgi?id=14574
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #30 from Jeff Zaroyko jeffz@jeffz.name 2009-04-29 18:28:38 --- NamiRobot seems happy too, thanks Hans
http://bugs.winehq.org/show_bug.cgi?id=14574
--- Comment #31 from Anastasius Focht focht@gmx.net 2009-04-30 01:34:18 --- Hello,
thanks for the work. Please put in commit ids before closing bugs I opened. Fixed by commits 185c441c2e6f7450f9b97d67b12a393414404b0c, f0491f61ba04d62ba1e6c7d596e14610446a1bdc, 5b428fe55efe1277251b1a09e051c0ce4f8a292c
Regards
http://bugs.winehq.org/show_bug.cgi?id=14574
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #32 from Alexandre Julliard julliard@winehq.org 2009-05-08 12:45:31 --- Closing bugs fixed in 1.1.21.
http://bugs.winehq.org/show_bug.cgi?id=14574
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet Fixed by SHA1| |f0491f61ba04d62ba1e6c7d596e | |14610446a1bdc
--- Comment #33 from Anastasius Focht focht@gmx.net 2011-10-12 03:30:49 CDT --- Hello,
filling/correcting fields ...
Regards
https://bugs.winehq.org/show_bug.cgi?id=14574
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |iphlpapi
https://bugs.winehq.org/show_bug.cgi?id=14574
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://202.111.173.105:8011 |https://web.archive.org/web |/NamiRobotSetup.exe |/20190311084940/http://www. | |onzehost.com.br/downloads/L | |iveZilla_3.3.2.2_Full.exe
--- Comment #34 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download links via Internet Archive for documentation.
https://web.archive.org/web/20190311084940/http://www.onzehost.com.br/downlo...
https://www.virustotal.com/gui/file/1df268215aa3619467235210b845ecf74cd5dccf...
https://web.archive.org/web/20211123082034/http://www.mitprofessionals.com/d...
https://www.virustotal.com/gui/file/4f0e8a9d4acfd106037439ae77c13ac333ab03d3...
$ sha1sum LiveZilla_3.3.2.2_Client.exe 4bfb28b44e0a080f0173d2addb7c94adf13e1cf9 LiveZilla_3.3.2.2_Client.exe
$ du -sh LiveZilla_3.3.2.2_Client.exe 6.8M LiveZilla_3.3.2.2_Client.exe
Regards