[Mono-list] Mono crashes with Stacktrace

bar bar.hofesh at linux.com
Tue Feb 11 09:00:06 UTC 2014


Is this more helpful ? I caught it with "sdb" 


Inferior thread '87' ('<Thread Pool>') started
Inferior thread '45' ('') exited
Inferior thread '45' ('') exited
Inferior thread '14' ('<Thread Pool>') started
Inferior thread '35' ('') exited
Inferior thread '35' ('') exited
Inferior thread '45' ('<Thread Pool>') started
Inferior thread '87' ('') exited
Inferior thread '87' ('') exited
Inferior thread '35' ('<Thread Pool>') started
Inferior thread '21' ('') exited
Inferior thread '21' ('') exited
Inferior thread '87' ('<Thread Pool>') started
Inferior thread '8' ('') exited
Inferior thread '8' ('') exited
Trapped unhandled exception of type 'System.InvalidOperationException'
#0 [0x0000001E] System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB at
/opt/mono/mono/mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs:216
                throw new InvalidOperationException ("No operation in
progress");
System.InvalidOperationException: No operation in progress

This is line 216 of the SocketAsyncEventArgs.cs file:    
SocketAsyncOperation op = args.LastOperation;

This is the whole function:

                static void DispatcherCB (IAsyncResult ares)
                {
                        SocketAsyncEventArgs args = (SocketAsyncEventArgs)
ares.As$
                        if (Interlocked.Exchange (ref args.in_progress, 0)
!= 1)
                                throw new InvalidOperationException ("No
operation$
                        SocketAsyncOperation op = args.LastOperation;
                        // Notes;
                        //      -SocketOperation.AcceptReceive not used in
SocketA$
                        //      -SendPackets and ReceiveMessageFrom are not
implem$
                        if (op == SocketAsyncOperation.Receive)
                                args.ReceiveCallback (ares);
                        else if (op == SocketAsyncOperation.Send)
                                args.SendCallback (ares);
                        else if (op == SocketAsyncOperation.ReceiveFrom)
                                args.ReceiveFromCallback (ares);
                        else if (op == SocketAsyncOperation.SendTo)
                                args.SendToCallback (ares);
                        else if (op == SocketAsyncOperation.Accept)
                                args.AcceptCallback (ares);
                        else if (op == SocketAsyncOperation.Disconnect)
                                args.DisconnectCallback (ares);
                        else if (op == SocketAsyncOperation.Connect)
                                args.ConnectCallback ();
                        /*
                        else if (op ==
Socket.SocketOperation.ReceiveMessageFrom)
                        else if (op == Socket.SocketOperation.SendPackets)
                        */
                        else
                                throw new NotImplementedException
(String.Format ($

                }



--
View this message in context: http://mono.1490590.n4.nabble.com/Mono-crashes-with-Stacktrace-tp4661853p4661876.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list