[Bug 32310] New: EVEMon needs System.Net.NetworkInformation.NetworkChange implementation
http://bugs.winehq.org/show_bug.cgi?id=32310 Bug #: 32310 Summary: EVEMon needs System.Net.NetworkInformation.NetworkChange implementation Product: Wine Version: 1.5.18 Platform: x86 URL: http://evemon.battleclinic.com/ OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: mscoree AssignedTo: wine-bugs(a)winehq.org ReportedBy: madewokherd(a)gmail.com Classification: Unclassified To reproduce, install EVEMon without .NET, and try to run it. It crashes on startup with an exception: System.EntryPointNotFoundException: CreateNLSocket at (wrapper managed-to-native) System.Net.NetworkInformation.NetworkChange:CreateNLSocket () at System.Net.NetworkInformation.NetworkChange.EnsureSocket () [0x00000] in <filename unknown>:0 at System.Net.NetworkInformation.NetworkChange.Register (System.Net.NetworkInformation.NetworkAvailabilityChangedEventHandler d) [0x00000] in <filename unknown>:0 at System.Net.NetworkInformation.NetworkChange.add_NetworkAvailabilityChanged (System.Net.NetworkInformation.NetworkAvailabilityChangedEventHandler value) [0x00000] in <filename unknown>:0 at EVEMon.Common.Net.NetworkMonitor.Initialize () [0x00000] in <filename unknown>:0 at EVEMon.Common.EveMonClient.Initialize () [0x00000] in <filename unknown>:0 at EVEMon.Program.Main () [0x00000] in <filename unknown>:0 CreateNLSocket is an entry point into the MonoPosixHelper library. AFAICT it's only implemented on Unix-like systems and would not be possible to implement on Windows. So we need an alternative implementation of System.Net.NetworkInformation.NetworkChange that's based on the Windows API. Probably the NotifyAddrChange function could be used to detect changes, using System.Threading.AutoResetEvent and ThreadPool.RegisterWaitForSingleObject to get the event notification into the .NET world. I think this would be a good introduction to Mono development, if anyone needs one. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32310 --- Comment #1 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Is this still an issue in Wine 1.7.45 or later? (I suspect that it is) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32310 Dave-C <davec.bugs(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davec.bugs(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32310 --- Comment #2 from Dave-C <davec.bugs(a)gmail.com> --- Created attachment 51693 --> https://bugs.winehq.org/attachment.cgi?id=51693 EveMon Crash Log: System.Net.Sockets.SocketException: Error looking up error string Wine 1.7.45 OS: Mac OS-X 10.10 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32310 --- Comment #3 from Dave-C <davec.bugs(a)gmail.com> --- I have attached a trace from an EveMon crash running wine 1.7.45, don't know if its related to this bug or not. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32310 BugMeNot <winehq(a)mailinator.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq(a)mailinator.com --- Comment #4 from BugMeNot <winehq(a)mailinator.com> --- Still an issue in 1.8rc2 installed from homebrew today. System.EntryPointNotFoundException: CreateNLSocket -- EVEMon Version: 2.2.1.4022 .NET Runtime Version: 4.0.30319.17020 Operating System: Microsoft Windows NT 5.1.2600.196608 Service Pack 3 Executable Path: "C:\Program Files\EVEMon\EVEMon.exe" System.Net.Sockets.SocketException: Error looking up error string at System.Net.Sockets.Socket..ctor (AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) [0x00000] in <filename unknown>:0 at System.Net.NetworkInformation.Ping.SendPrivileged (System.Net.IPAddress address, Int32 timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) [0x00000] in <filename unknown>:0 at System.Net.NetworkInformation.Ping.Send (System.Net.IPAddress address, Int32 timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) [0x00000] in <filename unknown>:0 at System.Net.NetworkInformation.Ping.Send (System.String hostNameOrAddress, Int32 timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Net.NetworkInformation.Ping:Send (string,int,byte[],System.Net.NetworkInformation.PingOptions) at EVEMon.Common.Net.NetworkMonitor.IsNetworkAvailableManual () [0x00000] in <filename unknown>:0 at EVEMon.Common.Net.NetworkMonitor.Initialize () [0x00000] in <filename unknown>:0 at EVEMon.Common.EveMonClient.Initialize () [0x00000] in <filename unknown>:0 at EVEMon.Program.Main () [0x00000] in <filename unknown>:0 Datafile report: Diagnostic Log: 0d 0h 00m 00s > Starting up 0d 0h 00m 00s > EveMonClient.Initialize - begin 0d 0h 00m 00s > Handled exception System.EntryPointNotFoundException: CreateNLSocket at (wrapper managed-to-native) System.Net.NetworkInformation.LinuxNetworkChange:CreateNLSocket () at System.Net.NetworkInformation.LinuxNetworkChange.EnsureSocket () [0x00000] in <filename unknown>:0 at System.Net.NetworkInformation.LinuxNetworkChange.Register (System.Net.NetworkInformation.NetworkAvailabilityChangedEventHandler d) [0x00000] in <filename unknown>:0 at System.Net.NetworkInformation.LinuxNetworkChange.add_NetworkAvailabilityChanged (System.Net.NetworkInformation.NetworkAvailabilityChangedEventHandler value) [0x00000] in <filename unknown>:0 at System.Net.NetworkInformation.NetworkChange.add_NetworkAvailabilityChanged (System.Net.NetworkInformation.NetworkAvailabilityChangedEventHandler value) [0x00000] in <filename unknown>:0 at EVEMon.Common.Net.NetworkMonitor.Initialize () [0x00000] in <filename unknown>:0 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32310 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://evemon.battleclinic. |http://web.archive.org/web/ |com/ |20120205111727/http://cdn.b | |itbucket.org/BattleClinic/e | |vemon/downloads/EVEMon-inst | |all-1.5.4.3315.exe -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32310 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd(a)gmail.com -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla