Error Report

Sorry! I wasn't sure where to post this ^_^ But I've noticed this error happening a lot lately whereas it never did before. It generally happens if I leave my game opened for long periods of time. It might just be my computer but just in case it isn't, I wanted to share the error.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.String.CtorCharArray(Char[] value)
   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)
   at ICSharpCode.AvalonEdit.Document.TextDocument.GetText(ISegment segment)
   at ICSharpCode.AvalonEdit.Editing.Selection.GetText()
   at ICSharpCode.AvalonEdit.Editing.Selection.CreateDataObject(TextArea textArea)
   at ICSharpCode.AvalonEdit.Editing.EditingCommandHandler.CopySelectedText(TextArea textArea)
   at ICSharpCode.AvalonEdit.Editing.EditingCommandHandler.OnCopy(Object target, ExecutedRoutedEventArgs args)
   at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
   at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
   at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Interop.HwndSource.TranslateAcceleratorCore(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Interop.HwndSource.System.Windows.Interop.IKeyboardInputSink.TranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Forms.Integration.ElementHost.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

I've had that happen when I delete object (whilst highlighted) using the delete key. And or Similar.

-=Darchy=-


It's not just your machine, ma'am.

Your game did the same thing on my machine.

Only during editing, though, in my case.

Maybe it has something to do with UNDO? (Like the computer is saving all the changes to all that text in temp space, and temp space fills up after so many changes?)


System.ArgumentOutOfRangeException: 0 <= startIndex <= 0
Parameter name: startIndex
Actual value was 2858600.
at ICSharpCode.AvalonEdit.Utils.Rope1.VerifyRange(Int32 startIndex, Int32 length) at ICSharpCode.AvalonEdit.Utils.Rope1.CopyTo(Int32 index, T[] array, Int32 arrayIndex, Int32 count)

Here's another which causes you to TaskManager force close. This is with the v5.8 beta.

Anonynn :)


Q 5.8 beta is out, huh?


Annie,

(You don't mind if I call you "Annie"; do you? I'm just playing! I'll behave from here on out. (Ahem. Cough. Choke.))

Does that happen after the game's been open in the editor for a while?

Or during play?

Or when you open the file to edit it?


Here's a link to Microsoft's remarks concerning that error:
https://msdn.microsoft.com/en-us/library/system.argumentoutofrangeexception(v=vs.110).aspx#Anchor_6


Dcoder,

If you watch1 textadventures/quest on GitHub, you'll get notifications when Pixie drops pre-releases on us.


Thanks KV.


Log in to post a reply.

Support

Forums