Bug 4617 - An exception was thrown while dispatching a method call in the UI thread. System.IndexOutOfRangeException
Summary: An exception was thrown while dispatching a method call in the UI thread. Sys...
Status: RESOLVED NORESPONSE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: Trunk
Hardware: PC Linux
: Normal normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-04-24 07:43 UTC by Marek Safar
Modified: 2013-12-05 18:35 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Marek Safar 2012-04-24 07:43:44 UTC
An exception was thrown while dispatching a method call in the UI thread. System.IndexOutOfRangeException: Array index is out of range.
  at Mono.Debugger.Soft.Connection.decode_int (System.Byte[] packet, System.Int32& offset) [0x00001] in /home/marek/git/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:591 
  at Mono.Debugger.Soft.Connection.decode_long (System.Byte[] packet, System.Int32& offset) [0x00009] in /home/marek/git/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:602 
  at Mono.Debugger.Soft.Connection+PacketReader.ReadLong () [0x00001] in /home/marek/git/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:726 
  at Mono.Debugger.Soft.Connection+PacketReader.ReadValue () [0x001f4] in /home/marek/git/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:771 
  at Mono.Debugger.Soft.Connection.StackFrame_GetThis (Int64 thread_id, Int64 id) [0x0001c] in /home/marek/git/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:2110 
  at Mono.Debugger.Soft.StackFrame.GetThis () [0x00001] in /home/marek/git/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/StackFrame.cs:138 
  at Mono.Debugging.Soft.SoftDebuggerAdaptor.GetThisReference (Mono.Debugging.Soft.SoftEvaluationContext cx) [0x0001e] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerAdaptor.cs:636 
  at Mono.Debugging.Soft.SoftDebuggerAdaptor.OnGetThisReference (Mono.Debugging.Evaluation.EvaluationContext ctx) [0x00020] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerAdaptor.cs:628 
  at Mono.Debugging.Evaluation.ObjectValueAdaptor.GetThisReference (Mono.Debugging.Evaluation.EvaluationContext ctx) [0x00001] in /home/marek/git/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/ObjectValueAdaptor.cs:549 
  at Mono.Debugging.Evaluation.BaseBacktrace.GetFrameInfo (Int32 frameIndex, Mono.Debugging.Client.EvaluationOptions options, Boolean ignoreEvalStatus) [0x00072] in /home/marek/git/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/BaseBacktrace.cs:226 
  at Mono.Debugging.Evaluation.BaseBacktrace.GetParameters (Int32 frameIndex, Mono.Debugging.Client.EvaluationOptions options) [0x00027] in /home/marek/git/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/BaseBacktrace.cs:75 
  at Mono.Debugging.Client.StackFrame.GetParameters (Mono.Debugging.Client.EvaluationOptions options) [0x00018] in /home/marek/git/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Client/StackFrame.cs:134 
  at Mono.Debugging.Client.StackFrame.GetParameters () [0x00001] in /home/marek/git/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Client/StackFrame.cs:127 
  at MonoDevelop.Debugger.StackTracePad.Update () [0x00061] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/StackTracePad.cs:129 
  at MonoDevelop.Debugger.StackTracePad.UpdateDisplay () [0x0001c] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/StackTracePad.cs:106 
  at MonoDevelop.Debugger.StackTracePad.OnClassStackChanged (System.Object o, System.EventArgs args) [0x0000c] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/StackTracePad.cs:176 
  at __EventHandler_DelegateFactory_8.Dispatch (System.Object ) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.Gui.GuiSyncContext.AsyncDispatch (MonoDevelop.Ide.StatefulMessageHandler cb, System.Object ob) [0x0000b] in /home/marek/git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/GuiSyncContext.cs:47 
  at __EventHandler_DelegateFactory_8.ProxyCall (System.Object , System.EventArgs ) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at MonoDevelop.Debugger.DebuggingService.NotifyCallStackChanged () [0x0000b] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/DebuggingService.cs:672 
  at MonoDevelop.Debugger.DebuggingService.<SetCurrentBacktrace>m__1B () [0x00001] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/DebuggingService.cs:779 
  at MonoDevelop.Ide.GenericMessageContainer.Run () [0x00002] in /home/marek/git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DispatchService.cs:334 
Caller stack not available. Define the environment variable MONODEVELOP_DISPATCH_DEBUG to enable caller stack capture.
Comment 1 Jeffrey Stedfast 2013-03-08 19:33:50 UTC
I don't suppose you've seen this recently and/or have a test case?
Comment 2 PJ 2013-11-19 17:05:21 UTC
This bug has been in the NEEDINFO state with no changes for the last 90 days. Can we put this back into the NEW or CONFIRMED state, or are we still awaiting response?

If there is no change in the status of this bug over the next two weeks, this bug will be marked as NORESPONSE.
Comment 3 PJ 2013-12-05 18:35:41 UTC
This bug has not been changed from the NEEDINFO state since my previous comment, marking as RESOLVED NORESPONSE.

Please feel free to REOPEN this bug at any time if you are still experiencing the issue. Please add the requested information and set the bug back to the NEW (or CONFIRMED) state.