News:

Buying something from Amazon? Please consider using my affiliate links - Amazon.com or Amazon.co.uk - You get your stuff, Plan-G gets a little boost :)   

Main Menu

Plan-G crashing following P3D installation

Started by Arismac, May 31, 2012, 03:31:53 AM

Previous topic - Next topic

Arismac

Your assistance please. I have installed P3D but have not yet run the program. Now every time I try to connect Plan-G in FSX it crashes. Should also mention that I have tried FS Connection Option at SimConnect, FSUIPC and Auto. It was working fine on Auto. Application Log follows:

Application: PlanG.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Reflection.TargetInvocationException
Stack:
   at System.RuntimeMethodHandle._InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeType)
   at System.RuntimeMethodHandle.InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.Signature, System.Reflection.MethodAttributes, System.RuntimeType)
   at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, Boolean)
   at System.Delegate.DynamicInvokeImpl(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.runTryCode(System.Object)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   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.InvokeImpl(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.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at System.Windows.Application.Run(System.Windows.Window)
   at PlanG._Main.Main()


Gigabyte GA-X79-UD5: EVGA GTX580; Intel Core i7 3960X; Corsair 16GB Kit (4x4GB); Intel 250GB SSD; 200w PSU: 1200w PSU: Corsair H100 Cooler: Win 7 64bit: Performance. Processor 7.8: RAM: 7.9: Grapics 7.9: Gaming Graphics: 7.9 HDD 7.6. FSX Gold; REX2 HD, 2.5.2010.1027

tim arnot

I'm guessing your SimConnect library may have become corrupted. From what I've read, that could be a bugger to fix. Sorry.


Tim. @TimArnot

Arismac

Thanks Tim. I have FSX and P3D on two separate drives. Plan-G is working in P3D but crashing in FSX. Crazy ...
Gigabyte GA-X79-UD5: EVGA GTX580; Intel Core i7 3960X; Corsair 16GB Kit (4x4GB); Intel 250GB SSD; 200w PSU: 1200w PSU: Corsair H100 Cooler: Win 7 64bit: Performance. Processor 7.8: RAM: 7.9: Grapics 7.9: Gaming Graphics: 7.9 HDD 7.6. FSX Gold; REX2 HD, 2.5.2010.1027

Arismac

I seem to have discovered that two completely separate Plan-G installations fixes the problem. I have aimed via the Options --> Locations the two copies to the two different drives one with FSX and the other with P3D.  I also have two different start Icons on my Task Bar.

Cheers, Mac
Gigabyte GA-X79-UD5: EVGA GTX580; Intel Core i7 3960X; Corsair 16GB Kit (4x4GB); Intel 250GB SSD; 200w PSU: 1200w PSU: Corsair H100 Cooler: Win 7 64bit: Performance. Processor 7.8: RAM: 7.9: Grapics 7.9: Gaming Graphics: 7.9 HDD 7.6. FSX Gold; REX2 HD, 2.5.2010.1027

Arismac

Sorry Tim, I spoke too soon. Worked perfectly for an hour then went back to crashing on Connect.
Gigabyte GA-X79-UD5: EVGA GTX580; Intel Core i7 3960X; Corsair 16GB Kit (4x4GB); Intel 250GB SSD; 200w PSU: 1200w PSU: Corsair H100 Cooler: Win 7 64bit: Performance. Processor 7.8: RAM: 7.9: Grapics 7.9: Gaming Graphics: 7.9 HDD 7.6. FSX Gold; REX2 HD, 2.5.2010.1027

Arismac

#5
Still working hard to try and solve this one Tim. I went back to basics.  Backed up a solid installation of FSX including Plan-G, REX-E, Saitek etc. all installed on drive C:\. Reformatted drive G:\ and did a clean reinstall of P3D. Opened P3D and closed it again. Went back to FSX opened it and once again Plan-G crashes as soon as I connect to FSX.

The thing that beats me Tim, is that if I then go back to P3D and open Plan-G it does NOT crash and follows the aircraft OK.

Here logs, help please. Mac

Faulting application name: PlanG.exe, version: 2.0.5.493, time stamp: 0x4d836f53
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe0434352
Fault offset: 0x0000b9bc
Faulting process id: 0x1ac4
Faulting application start time: 0x01cd46b56a330a61
Faulting application path: C:\TA Software\Plan-G v2\PlanG.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: adf2737e-b2a8-11e1-959a-50e549e6624d

Application: PlanG.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Reflection.TargetInvocationException
Stack:
   at System.RuntimeMethodHandle._InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeType)
   at System.RuntimeMethodHandle.InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.Signature, System.Reflection.MethodAttributes, System.RuntimeType)
   at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, Boolean)
   at System.Delegate.DynamicInvokeImpl(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.runTryCode(System.Object)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   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.InvokeImpl(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.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at System.Windows.Application.Run(System.Windows.Window)
   at PlanG._Main.Main()
Gigabyte GA-X79-UD5: EVGA GTX580; Intel Core i7 3960X; Corsair 16GB Kit (4x4GB); Intel 250GB SSD; 200w PSU: 1200w PSU: Corsair H100 Cooler: Win 7 64bit: Performance. Processor 7.8: RAM: 7.9: Grapics 7.9: Gaming Graphics: 7.9 HDD 7.6. FSX Gold; REX2 HD, 2.5.2010.1027

tim arnot


Tim. @TimArnot

Arismac

But you are not going to tell me how I can break the SimConnect by simply opening and closing P3D, right?
Gigabyte GA-X79-UD5: EVGA GTX580; Intel Core i7 3960X; Corsair 16GB Kit (4x4GB); Intel 250GB SSD; 200w PSU: 1200w PSU: Corsair H100 Cooler: Win 7 64bit: Performance. Processor 7.8: RAM: 7.9: Grapics 7.9: Gaming Graphics: 7.9 HDD 7.6. FSX Gold; REX2 HD, 2.5.2010.1027

tim arnot

If you have a restore point from before the install, you could try that. Otherwise, try googling on repair simconnect. Personally I don't hold out a lot of hope for that option since I never managed it the time I tried.

Tim. @TimArnot

Arismac

Restoring certainly works, Tim. Have done that three times already. However the next time I open P3D, which is on a different drive, Plan-G works in P3D but crashes the next time I run FSX, with P3D closed of course. A registry conflict of some sort perhaps because there does not seem to be any Plan-G files on the P3D drive?
Gigabyte GA-X79-UD5: EVGA GTX580; Intel Core i7 3960X; Corsair 16GB Kit (4x4GB); Intel 250GB SSD; 200w PSU: 1200w PSU: Corsair H100 Cooler: Win 7 64bit: Performance. Processor 7.8: RAM: 7.9: Grapics 7.9: Gaming Graphics: 7.9 HDD 7.6. FSX Gold; REX2 HD, 2.5.2010.1027