Developer

Megaplanner Crashes

 

I'm working since a couple monthes with Mega planner to check for Radio inputs (Arducoder project).

 

Regularly, i can see crashes, most of the time after reconnecting to the APM board, and if the software are has been run a long time before.

 

After each crash, a window ask me if i want to send a report to Microsoft.

 

It could be related to a .net problem, a .net version problem, a memory leak or a wrongly managed  exception.

 

I'm using Windows XP SP3.

 

Did other users got the same problems ?

 

 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    firstly make sure you have .net framework 3.5 installed.
    if you are using joystick ensure the directx redist is installed.

     

    the base error John had was
    System.UnauthorizedAccess
    so thats either, permission based/other. (run as administrator)

    or something like unplugging the usb port before disconnecting.

     

    here is an error log i get sent (when you click yes to send error)

     

     Microsoft Windows NT 5.1.2600 Service Pack 2 1.0.0.0 1.0.48 Exception System.UnauthorizedAccessException: Access to the port is denied.
    at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
    at System.IO.Ports.SerialStream.BeginWriteCore(Byte[] array, Int32 offset, Int32 numBytes, AsyncCallback userCallback, Object stateObject)
    at System.IO.Ports.SerialStream.Write(Byte[] array, Int32 offset, Int32 count, Int32 timeout)
    at System.IO.Ports.SerialPort.Write(Byte[] buffer, Int32 offset, Int32 count)
    at ArdupilotMega.SerialPort.ArdupilotMega.ICommsSerial.Write(Byte[] , Int32 , Int32 )
    at ArdupilotMega.MAVLink.generatePacket(Byte messageType, Object indata)
    at ArdupilotMega.MAVLink.getDatastream(Byte id, Byte hzrate)
    at ArdupilotMega.MAVLink.requestDatastream(Byte id, Byte hzrate)
    at ArdupilotMega.Setup.Setup.BUT_Calibrateradio_Click(Object sender, EventArgs e)

     

    what this tells me is that the usb port was removed... during the process.

  • I occasionally experience crashes on Windows 7. I've posted a screenshot and the text of the crash message below.

    I believe the circumstances were that I had a MAVLink connection active, then pulled the USB plug without disconnecting, then closed APM Planner, then the crash occurred. So, not the biggest problem in the world.

    Description:
    Stopped working

    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: ardupilotmegaplanner.exe
    Problem Signature 02: 1.0.0.0
    Problem Signature 03: 4e3a881c
    Problem Signature 04: System
    Problem Signature 05: 2.0.0.0
    Problem Signature 06: 4d352ea2
    Problem Signature 07: 3bc1
    Problem Signature 08: 7a
    Problem Signature 09: System.UnauthorizedAccess
    OS Version: 6.1.7600.2.0.0.768.3
    Locale ID: 1033

    Read our privacy statement online:
    http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

    If the online privacy statement is not available, please read our privacy statement offline:
    C:\Windows\system32\en-US\erofflps.txt

    apm_planner.png

  • Yes i see this. It's been difficult to detect a pattern of activity which causes the crash.

     

    I too am on a WinXP SP3 low spec laptop which could do with a little more horse power!

This reply was deleted.

Activity