CCAZE31 / ardupilot-mega

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

Mono System.TypeLoadException in Ubuntu #759

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Reproduce the problem:
1.Clean Ubuntu 12.04.1 LTS install with mono and related packages.
2.Start MissionPlanner in mono

Expected successful start of the mission planner tool (v1.1.92 worked just fine 
before fresh OS install) but now it crashes after trying to loading the MESA 
drivers. The splash screen works. Console output as follows:

INFO Program - ******************* Logging Configured *******************
INFO ArdupilotMega.MainV2 - Mainv2 ctor
INFO ArdupilotMega.MainV2 - myview width 1008 height 461
INFO ArdupilotMega.MainV2 - this   width 1193 height 617
INFO ArdupilotMega.Utilities.Speech - TTS: init, mono = True
False
False
False
INFO ArdupilotMega.Controls.HUD - Vendor: Tungsten Graphics, Inc
INFO ArdupilotMega.Controls.HUD - Version: 1.4 Mesa 8.0.2
INFO ArdupilotMega.Controls.HUD - Device: Mesa DRI Intel(R) 945GM x86/MMX/SSE2

Unhandled Exception: System.TypeLoadException: A type load exception has 
occurred.
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load 
exception has occurred.
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 

What version of the product are you using? On what operating system?
Clean install of 32-bit Ubuntu 12.04.1 LTS
3.2.0-29-generic-pae kernel
Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2)

I suspect that there is a problem with the translation of Windows paths but 
this is just a hunch.

Original issue reported on code.google.com by Nick.Hon...@gmail.com on 19 Sep 2012 at 7:11

GoogleCodeExporter commented 8 years ago
please try the latest

Original comment by Meee...@gmail.com on 20 Sep 2012 at 12:27

GoogleCodeExporter commented 8 years ago
Sorry for not having clarified, I am using the latest mission planner, by 
referring to the old version I just meant that I am using it in the same way.

Original comment by Nick.Hon...@gmail.com on 20 Sep 2012 at 1:15

GoogleCodeExporter commented 8 years ago
this is a mono bug, untill that is fixed. i dont have an answer

Original comment by Meee...@gmail.com on 25 Sep 2012 at 8:01

GoogleCodeExporter commented 8 years ago

Original comment by Meee...@gmail.com on 25 Sep 2012 at 10:25

GoogleCodeExporter commented 8 years ago
i might have a fix for this in 1.2.13 - by not using the docking ability, there 
maybe other problems though

Original comment by Meee...@gmail.com on 27 Sep 2012 at 12:38

GoogleCodeExporter commented 8 years ago

Original comment by Meee...@gmail.com on 11 Nov 2012 at 1:28