Download of logs causing APM Planner 2.0.8 to reboot

Running Arducopter V3.1.2(ddd4d881) and APM 2.6 on 3DR Quad

I can connect in terminal, refresh and find logs

Initiate download, I can see it transferring for 20-30 sec

Then I get an OS error box

When I close the error then APM planner shuts down.

The logs files are visible in /apmplanner2/dataflashLogs and /tlogs

I have tried uploading different logs from the APM - no change

I have updated to APM Planner v 2.0.8 7342ec34-2.0.8 - no change

OS Windows 7 pro 64 I tried running APM Planner as administrator - no change

Thanks for any suggestions

Chris

If you don’t mind, can you reinstall APM Planner and this time check the box for “JIT Debugger”? This will give a more detailed crash report which will help in debugging this issue.

I uninstalled

Re-installed APM planner

Recreated the problem but failed to capture the debug window before it shutdown

Loaded a different log and it went through properly (first time) but complained about 8 errors in the log

Tried again with another log and got the original error - captured debug as follows

[code]DEBUG 2014-04-08T11:27:18.634 MODE: 0
DEBUG 2014-04-08T11:27:18.636 "D|PREFLIGHT"
DEBUG 2014-04-08T11:27:18.637 MODE: 80
DEBUG 2014-04-08T11:27:18.638 "D|STABILIZED"
DEBUG 2014-04-08T11:27:18.638 MODE: 64
DEBUG 2014-04-08T11:27:18.639 "D|MANUAL"
DEBUG 2014-04-08T11:27:18.640 MODE: 88
DEBUG 2014-04-08T11:27:18.641 "D|VECTOR|STABILIZED"
DEBUG 2014-04-08T11:27:18.641 MODE: 92
DEBUG 2014-04-08T11:27:18.642 "D|AUTO|STABILIZED"
DEBUG 2014-04-08T11:27:18.643 MODE: 66
DEBUG 2014-04-08T11:27:18.644 "D|TEST"
INFO 2014-04-08T11:27:18.921 UASActionsWidget creating UASActionsWidget(0x709a088)
DEBUG 2014-04-08T11:27:19.386 qmlBaseDir "C:/Program Files (x86)/APMPlanner2"
DEBUG 2014-04-08T11:27:19.388 QUrl( “file:///C:/Program Files (x86)/APMPlanner2/qml/ApmToolBar.qml” )
DEBUG 2014-04-08T11:27:19.447 QML Status: 1
DEBUG 2014-04-08T11:27:19.463 Loading widget: "PRIMARY_FLIGHT_DISPLAY_DOCKWIDGET"
DEBUG 2014-04-08T11:27:19.464 Loading widget: "UAS_INFO_INFOVIEW_DOCKWIDGET"
DEBUG 2014-04-08T11:27:19.627 LinkManager::Add UDPLink(0x644e738) Thread QThread(0x38cbfb8)
DEBUG 2014-04-08T11:27:19.629 Sucess: Added UDPLink(0x644e738)
DEBUG 2014-04-08T11:27:19.631 LinkManager::addProtocol link: UDPLink(0x644e738) protocol MAVLinkProtocol(0x6db85d8)
INFO 2014-04-08T11:27:19.632 ADDED LINK TO PROTOCOL “UDP Link (port:14550)” “MAVLink protocol” protocolLinks.size: 1 Links.size: 1
DEBUG 2014-04-08T11:27:19.646 LinkManager::Add UDPLink(0x644e738) Thread QThread(0x38cbfb8)
DEBUG 2014-04-08T11:27:19.648 duplicate (not added) UDPLink(0x644e738)
INFO 2014-04-08T11:27:19.687 create SerialLink: Load Previous Settings
INFO 2014-04-08T11:27:19.690 “COM6” 115200 0 0 8 1
DEBUG 2014-04-08T11:27:19.691 LinkManager::Add SerialLink(0xa740bd8) Thread QThread(0x38cbfb8)
DEBUG 2014-04-08T11:27:19.692 Sucess: Added SerialLink(0xa740bd8)
DEBUG 2014-04-08T11:27:19.694 APMToolBar: new Serial Link Created SerialLink(0xa740bd8)
DEBUG 2014-04-08T11:27:19.696 APMToolBar: updateLinkDisplay
DEBUG 2014-04-08T11:27:19.698 APMToolBar setConnection: false
DEBUG 2014-04-08T11:27:19.699 LinkManager::addProtocol link: SerialLink(0xa740bd8) protocol MAVLinkProtocol(0x6db85d8)
INFO 2014-04-08T11:27:19.700 ADDED LINK TO PROTOCOL “COM6” “MAVLink protocol” protocolLinks.size: 2 Links.size: 2
DEBUG 2014-04-08T11:27:19.713 LinkManager::Add SerialLink(0xa740bd8) Thread QThread(0x38cbfb8)
DEBUG 2014-04-08T11:27:19.714 duplicate (not added) SerialLink(0xa740bd8)
DEBUG 2014-04-08T11:27:19.736 SCW: Link is connected false
INFO 2014-04-08T11:27:19.750 current portName "COM6"
INFO 2014-04-08T11:27:19.751 setPortName to "COM5"
DEBUG 2014-04-08T11:27:19.752 APMToolBar: updateLinkDisplay
DEBUG 2014-04-08T11:27:19.753 APMToolBar setConnection: false
INFO 2014-04-08T11:27:19.755 current portName "COM5"
INFO 2014-04-08T11:27:19.756 setPortName to "COM6"
DEBUG 2014-04-08T11:27:19.757 APMToolBar: updateLinkDisplay
DEBUG 2014-04-08T11:27:19.759 APMToolBar setConnection: false
INFO 2014-04-08T11:27:19.761 current portName "COM6"
INFO 2014-04-08T11:27:19.762 setPortName to ""
INFO 2014-04-08T11:27:19.763 current portName "COM6"
INFO 2014-04-08T11:27:19.764 setPortName to ""
INFO 2014-04-08T11:27:19.809 UDPLink::UDP connect
DEBUG 2014-04-08T11:27:19.951 firmwareListFinished error: 0 "Unknown error"
DEBUG 2014-04-08T11:27:19.953 firmwareListFinished error: 0 "Unknown error"
DEBUG 2014-04-08T11:27:19.954 firmwareListFinished error: 0 "Unknown error"
DEBUG 2014-04-08T11:27:19.956 firmwareListFinished error: 0 "Unknown error"
DEBUG 2014-04-08T11:27:19.958 firmwareListFinished error: 0 "Unknown error"
DEBUG 2014-04-08T11:27:19.960 firmwareListFinished error: 0 "Unknown error"
DEBUG 2014-04-08T11:27:19.961 firmwareListFinished error: 0 "Unknown error"
DEBUG 2014-04-08T11:27:19.964 firmwareListFinished error: 0 "Unknown error"
DEBUG 2014-04-08T11:27:19.992 firmwareListFinished error: 0 "Unknown error"
DEBUG 2014-04-08T11:27:20.107 LinkManager::Add UDPLink(0x644e738) Thread QThread(0x38cbfb8)
DEBUG 2014-04-08T11:27:20.110 duplicate (not added) UDPLink(0x644e738)
DEBUG 2014-04-08T11:27:20.111 LinkManager::addProtocol link: UDPLink(0x644e738) protocol MAVLinkProtocol(0x6db85d8)
INFO 2014-04-08T11:27:20.113 ADDED LINK TO PROTOCOL “UDP Link (port:14550)” “MAVLink protocol” protocolLinks.size: 2 Links.size: 2
DEBUG 2014-04-08T11:27:20.130 LinkManager::Add SerialLink(0xa740bd8) Thread QThread(0x38cbfb8)
DEBUG 2014-04-08T11:27:20.132 duplicate (not added) SerialLink(0xa740bd8)
DEBUG 2014-04-08T11:27:20.134 LinkManager::addProtocol link: SerialLink(0xa740bd8) protocol MAVLinkProtocol(0x6db85d8)
INFO 2014-04-08T11:27:20.135 ADDED LINK TO PROTOCOL “COM6” “MAVLink protocol” protocolLinks.size: 2 Links.size: 2
DEBUG 2014-04-08T11:27:24.635 "retrieve versionobject from server: http://firmware.diydrones.com/Tools/APMPlanner/apm_planner_version.json"
DEBUG 2014-04-08T11:27:24.744 Downloading: 1160 / 1167
DEBUG 2014-04-08T11:27:24.749 Downloading: 1167 / 1167
DEBUG 2014-04-08T11:27:24.752 AutoUpdateCheck::httpFinished()
DEBUG 2014-04-08T11:27:24.758 Detected newVersion: (“2.0.8”, “2.0.8”, “”) count: 2
DEBUG 2014-04-08T11:27:24.763 Detected currentVersion: (“2.0.8”, “2.0.8”, “”) count: 2
DEBUG 2014-04-08T11:27:24.766 Verison Compare: " New Version 2.0.8 compared to Old Version 2.0.8"
DEBUG 2014-04-08T11:27:44.559 QSerialPortPrivate::open() CreateFile: "\.\COM6"
DEBUG 2014-04-08T11:27:44.565 QSerialPortPrivate::open() GetCommTimeouts
DEBUG 2014-04-08T11:27:44.569 QSerialPortPrivate::open() SetCommTimeouts
DEBUG 2014-04-08T11:27:44.573 QSerialPortPrivate::open() Done
INFO 2014-04-08T11:27:44.599 Open Terminal Console Serial Port
DEBUG 2014-04-08T11:29:20.297 writeSerial(): cmd= exit
logs

DEBUG 2014-04-08T11:29:20.302 TX error: didWrite= false
DEBUG 2014-04-08T11:29:33.994 Worker: create "C:/Users/Chris/apmplanner2/dataflashLogs/2014-04-08 11-29-33_24.log"
DEBUG 2014-04-08T11:29:34.006 writeSerial(): cmd= dump 24

DEBUG 2014-04-08T11:29:34.011 TX error: didWrite= false
DEBUG 2014-04-08T11:29:34.155 dump line hit
DEBUG 2014-04-08T11:29:53.930 finishing file
DEBUG 2014-04-08T11:29:53.972 finishing, don’t care about ""
DEBUG 2014-04-08T11:29:53.990 finishing, don’t care about ""
DEBUG 2014-04-08T11:29:54.022 finishing, don’t care about ""
DEBUG 2014-04-08T11:31:28.335 Bound values for “IMU” count: 8 actual 5 7
DEBUG 2014-04-08T11:31:28.339 Error in line: 1183 param “IMU” parameter mismatch
DEBUG 2014-04-08T11:31:28.343 Bound values for “IMU” count: 8 actual 6 7
DEBUG 2014-04-08T11:31:28.346 Error in line: 1195 param “IMU” parameter mismatch
DEBUG 2014-04-08T11:31:28.350 Bound values for “IMU” count: 8 actual 6 7
DEBUG 2014-04-08T11:31:28.353 Error in line: 1206 param “IMU” parameter mismatch
DEBUG 2014-04-08T11:31:28.356 Bound values for “IMU” count: 8 actual 6 7
DEBUG 2014-04-08T11:31:28.360 Error in line: 1215 param “IMU” parameter mismatch
DEBUG 2014-04-08T11:31:28.371 Bound values for “IMU” count: 8 actual 7 7
DEBUG 2014-04-08T11:31:28.374 Error in line: 1277 param “IMU” parameter mismatch
DEBUG 2014-04-08T11:31:28.381 Bound values for “IMU” count: 8 actual 6 7
DEBUG 2014-04-08T11:31:28.384 Error in line: 1310 param “IMU” parameter mismatch
DEBUG 2014-04-08T11:31:28.414 Bound values for “IMU” count: 8 actual 6 7
DEBUG 2014-04-08T11:31:28.418 Error in line: 1517 param “IMU” parameter mismatch
DEBUG 2014-04-08T11:31:28.654 Bound values for “IMU” count: 8 actual 5 7
DEBUG 2014-04-08T11:31:28.657 Error in line: 3344 param “IMU” parameter mismatch
DEBUG 2014-04-08T11:31:28.676 AP2DataPlotThread::run(): Log loading finished, pos: 211400 filesize: 211400
INFO 2014-04-08T11:31:28.679 Plot Log loading took 0.507 seconds
DEBUG 2014-04-08T11:31:34.840 QVariant(qlonglong, 7) QVariant(qlonglong, 0) QVariant(QString, “PARM”) QVariant(QString, “Nf”) QVariant(QString, “Name,Value”)
DEBUG 2014-04-08T11:31:34.843 QVariant(qlonglong, 8) QVariant(qlonglong, 0) QVariant(QString, “GPS”) QVariant(QString, “BIHBcLLeeEefI”) QVariant(QString, “Status,TimeMS,Week,NSats,HDop,Lat,Lng,RelAlt,Alt,Spd,GCrs,VZ,T”)
DEBUG 2014-04-08T11:31:34.846 QVariant(qlonglong, 9) QVariant(qlonglong, 0) QVariant(QString, “IMU”) QVariant(QString, “Iffffff”) QVariant(QString, “TimeMS,GyrX,GyrY,GyrZ,AccX,AccY,AccZ”)
DEBUG 2014-04-08T11:31:34.849 QVariant(qlonglong, 10) QVariant(qlonglong, 0) QVariant(QString, “MSG”) QVariant(QString, “Z”) QVariant(QString, “Message”)
DEBUG 2014-04-08T11:31:34.852 QVariant(qlonglong, 11) QVariant(qlonglong, 0) QVariant(QString, “ATUN”) QVariant(QString, “BBfffff”) QVariant(QString, “Axis,TuneStep,RateMin,RateMax,RPGain,RDGain,SPGain”)
DEBUG 2014-04-08T11:31:34.855 QVariant(qlonglong, 12) QVariant(qlonglong, 0) QVariant(QString, “ATDE”) QVariant(QString, “cf”) QVariant(QString, “Angle,Rate”)
DEBUG 2014-04-08T11:31:34.858 QVariant(qlonglong, 13) QVariant(qlonglong, 0) QVariant(QString, “CURR”) QVariant(QString, “hIhhhf”) QVariant(QString, “ThrOut,ThrInt,Volt,Curr,Vcc,CurrTot”)
DEBUG 2014-04-08T11:31:34.861 QVariant(qlonglong, 14) QVariant(qlonglong, 0) QVariant(QString, “MOT”) QVariant(QString, “hhhh”) QVariant(QString, “Mot1,Mot2,Mot3,Mot4”)
DEBUG 2014-04-08T11:31:34.863 QVariant(qlonglong, 15) QVariant(qlonglong, 0) QVariant(QString, “OF”) QVariant(QString, “hhBccffee”) QVariant(QString, “Dx,Dy,SQual,X,Y,Lat,Lng,Roll,Pitch”)
DEBUG 2014-04-08T11:31:34.866 QVariant(qlonglong, 16) QVariant(qlonglong, 0) QVariant(QString, “NTUN”) QVariant(QString, “Ecffffffffee”) QVariant(QString, “WPDst,WPBrg,PErX,PErY,DVelX,DVelY,VelX,VelY,DAcX,DAcY,DRol,DPit”)
DEBUG 2014-04-08T11:31:34.870 QVariant(qlonglong, 17) QVariant(qlonglong, 0) QVariant(QString, “CTUN”) QVariant(QString, “hcefchhhh”) QVariant(QString, “ThrIn,SonAlt,BarAlt,WPAlt,DesSonAlt,AngBst,CRate,ThrOut,DCRate”)
DEBUG 2014-04-08T11:31:34.873 QVariant(qlonglong, 18) QVariant(qlonglong, 0) QVariant(QString, “MAG”) QVariant(QString, “hhhhhhhhh”) QVariant(QString, “MagX,MagY,MagZ,OfsX,OfsY,OfsZ,MOfsX,MOfsY,MOfsZ”)
DEBUG 2014-04-08T11:31:34.876 QVariant(qlonglong, 19) QVariant(qlonglong, 0) QVariant(QString, “PM”) QVariant(QString, “BBHHIhBHB”) QVariant(QString, “RenCnt,RenBlw,NLon,NLoop,MaxT,PMT,I2CErr,INSErr,INAVErr”)
DEBUG 2014-04-08T11:31:34.879 QVariant(qlonglong, 20) QVariant(qlonglong, 0) QVariant(QString, “CMD”) QVariant(QString, “BBBBBeLL”) QVariant(QString, “CTot,CNum,CId,COpt,Prm1,Alt,Lat,Lng”)
DEBUG 2014-04-08T11:31:34.883 QVariant(qlonglong, 21) QVariant(qlonglong, 0) QVariant(QString, “ATT”) QVariant(QString, “cccccCC”) QVariant(QString, “RollIn,Roll,PitchIn,Pitch,YawIn,Yaw,NavYaw”)
DEBUG 2014-04-08T11:31:34.886 QVariant(qlonglong, 22) QVariant(qlonglong, 0) QVariant(QString, “INAV”) QVariant(QString, “cccfffiiff”) QVariant(QString, “BAlt,IAlt,IClb,ACorrX,ACorrY,ACorrZ,GLat,GLng,ILat,ILng”)
DEBUG 2014-04-08T11:31:34.889 QVariant(qlonglong, 23) QVariant(qlonglong, 0) QVariant(QString, “MODE”) QVariant(QString, “Mh”) QVariant(QString, “Mode,ThrCrs”)
DEBUG 2014-04-08T11:31:34.892 QVariant(qlonglong, 25) QVariant(qlonglong, 0) QVariant(QString, “EV”) QVariant(QString, “B”) QVariant(QString, “Id”)
DEBUG 2014-04-08T11:31:34.895 QVariant(qlonglong, 26) QVariant(qlonglong, 0) QVariant(QString, “D16”) QVariant(QString, “Bh”) QVariant(QString, “Id,Value”)
DEBUG 2014-04-08T11:31:34.898 QVariant(qlonglong, 27) QVariant(qlonglong, 0) QVariant(QString, “DU16”) QVariant(QString, “BH”) QVariant(QString, “Id,Value”)
DEBUG 2014-04-08T11:31:34.901 QVariant(qlonglong, 28) QVariant(qlonglong, 0) QVariant(QString, “D32”) QVariant(QString, “Bi”) QVariant(QString, “Id,Value”)
DEBUG 2014-04-08T11:31:34.904 QVariant(qlonglong, 29) QVariant(qlonglong, 0) QVariant(QString, “DU32”) QVariant(QString, “BI”) QVariant(QString, “Id,Value”)
DEBUG 2014-04-08T11:31:34.907 QVariant(qlonglong, 30) QVariant(qlonglong, 0) QVariant(QString, “DFLT”) QVariant(QString, “Bf”) QVariant(QString, “Id,Value”)
DEBUG 2014-04-08T11:31:34.911 QVariant(qlonglong, 31) QVariant(qlonglong, 0) QVariant(QString, “PID”) QVariant(QString, “Biiiiif”) QVariant(QString, “Id,Error,P,I,D,Out,Gain”)
DEBUG 2014-04-08T11:31:34.914 QVariant(qlonglong, 32) QVariant(qlonglong, 0) QVariant(QString, “CAM”) QVariant(QString, “IHLLeccC”) QVariant(QString, “GPSTime,GPSWeek,Lat,Lng,Alt,Roll,Pitch,Yaw”)
DEBUG 2014-04-08T11:31:34.917 QVariant(qlonglong, 33) QVariant(qlonglong, 0) QVariant(QString, “ERR”) QVariant(QString, “BB”) QVariant(QString, “Subsys,ECode”)
DEBUG 2014-04-08T11:32:10.282 Worker: create "C:/Users/Chris/apmplanner2/dataflashLogs/2014-04-08 11-32-10_25.log"
DEBUG 2014-04-08T11:32:10.294 writeSerial(): cmd= dump 25

DEBUG 2014-04-08T11:32:10.301 wrote 9 bytes
DEBUG 2014-04-08T11:32:10.457 dump line hit [/code]

Can you post the log file as well. That will make it a much easier for us to find a fix.

Thank you for looking into this Bill

Here you go - the latest I have in /tlogs and /dataflashlogs

[attachment=0]2014-04-08 11-29-33_24.log[/attachment]

FYI - I tried a fresh installation of APM Planner 2 on a clean, currently updated and stable Windows 8.1 laptop .

Exactly the same errors and issues during the download of the logs.

Firmware on the APM2.6 - could this be the problem ?

Chris