Main Menu

[CLOSED] Traffic disappears quickly after appearing

Started by Leighman, April 30, 2022, 01:23:25 PM

Previous topic - Next topic

Leighman

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.

Leighman


Kaiii3

SimConnect hickup, any other Application running that is using SimConnect?

Leighman

Not that I know of, any way to check or troubleshoot this?

Kaiii3

are you using other apps while running MSFS and TC

Leighman

Navigraph simlink would probably be the only thing..

Kaiii3


Leighman

Worked perfectly without navigraph simlink on. As soon as I restarted navigraph simlink, AIGTC closed itself and traffic disappeared...

Leighman

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

Kaiii3

check the windows event viewer (application log) for 2 crash entries. Post both here

Leighman

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.

Kaiii3

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...

Leighman


Kaiii3

any other SimConnect app running at the same time?

Leighman

It happens whether I'm using simconnect or not, usually. Otherwise nothing other than what was listed above