techl / MonoRemoteDebugger

Other
83 stars 18 forks source link

Can't run MonoRemoteDebugger.Server.exe #35

Closed ysmoradi closed 5 years ago

ysmoradi commented 7 years ago

Installed product versions

Description

I've installed Linux (Ubuntu 16.04 X64) bash shell on windows as a sub system with mono 4.8.0 on that. I've windows 10 X64 (10.0.15063 - creators update). I can't run mono MonoRemoteDebugger.Server.exe.

Steps to recreate

  1. Run bash shell as Administrator
  2. Run mono MonoRemoteDebugger.Server.exe or sudo mono MonoRemoteDebugger.Server.exe

Current behavior

I see following error then:

Unhandled Exception:
System.ArgumentException: Value does not fall within the expected range.
  at System.Net.Sockets.Socket.SetSocketOption (System.Net.Sockets.SocketOptionLevel optionLevel, System.Net.Sockets.SocketOptionName optionName, System.Int32 optionValue) [0x00029] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Net.Sockets.Socket.set_DontFragment (System.Boolean value) [0x00021] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Net.Sockets.Socket.SocketDefaults () [0x0000c] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Net.Sockets.Socket..ctor (System.Net.Sockets.AddressFamily addressFamily, System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x0005e] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Net.Sockets.TcpListener.Init (System.Net.Sockets.AddressFamily family, System.Net.EndPoint ep) [0x00007] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Net.Sockets.TcpListener..ctor (System.Net.IPAddress localaddr, System.Int32 port) [0x00042] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at MonoRemoteDebugger.SharedLib.Server.MonoDebugServer.Start () [0x00011] in <9608dd2b581f4d61ac078973b4278f19>:0
  at MonoRemoteDebugger.Server.Program.Main (System.String[] args) [0x00015] in <909db1d5f4c443ae8e1a2ae769593885>:0
2017-04-06 09:03:06.8711|TRACE|MonoRemoteDebugger.SharedLib.Server.MonoDebugServer|Start announcing
2017-04-06 09:03:06.9035|INFO|MonoRemoteDebugger.SharedLib.Server.MonoDebugServer|Closed MonoDebugServer
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: Value does not fall within the expected range.
  at System.Net.Sockets.Socket.SetSocketOption (System.Net.Sockets.SocketOptionLevel optionLevel, System.Net.Sockets.SocketOptionName optionName, System.Int32 optionValue) [0x00029] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Net.Sockets.Socket.set_DontFragment (System.Boolean value) [0x00021] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Net.Sockets.Socket.SocketDefaults () [0x0000c] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Net.Sockets.Socket..ctor (System.Net.Sockets.AddressFamily addressFamily, System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x0005e] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Net.Sockets.TcpListener.Init (System.Net.Sockets.AddressFamily family, System.Net.EndPoint ep) [0x00007] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Net.Sockets.TcpListener..ctor (System.Net.IPAddress localaddr, System.Int32 port) [0x00042] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at MonoRemoteDebugger.SharedLib.Server.MonoDebugServer.Start () [0x00011] in <9608dd2b581f4d61ac078973b4278f19>:0
  at MonoRemoteDebugger.Server.Program.Main (System.String[] args) [0x00015] in <909db1d5f4c443ae8e1a2ae769593885>:0

This is a log file:

2017-04-06 09:03:06.8711|TRACE|MonoRemoteDebugger.SharedLib.Server.MonoDebugServer|Start announcing
2017-04-06 09:03:06.9035|INFO|MonoRemoteDebugger.SharedLib.Server.MonoDebugServer|Closed MonoDebugServer

Expected behavior

I'd like to see the debug server up and running

I'm ready to help (-:

techcap commented 7 years ago

It looks like the problem of BashOnWindows. https://github.com/Microsoft/BashOnWindows/issues/1639