Bug 7451 - Mono crashes with updated arduplanner (above version 1.2.12) - author confirms mono bug.
Summary: Mono crashes with updated arduplanner (above version 1.2.12) - author confir...
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: Windows.Forms ()
Version: unspecified
Hardware: PC Linux
: Lowest normal
Target Milestone: Community
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-09-25 14:03 UTC by André Kjellstrup
Modified: 2017-09-01 11:56 UTC (History)
2 users (show)

Tags: mono-community
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 7451 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description André Kjellstrup 2012-09-25 14:03:27 UTC
Reproduce:

1.- Download this opensource mission planner tool, extract to any folder. http://code.google.com/p/ardupilot-mega/downloads/detail?name=Mission%20Planner%201.2.11.zip&can=2&q=

2.- Observe that $ mono ArdupilotMegaPlanner10.exe  works correctly. 
3.- mission planner 1.2.11 will offer an update to 1.2.12 - let it update, or download 1.2.12
4.- execute the updated ArdupilotMegaPlanner10.exe
5.- you will get this error:
andre@Loke:~/Linux/Mission Planner$ mono ArdupilotMegaPlanner10.exe
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
INFO ArdupilotMega.Controls.HUD - Vendor: NVIDIA Corporation
INFO ArdupilotMega.Controls.HUD - Version: 4.2.0 NVIDIA 295.40
INFO ArdupilotMega.Controls.HUD - Device: GeForce GTX 570/PCIe/SSE2
HUD resize 292 219
HUD 1 hz drawtime 128 gl True
HUD resize 292 219
HUD resize 292 219
HUD resize 292 219
FATAL ArdupilotMega.MainV2 - System.NullReferenceException: Object reference not set to an instance of an object
  at System.Windows.Forms.Control+ControlCollection.Add (System.Windows.Forms.Control value) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDecoratorControlCollection..ctor (System.Windows.Forms.Control owner) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDecorator.get_InternalControls () [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDecorator.CreateControlsInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDecorator..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.FormsDecorator:.ctor ()
  at Crom.Controls.Docking.FormsTabbedViewControlCollection..ctor (System.Windows.Forms.Control owner) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsTabbedView.get_InternalControls () [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsTabbedView.CreateControlsInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.UserControl..ctor () [0x00000] in <filename unknown>:0 
  at Crom.Controls.TabbedDocument.ButtonsPanel..ctor () [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsTabbedView..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.FormsTabbedView:.ctor ()
  at Crom.Controls.Docking.FormsDocker.CreateFormsTabbedView (Size size, Crom.Controls.Docking.ControlPositioner positioner) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDocker.Add (System.Windows.Forms.Form form, zAllowedDock allowedDock, Guid formIdentifier) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.DockContainer.Add (System.Windows.Forms.Form form, zAllowedDock allowedDock, Guid formIdentifier) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.DockContainer:Add (System.Windows.Forms.Form,Crom.Controls.Docking.zAllowedDock,System.Guid)
  at ArdupilotMega.GCSViews.FlightData.CreateFormAndGuid (Crom.Controls.Docking.DockContainer dock, System.Windows.Forms.Control ctl, System.String configguidref) [0x00000] in <filename unknown>:0 
  at ArdupilotMega.GCSViews.FlightData.SetupDocking () [0x00000] in <filename unknown>:0 
  at ArdupilotMega.GCSViews.FlightData..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) ArdupilotMega.GCSViews.FlightData:.ctor ()
  at ArdupilotMega.MainV2..ctor () [0x00000] in <filename unknown>:0 
False


I reported it to the creator of this tool, he's usually very helpful with stuff that fails in mono, runs in windows, but this time, he can't fix it, and days it's a mono bug.
Please say so if I can do anything to help fix it.
Comment 1 Zoltan Varga 2012-09-26 01:24:38 UTC
-> winforms.