News:

Plan-G has over 1700 followers on FACEBOOK! Click HERE and add your support

Main Menu

CTD when deleting multiple waypoints

Started by FlyingAxx, January 12, 2015, 05:14:33 PM

Previous topic - Next topic

FlyingAxx

Hello Tim,

An old wish of mine does not seem to be realised yet.  :( When I deleted a couple of waypoints from a flightplan (actually 5 airports) I got a reproducible crash. One waypoint does not make trouble (as before). A quick look into the Log didn't say anything about a problem.

And yes, I'll propose a translation.

EDIT:
That's what Window's tracing has to remark:

Source: .NET Runtime
Application: Plan-G3.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException
Stack:
   at System.Collections.ArrayList.RemoveAt(Int32)
   at Plan_G3.Model.FlightPlan.RemoveNode(Int32)
   at Plan_G3.ViewModel.FlightPlanListViewModel.DeleteWaypoint_Executed()
   at Plan_G3.ViewModel.FlightPlanListViewModel.<.ctor>b__9()
   at GalaSoft.MvvmLight.Command.RelayCommand.Execute(System.Object)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at System.Windows.Application.Run(System.Windows.Window)
   at Plan_G3._Main.Main()


The Application error message looks like this:
- System

  - Provider

   [ Name]  Application Error

  - EventID 1000

   [ Qualifiers]  0

   Level 2

   Task 100

   Keywords 0x80000000000000

  - TimeCreated

   [ SystemTime]  2015-01-12T17:55:32.000000000Z

   EventRecordID 107939

   Channel Application

   Computer AB-0748

   Security


- EventData

   Plan-G3.exe
   3.1.2.101
   54aaa0ff
   KERNELBASE.dll
   6.1.7601.18409
   53159a86
   e0434352
   0000c42d
   1500
   01d02e90dc815298
   D:\Flightsims\Navigation\Plan-G v3.1\Plan-G3.exe
   C:\Windows\syswow64\KERNELBASE.dll
   334194ba-9a84-11e4-b215-14dae94c6f2c
Regards,
Axel

tim arnot

Can you give a step by step? Particularly how you deleted them?

Tim. @TimArnot

FlyingAxx

#2
Hi Tim,

I marked those waypoints (airports) with my mouse directly in the flightplan (lines are becoming blue), right clicked and selecting "Delete waypoints". A litte pop-up lists the selected ones, asking finally "Are you sure?", and after hitting "Yes" the Windows-message appears that Plan-G won't work any more and that I'll be informed if a solution is available.


EDIT 1: The included messages have less than 5 items selected to delete them.
EDIT 2: Did you receive my PM?

Regards,
Axel

tim arnot

Okay thanks, it'll probably be tomorrow I look at it - when I can access my FS rig!

Tim. @TimArnot

jingle66

Has this been fixed?
I still get a reproducable crash by
-create new flight plan
- right click in the map
Windows 10
v.3.1.2.101

tim arnot


Tim. @TimArnot