GrandK / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Mission Planner Crash #838

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
First time running the mission planner.  After installation from the .msi, I 
run the application and I receive several error messages to pointing to 
different lines of code.

Is there a log file I can get to to upload to here?

I have the latest Direct X on Windows 7 64-bit Professional.

Any suggestions?

Chris

Original issue reported on code.google.com by abgdn.fi...@gmail.com on 26 Dec 2012 at 11:51

GoogleCodeExporter commented 9 years ago
Here is the log file output.

2012-12-26 21:03:33,784  INFO Program - ******************* Logging Configured 
******************* (C:\Users\hog\Documents\Visual Studio 
2010\Projects\ArdupilotMega\ArdupilotMega\Program.cs:30) [1]
2012-12-26 21:03:47,391  INFO ArdupilotMega.MainV2 - Mainv2 ctor 
(C:\Users\hog\Documents\Visual Studio 
2010\Projects\ArdupilotMega\ArdupilotMega\MainV2.cs:151) [Base Thread]
2012-12-26 21:03:48,276  INFO ArdupilotMega.Utilities.Speech - TTS: init, mono 
= False (C:\Users\hog\Documents\Visual Studio 
2010\Projects\ArdupilotMega\ArdupilotMega\Utilities\Speech.cs:43) [Base Thread]
2012-12-26 21:03:51,140 FATAL ArdupilotMega.MainV2 - 
System.TypeInitializationException: The type initializer for 'SingletonCreator' 
threw an exception. ---> System.Reflection.TargetInvocationException: Exception 
has been thrown by the target of an invocation. ---> 
System.InvalidOperationException: This implementation is not part of the 
Windows Platform FIPS validated cryptographic algorithms.
   at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
   at GMap.NET.GMaps.DecryptString(String Message, String Passphrase) in C:\Users\hog\Desktop\DIYDrones\myquad\greatmaps_e1bb830a18a3\GMap.NET.Core\GMap.NET\GMaps.cs:line 1320
   at GMap.NET.GMaps.ThisIsLegalString(String Message) in C:\Users\hog\Desktop\DIYDrones\myquad\greatmaps_e1bb830a18a3\GMap.NET.Core\GMap.NET\GMaps.cs:line 1363
   at GMap.NET.GMaps..ctor() in C:\Users\hog\Desktop\DIYDrones\myquad\greatmaps_e1bb830a18a3\GMap.NET.Core\GMap.NET\GMaps.cs:line 43
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.Activator.CreateInstance[T]()
   at GMap.NET.Singleton`1.SingletonCreator..cctor() in C:\Users\hog\Desktop\DIYDrones\myquad\greatmaps_e1bb830a18a3\GMap.NET.Core\GMap.NET\Singleton.cs:line 35
   --- End of inner exception stack trace ---
   at GMap.NET.Singleton`1.get_Instance() in C:\Users\hog\Desktop\DIYDrones\myquad\greatmaps_e1bb830a18a3\GMap.NET.Core\GMap.NET\Singleton.cs:line 25
   at GMap.NET.Internals.Core.set_MapType(MapType value) in C:\Users\hog\Desktop\DIYDrones\myquad\greatmaps_e1bb830a18a3\GMap.NET.Core\GMap.NET.Internals\Core.cs:line 237
   at GMap.NET.Internals.Core..ctor() in C:\Users\hog\Desktop\DIYDrones\myquad\greatmaps_e1bb830a18a3\GMap.NET.Core\GMap.NET.Internals\Core.cs:line 120
   at GMap.NET.WindowsForms.GMapControl..ctor() in C:\Users\hog\Desktop\DIYDrones\myquad\greatmaps_e1bb830a18a3\GMap.NET.WindowsForms\GMap.NET.WindowsForms\GMapControl.cs:line 338
   at ArdupilotMega.Controls.myGMAP..ctor() in C:\Users\hog\Documents\Visual Studio 2010\Projects\ArdupilotMega\ArdupilotMega\Controls\myGMAP.cs:line 18
   at ArdupilotMega.GCSViews.FlightData.InitializeComponent() in C:\Users\hog\Documents\Visual Studio 2010\Projects\ArdupilotMega\ArdupilotMega\GCSViews\FlightData.Designer.cs:line 77
   at ArdupilotMega.GCSViews.FlightData..ctor() in C:\Users\hog\Documents\Visual Studio 2010\Projects\ArdupilotMega\ArdupilotMega\GCSViews\FlightData.cs:line 114
   at ArdupilotMega.MainV2..ctor() in C:\Users\hog\Documents\Visual Studio 2010\Projects\ArdupilotMega\ArdupilotMega\MainV2.cs:line 251 (C:\Users\hog\Documents\Visual Studio 2010\Projects\ArdupilotMega\ArdupilotMega\MainV2.cs:270) [Base Thread]
2012-12-26 21:06:39,898 FATAL Program - Fatal app exception 
(C:\Users\hog\Documents\Visual Studio 
2010\Projects\ArdupilotMega\ArdupilotMega\Program.cs:139) [Base Thread]
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'MainV2'.
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Form.CreateHandle()
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Control.set_Visible(Boolean value)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at ArdupilotMega.Program.Main() in C:\Users\hog\Documents\Visual Studio 2010\Projects\ArdupilotMega\ArdupilotMega\Program.cs:line 134

Original comment by nvycp...@gmail.com on 27 Dec 2012 at 2:10

GoogleCodeExporter commented 9 years ago
It's possibly this issue: 

"FIX: Error message in FIPS-compliant systems when you use Windows 
Communication Foundation to serialize generic types: "This implementation is 
not part of the Windows Platform FIPS validated cryptographic algorithms""

http://support.microsoft.com/kb/935434

Original comment by legendlength@gmail.com on 27 Dec 2012 at 2:12

GoogleCodeExporter commented 9 years ago
Thanks.  I will check it out this evening.

Original comment by abgdn.fi...@gmail.com on 27 Dec 2012 at 3:38

GoogleCodeExporter commented 9 years ago
The issue is related to FIPS-Compliance that forces TLS 1.0 encryption.  This 
is forced by a group policy setting that can be edited in the registry. For 
more information see...

http://support.microsoft.com/kb/811833

Search for the registry key mentioned in the article.  If Enabled is set to 1, 
change the value to 0 to disable FIPS.

Original comment by nvycp...@gmail.com on 28 Dec 2012 at 11:31