Alpha India Group

Alpha India Group => TC - Support => AIG Traffic Controller => AIG Software => TC Solved Issues => Topic started by: Leighman on April 30, 2022, 01:23:25 PM

Title: [CLOSED] Traffic disappears quickly after appearing
Post by: Leighman on April 30, 2022, 01:23:25 PM
Hi, big fan of all your work.

Upon starting AIGTC and injecting traffic, traffic will show up for anywhere between 5secs-2mins and then disappear.
AIGTC Simulator time will be stuck at the point in time where traffic disppears, map will be frozen.
Upon clicking "Delete Traffic", AIGTC closes.
Title: Re: Traffic disappears quickly after appearing
Post by: Leighman on April 30, 2022, 01:30:18 PM
AIGTC Log files attached
Title: Re: Traffic disappears quickly after appearing
Post by: Kaiii3 on April 30, 2022, 02:54:50 PM
SimConnect hickup, any other Application running that is using SimConnect?
Title: Re: Traffic disappears quickly after appearing
Post by: Leighman on May 01, 2022, 12:39:10 AM
Not that I know of, any way to check or troubleshoot this?
Title: Re: Traffic disappears quickly after appearing
Post by: Kaiii3 on May 01, 2022, 07:28:19 AM
are you using other apps while running MSFS and TC
Title: Re: [OPEN] Traffic disappears quickly after appearing
Post by: Leighman on May 01, 2022, 08:32:34 AM
Navigraph simlink would probably be the only thing..
Title: Re: [OPEN] Traffic disappears quickly after appearing
Post by: Kaiii3 on May 01, 2022, 08:34:12 AM
try to run without it
Title: Re: [OPEN] Traffic disappears quickly after appearing
Post by: Leighman on May 01, 2022, 01:07:55 PM
Worked perfectly without navigraph simlink on. As soon as I restarted navigraph simlink, AIGTC closed itself and traffic disappeared...
Title: Re: [OPEN] Traffic disappears quickly after appearing
Post by: Leighman on May 01, 2022, 01:22:53 PM
Just tried it again, worked perfectly without navigraph simlink on, once I turned it back on it took 1-2mins for traffic to disappear but AIGTC did not close itself, just stayed frozen on the "simulator time" at the point where the traffic disappeared. Logs attached
Title: Re: [OPEN] Traffic disappears quickly after appearing
Post by: Kaiii3 on May 03, 2022, 07:44:56 AM
check the windows event viewer (application log) for 2 crash entries. Post both here
Title: Re: [OPEN] Traffic disappears quickly after appearing
Post by: Leighman on May 09, 2022, 08:03:29 AM
Here's one with source .NET Runtime:

Application: AIGTech - Traffic Controller.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32, IntPtr)
   at Microsoft.FlightSimulator.SimConnect.SimConnect.AIRemoveObject(UInt32, System.Enum)
   at AIGTech.TrafficController.Classes.Manager.TrafficManager.StopAIGFPManager()
   at AIGTech.TrafficController.Controller.TCController.RemoveAIGFPTraffic()
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
   at System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
   at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
   at System.Windows.Interop.HwndSource.InputFilterMessage(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 System.Windows.Threading.ExceptionWrapper.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.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at AIGTech.TrafficController.App.Main()

Here's the other with source: Application Error:

Faulting application name: AIGTech - Traffic Controller.exe, version: 0.5.0.32, time stamp: 0xf2211dde
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1682, time stamp: 0xa9566580
Exception code: 0xe0434352
Fault offset: 0x0000000000034fd9
Faulting process id: 0x17ec
Faulting application start time: 0x01d863773e76ce5d
Faulting application path: C:\Users\TechFast Austrtalia\Downloads\AIG_TrafficController (3)\AIGTech - Traffic Controller.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 1283dd91-84bb-4e10-b5ea-f4d2221746e1
Faulting package full name:
Faulting package-relative application ID:

It did the same thing as usual, traffic suddenly disappears but is still visible on Aerosoft CRJ TCAS and on the AIGTC app, but the time on the bottom left of the AIGTC app is frozen at the time where the traffic suddenly disappeared. The app still responds but is very slow at that point, then when clicking "Delete Traffic" to try and then reinject the traffic, the app shuts itself down.

Have tried while running my usual suite of other apps: Volanta, Navigraph Simlink, Navigraph charts. As well as without. Same results. Hope you can help..

Updated logs attached as well.
Title: Re: [OPEN] Traffic disappears quickly after appearing
Post by: Kaiii3 on May 09, 2022, 03:42:46 PM
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32, IntPtr)
   at Microsoft.FlightSimulator.SimConnect.SimConnect.AIRemoveObject(UInt32, System.Enum)

--> MSFS issue...
Title: Re: [OPEN] Traffic disappears quickly after appearing
Post by: Leighman on May 09, 2022, 08:14:12 PM
Nothing I can do?
Title: Re: [OPEN] Traffic disappears quickly after appearing
Post by: Kaiii3 on May 09, 2022, 08:18:52 PM
any other SimConnect app running at the same time?
Title: Re: [OPEN] Traffic disappears quickly after appearing
Post by: Leighman on May 09, 2022, 10:29:44 PM
It happens whether I'm using simconnect or not, usually. Otherwise nothing other than what was listed above