Skip to content

Instantly share code, notes, and snippets.

@AndKe
Created March 17, 2015 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndKe/2b37799c7b4fc32118e3 to your computer and use it in GitHub Desktop.
Save AndKe/2b37799c7b4fc32118e3 to your computer and use it in GitHub Desktop.
andre@andre-Latitude-E5520:~/prog/apm_planner/release$ gdb apmplanner2
GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from apmplanner2...(no debugging symbols found)...done.
(gdb) r
Starting program: /home/andre/prog/apm_planner/release/apmplanner2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe10b6700 (LWP 5992)]
[New Thread 0x7fffd8b12700 (LWP 5993)]
[New Thread 0x7fffd3fff700 (LWP 5994)]
[New Thread 0x7fffd120c700 (LWP 5996)]
[New Thread 0x7fffd0a0b700 (LWP 5997)]
[New Thread 0x7fffcbfff700 (LWP 5998)]
INFO 2015-03-17T15:46:02.539 QGCCore::initialize()
INFO 2015-03-17T15:46:02.540 Current Build Info
INFO 2015-03-17T15:46:02.540 Git Hash: ecf57caf56af26dcfaa422ccc63207c81df42959
INFO 2015-03-17T15:46:02.540 Git Commit: 2.0.15-rc2-278-gecf57ca
INFO 2015-03-17T15:46:02.540 APPLICATION_NAME: "APM Planner"
INFO 2015-03-17T15:46:02.540 APPLICATION_VERSION: "v2.0.16"
INFO 2015-03-17T15:46:02.540 APP_PLATFORM: ubuntu64
INFO 2015-03-17T15:46:02.540 APP_TYPE: stable
INFO 2015-03-17T15:46:02.623 Start Link Manager
DEBUG 2015-03-17T15:46:02.627 Create MAVLinkDecoder: MAVLinkDecoder(0x15ddcf0)
INFO 2015-03-17T15:46:02.632 Start UAS Manager
[New Thread 0x7fffca159700 (LWP 5999)]
DEBUG 2015-03-17T15:46:02.683 Creating MainWindow
INFO 2015-03-17T15:46:02.851 Creating SubMainWindow: SubMainWindow(0x170c5e0)
INFO 2015-03-17T15:46:02.851 setting objectName: "VIEW_MISSION"
INFO 2015-03-17T15:46:02.889 Creating SubMainWindow: SubMainWindow(0x1753bf0)
INFO 2015-03-17T15:46:02.889 setting objectName: "VIEW_FLIGHT"
INFO 2015-03-17T15:46:02.905 Creating SubMainWindow: SubMainWindow(0x17b81e0)
INFO 2015-03-17T15:46:02.905 setting objectName: "VIEW_HARDWARE_CONFIG"
[Thread 0x7fffcbfff700 (LWP 5998) exited]
DEBUG 2015-03-17T15:46:03.083 fillPortsInfo
INFO 2015-03-17T15:46:03.087 Inserting "ttyACM0"
INFO 2015-03-17T15:46:03.088 Changed Link to: "ttyACM0"
INFO 2015-03-17T15:46:03.318 Creating SubMainWindow: SubMainWindow(0x18432a0)
INFO 2015-03-17T15:46:03.318 setting objectName: "VIEW_SOFTWARE_CONFIG"
DEBUG 2015-03-17T15:46:03.336 Disable Controls
INFO 2015-03-17T15:46:03.574 Creating SubMainWindow: SubMainWindow(0x23dde90)
INFO 2015-03-17T15:46:03.574 setting objectName: "VIEW_ENGINEER"
QObject::connect: No such signal QTableView::currentCellChanged(int,int,int,int)
QObject::connect: (sender name: 'tableWidget')
QObject::connect: (receiver name: 'AP2DataPlot2D')
INFO 2015-03-17T15:46:03.632 Creating SubMainWindow: SubMainWindow(0x266c320)
INFO 2015-03-17T15:46:03.632 setting objectName: "VIEW_SIMULATOR"
DEBUG 2015-03-17T15:46:03.682 MODE: 0
DEBUG 2015-03-17T15:46:03.683 "D|PREFLIGHT"
DEBUG 2015-03-17T15:46:03.683 MODE: 80
DEBUG 2015-03-17T15:46:03.684 "D|STABILIZED"
DEBUG 2015-03-17T15:46:03.684 MODE: 64
DEBUG 2015-03-17T15:46:03.684 "D|MANUAL"
DEBUG 2015-03-17T15:46:03.685 MODE: 88
DEBUG 2015-03-17T15:46:03.685 "D|VECTOR|STABILIZED"
DEBUG 2015-03-17T15:46:03.685 MODE: 92
DEBUG 2015-03-17T15:46:03.686 "D|AUTO|STABILIZED"
DEBUG 2015-03-17T15:46:03.686 MODE: 66
DEBUG 2015-03-17T15:46:03.686 "D|TEST"
DEBUG 2015-03-17T15:46:03.783 QUrl( "file:///home/andre/prog/apm_planner/release/qml/PrimaryFlightDisplayQML.qml" )
[New Thread 0x7fffcbfff700 (LWP 6002)]
DEBUG 2015-03-17T15:46:03.881 QML Status: 1
DEBUG 2015-03-17T15:46:03.882 QUrl( "file:///home/andre/prog/apm_planner/release/qml/PrimaryFlightDisplayQML.qml" )
[New Thread 0x7fffb7dfc700 (LWP 6003)]
DEBUG 2015-03-17T15:46:03.922 QML Status: 1
INFO 2015-03-17T15:46:03.928 UASActionsWidget creating UASActionsWidget(0x2c5afa0)
DEBUG 2015-03-17T15:46:03.932 QuickView: load settings
DEBUG 2015-03-17T15:46:03.932 QuickView: loading key: "GCS Status.Altitude (GPS) (m)" type: "text"
DEBUG 2015-03-17T15:46:03.943 QuickView: loading key: "GCS Status.Altitude (REL) (m)" type: "text"
DEBUG 2015-03-17T15:46:03.944 QuickView: loading key: "GCS Status.Battery (%)" type: "text"
DEBUG 2015-03-17T15:46:03.946 QuickView: loading key: "GCS Status.Climb (m/s)" type: "text"
DEBUG 2015-03-17T15:46:03.947 QuickView: loading key: "GCS Status.Current (A)" type: "text"
DEBUG 2015-03-17T15:46:03.949 QuickView: loading key: "GCS Status.GPS Fix ()" type: "text"
DEBUG 2015-03-17T15:46:03.951 QuickView: loading key: "GCS Status.GPS HDOP (m)" type: "text"
DEBUG 2015-03-17T15:46:03.953 QuickView: loading key: "GCS Status.GPS Sats ()" type: "text"
DEBUG 2015-03-17T15:46:03.956 QuickView: loading key: "GCS Status.Pitch (deg)" type: "text"
DEBUG 2015-03-17T15:46:03.958 QuickView: loading key: "GCS Status.Roll (deg)" type: "text"
DEBUG 2015-03-17T15:46:03.961 QuickView: loading key: "GCS Status.Voltage (V)" type: "text"
DEBUG 2015-03-17T15:46:03.964 QuickView: loading key: "GCS Status.Yaw (deg)" type: "text"
DEBUG 2015-03-17T15:46:03.969 QuickView: load settings END
INFO 2015-03-17T15:46:04.020 Using Alsa Audio driver
WARN 2015-03-17T15:46:04.020 Dir directory tmp_audio exists
[New Thread 0x7fffb6d64700 (LWP 6004)]
DEBUG 2015-03-17T15:46:04.026 qmlBaseDir "/home/andre/prog/apm_planner/release"
DEBUG 2015-03-17T15:46:04.026 QUrl( "file:///home/andre/prog/apm_planner/release/qml/ApmToolBar.qml" )
qml: APMToolBar: button label SELECTED
DEBUG 2015-03-17T15:46:04.057 QML Status: 1
DEBUG 2015-03-17T15:46:04.064 Loading widget: "PRIMARY_FLIGHT_DISPLAY_QML_DOCKWIDGET"
DEBUG 2015-03-17T15:46:04.065 Loading widget: "UAS_INFO_INFOVIEW_DOCKWIDGET"
[New Thread 0x7fffb5c5b700 (LWP 6005)]
[New Thread 0x7fffb524c700 (LWP 6006)]
[New Thread 0x7fffb4a4b700 (LWP 6007)]
[New Thread 0x7fffa7fff700 (LWP 6008)]
[New Thread 0x7fffa77fe700 (LWP 6009)]
[New Thread 0x7fffa6ffd700 (LWP 6010)]
[New Thread 0x7fffa67fc700 (LWP 6011)]
[New Thread 0x7fffa5ffb700 (LWP 6012)]
[New Thread 0x7fffa57fa700 (LWP 6013)]
[New Thread 0x7fffa4ff9700 (LWP 6014)]
[New Thread 0x7fff83fff700 (LWP 6015)]
[New Thread 0x7fff837fe700 (LWP 6016)]
DEBUG 2015-03-17T15:46:04.270 Create Serial Connection: SerialConnection(0x30ca0a0)
INFO 2015-03-17T15:46:04.279 "ttyACM0" 115200
DEBUG 2015-03-17T15:46:04.294 APMToolBar: new Serial Link Created 1
DEBUG 2015-03-17T15:46:04.295 APMToolBar setConnection: false
DEBUG 2015-03-17T15:46:04.296 APMToolBar: updateLinkDisplay "ttyACM0" 115200 false
INFO 2015-03-17T15:46:04.298 UDP Created "UDP Link (port:14550)"
INFO 2015-03-17T15:46:04.299 UDP disconnect
INFO 2015-03-17T15:46:04.299 UDPLink::UDP connect QHostAddress( "0.0.0.0" ) : 14550
ERROR 2015-03-17T15:46:04.300 bind failed! QHostAddress( "0.0.0.0" ) : 14550
[New Thread 0x7fff82ffd700 (LWP 6017)]
DEBUG 2015-03-17T15:46:04.309 Requesting firmware: "stable" "pixhawk"
[New Thread 0x7fff827fc700 (LWP 6018)]
[New Thread 0x7fff81ffb700 (LWP 6019)]
DEBUG 2015-03-17T15:46:04.312 "pixhawk" Detected
DEBUG 2015-03-17T15:46:04.331 SCW: Link is disconnected
DEBUG 2015-03-17T15:46:04.334 Baud rate: 115200 Expected: 4
DEBUG 2015-03-17T15:46:07.012 firmwareListFinished error: 0 "Unknown error"
DEBUG 2015-03-17T15:46:07.066 firmwareListFinished error: 0 "Unknown error"
DEBUG 2015-03-17T15:46:07.095 firmwareListFinished error: 0 "Unknown error"
DEBUG 2015-03-17T15:46:07.212 firmwareListFinished error: 0 "Unknown error"
DEBUG 2015-03-17T15:46:07.232 firmwareListFinished error: 0 "Unknown error"
DEBUG 2015-03-17T15:46:07.296 firmwareListFinished error: 0 "Unknown error"
DEBUG 2015-03-17T15:46:07.864 firmwareListFinished error: 0 "Unknown error"
DEBUG 2015-03-17T15:46:07.984 firmwareListFinished error: 0 "Unknown error"
DEBUG 2015-03-17T15:46:08.001 firmwareListFinished error: 0 "Unknown error"
DEBUG 2015-03-17T15:46:08.984 "retrieve versionobject from server: http://firmware.diydrones.com/Tools/APMPlanner/apm_planner_version.json"
[New Thread 0x7fff80c3e700 (LWP 6020)]
DEBUG 2015-03-17T15:46:09.803 Downloading: 1159 / 4156
DEBUG 2015-03-17T15:46:09.987 Downloading: 4063 / 4156
DEBUG 2015-03-17T15:46:10.054 Downloading: 4156 / 4156
DEBUG 2015-03-17T15:46:10.055 AutoUpdateCheck::httpFinished()
[New Thread 0x7fff67fff700 (LWP 6021)]
DEBUG 2015-03-17T15:46:10.064 Detected newVersion: ("2.0.14", "2.0.14", "") count: 2
DEBUG 2015-03-17T15:46:10.065 Detected currentVersion: ("2.0.16", "2.0.16", "") count: 2
DEBUG 2015-03-17T15:46:10.066 Verison Compare: " New Version 2.0.14 compared to Old Version 2.0.16"
INFO 2015-03-17T15:46:10.068 no new update available
qml: APMToolBar: FLIGHT PLAN SELECTED
qml: APMToolBar: clear selected buttons
qml: APMToolBar: FLIGHT DATA unselected
qml: APMToolBar: FLIGHT PLAN unselected
[New Thread 0x7fff677fe700 (LWP 6022)]
[New Thread 0x7fff66ffd700 (LWP 6023)]
[New Thread 0x7fff667fc700 (LWP 6024)]
[New Thread 0x7fff65ffb700 (LWP 6025)]
[New Thread 0x7fff657fa700 (LWP 6026)]
[New Thread 0x7fff64ff9700 (LWP 6027)]
[New Thread 0x7ffecbfff700 (LWP 6028)]
[New Thread 0x7ffecb7fe700 (LWP 6029)]
[New Thread 0x7ffecaffd700 (LWP 6030)]
[New Thread 0x7ffeca7fc700 (LWP 6031)]
DEBUG 2015-03-17T15:46:12.235 Loading widget: "UNMANNED_SYSTEM_LIST_DOCKWIDGET"
DEBUG 2015-03-17T15:46:12.235 Loading widget: "WAYPOINT_LIST_DOCKWIDGET"
qml: APMToolBar: FLIGHT PLAN SELECTED
qml: APMToolBar: CONNECT SELECTED
DEBUG 2015-03-17T15:46:14.664 APMToolBar: connectMAV QObject(0x0) with sLink 1
DEBUG 2015-03-17T15:46:14.665 SerialConnection::connect()
ERROR 2015-03-17T15:46:14.666 serial connection: error 0
DEBUG 2015-03-17T15:46:14.669 APMToolBar setConnection: true
qml: APM Tool BAR QML: connected
DEBUG 2015-03-17T15:46:14.672 APMToolBar: updateLinkDisplay "ttyACM0" 115200 true
qml: APMToolBar: DISCONNECT unselected
QObject::connect: No such signal SerialConnection::disconnected(QObject*)
INFO 2015-03-17T15:46:14.689 ArduPilotMegaMAV APM Connected
DEBUG 2015-03-17T15:46:14.690 LinkManger::startLogging() "/home/andre/apmplanner2/tlogs/plane//2015-03-17 15-46-14.tlog"
DEBUG 2015-03-17T15:46:14.691 Start MAVLink logging "/home/andre/apmplanner2/tlogs/plane//2015-03-17 15-46-14.tlog"
DEBUG 2015-03-17T15:46:14.833 ATTEMPTING TO LOAD CSV
DEBUG 2015-03-17T15:46:14.834 AUTOPILOT: "ARDUPILOTMEGA"
DEBUG 2015-03-17T15:46:14.835 FILENAME: "/home/andre/prog/apm_planner/release/files/ardupilotmega/parameter_tooltips/tooltips.txt"
DEBUG 2015-03-17T15:46:14.841 src/uas/UAS.cc 2160 LOADING PARAM LIST
DEBUG 2015-03-17T15:46:14.880 Loading widget: "UNMANNED_SYSTEM_LIST_DOCKWIDGET"
DEBUG 2015-03-17T15:46:14.880 Loading widget: "WAYPOINT_LIST_DOCKWIDGET"
DEBUG 2015-03-17T15:46:14.885 addUAS "MAV 001"
DEBUG 2015-03-17T15:46:14.886 addUAS "MAV 001"
INFO 2015-03-17T15:46:14.887 QGCMapTool::activeUASSet
INFO 2015-03-17T15:46:14.887 QGCMapTool::activeUASSet
DEBUG 2015-03-17T15:46:14.892 AHC: uasConnected()
DEBUG 2015-03-17T15:46:14.893 toggleButtonsShown true
DEBUG 2015-03-17T15:46:14.894 FixedWing
INFO 2015-03-17T15:46:14.935 QGCMapTool::activeUASSet
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5706109 in QV8Engine::toVariant(QV4::ValueRef, int) ()
from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
(gdb) bt
#0 0x00007ffff5706109 in QV8Engine::toVariant(QV4::ValueRef, int) ()
from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#1 0x00007ffff5680ade in QQmlPropertyPrivate::writeBinding(QObject*, QQmlPropertyData const&, QQmlContextData*, QQmlJavaScriptExpression*, QV4::ValueRef, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#2 0x00007ffff56f07cf in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#3 0x00007ffff567a05a in QQmlPropertyPrivate::setBinding(QObject*, int, int, QQmlAbstractBinding*, QFlags<QQmlPropertyPrivate::WriteFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#4 0x00007ffff5640ea0 in QV4::QObjectWrapper::setProperty(QObject*, QV4::ExecutionContext*, QQmlPropertyData*, QV4::ValueRef) ()
from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#5 0x00007ffff565323f in QV4::Runtime::setQmlQObjectProperty(QV4::ExecutionContext*, QV4::ValueRef, int, QV4::ValueRef) ()
from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6 0x00007fffd80472cc in ?? ()
#7 0x00000000029ca860 in ?? ()
#8 0x000000000281b7c0 in ?? ()
#9 0x00007fffd8073210 in ?? ()
#10 0x0003000000000002 in ?? ()
#11 0x00007ffff7dfd000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#12 0x00007fffd8073210 in ?? ()
#13 0x00007fffc81a2050 in ?? ()
#14 0x00007fffc81a2050 in ?? ()
#15 0x00007fffd8073210 in ?? ()
#16 0x00007fffd803eaf0 in ?? ()
#17 0x00007ffff7dfd000 in ?? ()
#18 0x0000000000000000 in ?? ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment