Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StackOverflowException System.Net.Sockets.Socket:cancel_blocking_socket_operation #13154

Closed
iezed opened this issue Apr 19, 2017 · 7 comments
Closed

Comments

@iezed
Copy link

iezed commented Apr 19, 2017

Hi, I played offline with osx 10.10.5 and mono 4.8.1 and sometimes I had this crash:

Stack overflow in unmanaged: IP: 0x92771740, fault addr: 0xbf78dffc
Stack overflow in unmanaged: IP: 0x9276e34a, fault addr: 0xbf78cfec
Exception of type `System.StackOverflowException`: The requested operation caused a stack overflow.
  at (wrapper managed-to-native) System.Net.Sockets.Socket:cancel_blocking_socket_operation (System.Threading.Thread)
  at System.Net.Sockets.SafeSocketHandle.ReleaseHandle () [0x0011f] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Runtime.InteropServices.SafeHandle.DangerousReleaseInternal (System.Boolean dispose) [0x000d3] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.InteropServices.SafeHandle.InternalDispose () [0x00011] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.InteropServices.SafeHandle.Dispose (System.Boolean disposing) [0x00006] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.InteropServices.SafeHandle.Dispose () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Net.Sockets.Socket.Dispose (System.Boolean disposing) [0x00047] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Net.Sockets.Socket.Dispose () [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Net.Sockets.Socket.Close (System.Int32 timeout) [0x00007] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Net.Sockets.NetworkStream.Dispose (System.Boolean disposing) [0x00056] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.IO.Stream.Close () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Net.Sockets.TcpClient.Dispose (System.Boolean disposing) [0x0002d] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Net.Sockets.TcpClient.Dispose () [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Net.Sockets.TcpClient.Close () [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at OpenRA.Network.NetworkConnection.Dispose (System.Boolean disposing) [0x00023] in <1c418f9edc014135b43a25b49845e864>:0 
  at OpenRA.Network.EchoConnection.Dispose () [0x00001] in <1c418f9edc014135b43a25b49845e864>:0 
  at OpenRA.Network.OrderManager.Dispose () [0x00019] in <1c418f9edc014135b43a25b49845e864>:0 
  at OpenRA.Game.Run () [0x00058] in <1c418f9edc014135b43a25b49845e864>:0 
  at OpenRA.Program.Run (System.String[] args) [0x00011] in <1c418f9edc014135b43a25b49845e864>:0 
  at OpenRA.Program.Main (System.String[] args) [0x0004f] in <1c418f9edc014135b43a25b49845e864>:0 

Thanks, and sorry for my bad english.

@obrakmann
Copy link
Contributor

Can you please give us the full contents of the exception.log file? Also, it would be helpful if you could upload the replay of that game.

Thanks!

@iezed iezed closed this as completed Apr 20, 2017
@iezed iezed reopened this Apr 20, 2017
@iezed
Copy link
Author

iezed commented Apr 20, 2017

Dune 2000 Mod at Version {DEV_VERSION}
on map 1f8235c07a4265e688367f2c5db7ef61fabca67f (Thufir's Point by Westwood Studios).
Date: 2017-04-18 20:23:40Z
Operating System: OSX (Unix 14.5.0.0)
Runtime Version: Mono 4.8.1 (mono-4.8.0-branch/22a39d7 Fri Apr  7 12:00:08 EDT 2017) CLR 4.0.30319.42000
Exception of type `System.StackOverflowException`: The requested operation caused a stack overflow.
  at (wrapper managed-to-native) System.Net.Sockets.Socket:cancel_blocking_socket_operation (System.Threading.Thread)
  at System.Net.Sockets.SafeSocketHandle.ReleaseHandle () [0x0011f] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Runtime.InteropServices.SafeHandle.DangerousReleaseInternal (System.Boolean dispose) [0x000d3] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.InteropServices.SafeHandle.InternalDispose () [0x00011] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.InteropServices.SafeHandle.Dispose (System.Boolean disposing) [0x00006] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.InteropServices.SafeHandle.Dispose () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Net.Sockets.Socket.Dispose (System.Boolean disposing) [0x00047] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Net.Sockets.Socket.Dispose () [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Net.Sockets.Socket.Close (System.Int32 timeout) [0x00007] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Net.Sockets.NetworkStream.Dispose (System.Boolean disposing) [0x00056] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.IO.Stream.Close () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Net.Sockets.TcpClient.Dispose (System.Boolean disposing) [0x0002d] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Net.Sockets.TcpClient.Dispose () [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at System.Net.Sockets.TcpClient.Close () [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0 
  at OpenRA.Network.NetworkConnection.Dispose (System.Boolean disposing) [0x00023] in <1c418f9edc014135b43a25b49845e864>:0 
  at OpenRA.Network.EchoConnection.Dispose () [0x00001] in <1c418f9edc014135b43a25b49845e864>:0 
  at OpenRA.Network.OrderManager.Dispose () [0x00019] in <1c418f9edc014135b43a25b49845e864>:0 
  at OpenRA.Game.Run () [0x00058] in <1c418f9edc014135b43a25b49845e864>:0 
  at OpenRA.Program.Run (System.String[] args) [0x00011] in <1c418f9edc014135b43a25b49845e864>:0 
  at OpenRA.Program.Main (System.String[] args) [0x0004f] in <1c418f9edc014135b43a25b49845e864>:0 

@iezed
Copy link
Author

iezed commented Apr 20, 2017

I'm not sure this is the gameplay, but don't have any file with the exact date.

OpenRA-2017-04-18T200948Z.orarep.zip

@obrakmann
Copy link
Contributor

Dune 2000 Mod at Version {DEV_VERSION}

Do you know what version or on which date you downloaded openra?

@iezed
Copy link
Author

iezed commented Apr 22, 2017

I'm sorry not. If happen again, I'm write down all info. This game it's amazing, thanks.

@Mailaender Mailaender changed the title Crash StackOverflowException System.Net.Sockets.Socket:cancel_blocking_socket_operation Apr 24, 2017
@iezed iezed closed this as completed Apr 27, 2017
@iezed
Copy link
Author

iezed commented Apr 27, 2017

It happened again, the version is OpenRA-release-20170421.
I put log and gameplay in file zip.
Thanks.
log.zip

@iezed iezed reopened this Apr 27, 2017
@abcdefg30
Copy link
Member

We did bump our mono requirements, so hopefully this is not an issue any more. (Sadly the zip file in the last comment seems lost as well, so we really can't investigate any further.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants