APM 2.0.8 Mac crashes constantly

Just installed the new Mac OSX version of APM 2.0 (2.0.8) - Application loads, can see the pixhawk on USBmodem, but any activity eventually hangs the application. Cannot interact with the pixhawk in the app. It is a recent, retina display, macbook pro (i7, 16GB RAM), Mavericks OS. Any guidance would be appreciated.

Maybe it will help someone else. I have seen before on these retina display machines that graphics intensive programs sometimes crash if the “System Preferences - Display” is set to “Best for Display” By adjusting this to “Scaled” crashing went away. I am up and running…

that’s is strange.I am not having that issue using Mac book Pro (Retina). Can you supply the crash log. You can use the Console app to locate it under the User Diagnostic Reports

Thx :slight_smile:

I have a dozen of these

Process: apmplanner2 [4884]
Path: /Applications/APM Planner 2.0.app/Contents/MacOS/apmplanner2
Identifier: com.diydrones.apmplanner2
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [411]
Responsible: apmplanner2 [4884]
User ID: 319342914

Date/Time: 2014-03-19 21:17:13.654 -0700
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: F23FD379-F3CD-DF0F-3FA0-D3203CC94AE6

Sleep/Wake UUID: 620DE59B-2B69-411D-9E38-C1FA1CD329D4

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
–>
__TEXT 0000000100000000-0000000100e69000 [ 14.4M] r-x/rwx SM=COW /Applications/APM Planner 2.0.app/Contents/MacOS/apmplanner2

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.diydrones.apmplanner2 0x000000010004f3b7 QMap<QString, QVariant>::value(QString const&) const + 23
1 com.diydrones.apmplanner2 0x000000010045364c CompassConfig::setCompassPX4OnBoard() + 396
2 com.diydrones.apmplanner2 0x00000001005dd66d CompassConfig::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 573
3 QtCore 0x00000001021fa09e QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1566
4 QtGui 0x0000000102b56ef1 QAbstractButton::clicked(bool) + 49
5 QtGui 0x0000000102879d50 QAbstractButton::mousePressEvent(QMouseEvent*) + 208
6 QtGui 0x000000010287af8a QAbstractButton::keyPressEvent(QKeyEvent*) + 778
7 QtGui 0x000000010287b1e1 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 113
8 QtGui 0x0000000102530467 QWidget::event(QEvent*) + 2423
9 QtGui 0x0000000102879fd8 QAbstractButton::event(QEvent*) + 40
10 QtGui 0x00000001029160a5 QPushButton::event(QEvent*) + 69
11 QtGui 0x00000001024d55ed QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
12 QtGui 0x00000001024dc190 QApplication::notify(QObject*, QEvent*) + 2384
13 QtCore 0x00000001021e1bdc QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
14 QtGui 0x00000001024d9bdd QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) + 333
15 QtGui 0x00000001024896cb QMacCocoaAutoReleasePool::~QMacCocoaAutoReleasePool() + 18779
16 com.apple.AppKit 0x00007fff8bd1a235 -[NSWindow sendEvent:] + 781
17 QtGui 0x000000010247e7d7 QMacInputContext::reset() + 24823
18 com.apple.AppKit 0x00007fff8bcbb6e4 -[NSApplication sendEvent:] + 2021
19 QtGui 0x0000000102483814 QMacInputContext::reset() + 45364
20 com.apple.AppKit 0x00007fff8bb0bb89 -[NSApplication run] + 646
21 QtGui 0x000000010248e680 QDesktopWidget::resizeEvent(QResizeEvent*) + 13040
22 QtCore 0x00000001021e0af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
23 QtCore 0x00000001021e0ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
24 QtCore 0x00000001021e358c QCoreApplication::exec() + 188
25 com.diydrones.apmplanner2 0x0000000100234adc main + 636
26 com.diydrones.apmplanner2 0x00000001000091f4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8ae79662 kevent64 + 10
1 libdispatch.dylib 0x00007fff952b943d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff952b9152 _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff8ae74a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8ae73d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff8b968155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff8b967779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff8b9670b5 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff8bcb816e _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff87d61899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff87d6172a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff87d65fc9 thread_start + 13

Thread 3:: QThread
0 libsystem_kernel.dylib 0x00007fff8ae789aa __select + 10
1 QtCore 0x00000001022130f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
2 QtCore 0x0000000102217494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102217954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021e0af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021e0ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020c4a98 QThread::exec() + 312
7 QtCore 0x00000001020c76d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff87d61899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff87d6172a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff87d65fc9 thread_start + 13

Thread 4:: QThread
0 libsystem_kernel.dylib 0x00007fff8ae789aa __select + 10
1 QtCore 0x00000001022130f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
2 QtCore 0x0000000102217494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102217954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021e0af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021e0ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020c4a98 QThread::exec() + 312
7 QtCore 0x00000001020c76d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff87d61899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff87d6172a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff87d65fc9 thread_start + 13

Thread 5:: QThread
0 libsystem_kernel.dylib 0x00007fff8ae789aa __select + 10
1 QtCore 0x00000001022130f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
2 QtCore 0x0000000102217494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102217954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021e0af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021e0ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020c4a98 QThread::exec() + 312
7 QtCore 0x00000001020c76d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff87d61899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff87d6172a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff87d65fc9 thread_start + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff8ae78716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff87d63c3b _pthread_cond_wait + 727
2 QtScript 0x0000000101f48b66 0x101def000 + 1416038
3 QtScript 0x0000000101f48ba9 0x101def000 + 1416105
4 libsystem_pthread.dylib 0x00007fff87d61899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff87d6172a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff87d65fc9 thread_start + 13

can you supply the log.txt files as well.

It doesn’t make much sense to me why you are getting these crashes. And any information on what you are doing just before the crash will really help. Thx

What was I doing? I had just connected a pixhawk quad to the application through USB - connected for 5 seconds then crash App. If there are specific parts of the crash log you are looking for, please let me know, because the entire log does not seem to fit in the message body. [EDIT: APM 2.0.9]

Process: apmplanner2 [682]
Path: /Applications/APM Planner 2.0.app/Contents/MacOS/apmplanner2
Identifier: com.diydrones.apmplanner2
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [414]
Responsible: apmplanner2 [682]
User ID: 314111620

Date/Time: 2014-05-02 07:53:09.481 -0700
OS Version: Mac OS X 10.9.2 (13C1021)
Report Version: 11
Anonymous UUID: F23FD379-F3CD-DF0F-3FA0-D3203CC94AE6

Crashed Thread: 11 SerialLink

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000014

VM Regions Near 0x14:
–>
__TEXT 0000000100000000-0000000100e57000 [ 14.3M] r-x/rwx SM=COW /Applications/APM Planner 2.0.app/Contents/MacOS/apmplanner2

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff930d5a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff930d4d18 mach_msg + 64
2 com.apple.CoreGraphics 0x00007fff9164c07b _CGSSynchronizeWindowBackingStore + 97
3 com.apple.CoreGraphics 0x00007fff915cd7b0 _CGSLockWindow + 3765
4 com.apple.CoreGraphics 0x00007fff915cc6c3 CGSDeviceLock + 240
5 libRIP.A.dylib 0x000000010a67b487 ripd_Lock + 43
6 libRIP.A.dylib 0x000000010a67b027 RIPLayerBltShape + 463
7 libRIP.A.dylib 0x000000010a679468 ripc_Render + 304
8 libRIP.A.dylib 0x000000010a68e9c0 ripc_DrawPath + 364
9 com.apple.CoreGraphics 0x00007fff91628545 CGContextDrawPath + 192
10 QtGui 0x00000001026cbd9d qt_mac_cg_context(QPaintDevice const*) + 15517
11 QtGui 0x00000001026cc487 qt_mac_cg_context(QPaintDevice const*) + 17287
12 QtGui 0x00000001025f62c1 QPaintEngine::drawRects(QRect const*, int) + 97
13 QtGui 0x000000010260d462 QPainter::drawRects(QRect const*, int) + 82
14 QtGui 0x000000010260d7b5 QPainter::fillRect(QRect const&, QBrush const&) + 197
15 QtGui 0x00000001025182d9 QWidgetPrivate::paintBackground(QPainter*, QRegion const&, int) const + 601
16 QtGui 0x000000010251c7e1 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1025
17 QtGui 0x000000010246c53a QMacInputContext::reset() + 7770
18 com.apple.AppKit 0x00007fff93c4f1d1 -[NSView _drawRect:clip:] + 3846
19 com.apple.AppKit 0x00007fff93c4c15c -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3199
20 com.apple.AppKit 0x00007fff93c47fbf -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828
21 com.apple.AppKit 0x00007fff93c2742a -[NSView displayIfNeeded] + 1680
22 QtGui 0x0000000102ad12f1 QGraphicsScene::render(QPainter*, QRectF const&, QRectF const&, Qt::AspectRatioMode) + 4689
23 QtGui 0x0000000102ad1821 QGraphicsScene::render(QPainter*, QRectF const&, QRectF const&, Qt::AspectRatioMode) + 6017
24 QtCore 0x00000001021e8191 QObject::event(QEvent*) + 1073
25 QtGui 0x0000000102ad2c45 QGraphicsScene::event(QEvent*) + 101
26 QtGui 0x00000001024c75ed QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
27 QtGui 0x00000001024cdc64 QApplication::notify(QObject*, QEvent*) + 1060
28 QtCore 0x00000001021d3bdc QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
29 QtCore 0x00000001021d5000 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 736
30 com.apple.CoreFoundation 0x00007fff92aeb661 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
31 com.apple.CoreFoundation 0x00007fff92adcd12 __CFRunLoopDoSources0 + 242
32 com.apple.CoreFoundation 0x00007fff92adc49f __CFRunLoopRun + 831
33 com.apple.CoreFoundation 0x00007fff92adbf25 CFRunLoopRunSpecific + 309
34 com.apple.HIToolbox 0x00007fff95d21a0d RunCurrentEventLoopInMode + 226
35 com.apple.HIToolbox 0x00007fff95d217b7 ReceiveNextEventCommon + 479
36 com.apple.HIToolbox 0x00007fff95d215bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
37 com.apple.AppKit 0x00007fff93af03de _DPSNextEvent + 1434
38 com.apple.AppKit 0x00007fff93aefa2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
39 com.apple.AppKit 0x00007fff93ae3b2c -[NSApplication run] + 553
40 QtGui 0x0000000102480680 QDesktopWidget::resizeEvent(QResizeEvent*) + 13040
41 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
42 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
43 QtCore 0x00000001021d558c QCoreApplication::exec() + 188
44 com.diydrones.apmplanner2 0x000000010023e93c main + 636
45 com.diydrones.apmplanner2 0x00000001000093c4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff930da662 kevent64 + 10
1 libdispatch.dylib 0x00007fff96b6043d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff96b60152 _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff930d5a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff930d4d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff92adcfc5 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff92adc5e9 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff92adbf25 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff93c9016e _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 3:: QThread
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 QtCore 0x00000001022050f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
2 QtCore 0x0000000102209494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102209954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020b6a98 QThread::exec() + 312
7 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 4:: QThread
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 QtCore 0x0000000102204ffe qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 142
2 QtCore 0x0000000102209494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102209954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020b6a98 QThread::exec() + 312
7 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff930d9716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ea71c3b _pthread_cond_wait + 727
2 QtScript 0x0000000101f3ab66 0x101de1000 + 1416038
3 QtScript 0x0000000101f3aba9 0x101de1000 + 1416105
4 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 6:: QThread
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 QtCore 0x0000000102204ffe qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 142
2 QtCore 0x0000000102209494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102209954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020b6a98 QThread::exec() + 312
7 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 7:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 com.apple.CoreFoundation 0x00007fff92b28ab3 __CFSocketManager + 867
2 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
3 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
4 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 8:: UDPLink
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 QtCore 0x00000001022050f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
2 QtCore 0x0000000102209494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102209954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020b6a98 QThread::exec() + 312
7 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 9:
0 libsystem_kernel.dylib 0x00007fff930d9e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ea70f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ea73fb9 start_wqthread + 13

Thread 10:
0 libsystem_kernel.dylib 0x00007fff930d9e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ea70f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ea73fb9 start_wqthread + 13

Thread 11 Crashed:: SerialLink
0 QtCore 0x00000001021f4d84 QTimer::start(int) + 4
1 com.diydrones.apmplanner2 0x0000000100267a10 SerialLink::timeoutTimerTimeout() + 2304
2 com.diydrones.apmplanner2 0x00000001005b2902 SerialLink::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 610
3 QtCore 0x00000001021ec09e QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1566
4 QtCore 0x00000001021e7f10 QObject::event(QEvent*) + 432
5 QtGui 0x00000001024c75ed QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
6 QtGui 0x00000001024cdc64 QApplication::notify(QObject*, QEvent*) + 1060
7 QtCore 0x00000001021d3bdc QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
8 QtCore 0x0000000102208dcd QEventDispatcherUNIX::activateSocketNotifiers() + 1021
9 QtCore 0x0000000102209998 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 376
10 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
11 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
12 QtCore 0x00000001020b6a98 QThread::exec() + 312
13 com.diydrones.apmplanner2 0x0000000100261ade SerialLink::run() + 398
14 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
15 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
16 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
17 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 12:: JoystickInput
0 libsystem_kernel.dylib 0x00007fff930d9716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ea71c3b _pthread_cond_wait + 727
2 QtCore 0x00000001020b8dd3 QThread::currentThreadId() + 147
3 QtCore 0x00000001020b8f33 QThread::msleep(unsigned long) + 147
4 com.diydrones.apmplanner2 0x00000001002e6688 JoystickInput::init() + 104
5 com.diydrones.apmplanner2 0x00000001002e681c JoystickInput::run() + 28
6 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
7 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 11 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00000001181f1800 rcx: 0x0000000105623420 rdx: 0x00000001023783e0
rdi: 0x0000000000000000 rsi: 0x00000000000001f4 rbp: 0x0000000118661ff0 rsp: 0x0000000118661ff0
r8: 0x0000000000000040 r9: 0x0000000118661c00 r10: 0x00007fff930d5164 r11: 0x0000000000000207
r12: 0x0000000101012030 r13: 0x0000000118662900 r14: 0x00000001181f1801 r15: 0x00000001186620b8
rip: 0x00000001021f4d84 rfl: 0x0000000000010206 cr2: 0x0000000000000014

Logical CPU: 2
Error Code: 0x00000006
Trap Number: 14

Here is another one from around the same time. I do get improvements when I adjust the display size via scaled, but it does not seem to be a fix, just less crash prone" These last two are with 2.0.9 for the record.

What was I doing? Connected for 2-3 minutes, went to config compass, crash!

Process: apmplanner2 [991]
Path: /Applications/APM Planner 2.0.app/Contents/MacOS/apmplanner2
Identifier: com.diydrones.apmplanner2
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [414]
Responsible: apmplanner2 [991]
User ID: 314111620

Date/Time: 2014-05-02 09:12:50.634 -0700
OS Version: Mac OS X 10.9.2 (13C1021)
Report Version: 11
Anonymous UUID: F23FD379-F3CD-DF0F-3FA0-D3203CC94AE6

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
–>
__TEXT 0000000100000000-0000000100e57000 [ 14.3M] r-x/rwx SM=COW /Applications/APM Planner 2.0.app/Contents/MacOS/apmplanner2

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.diydrones.apmplanner2 0x000000010004c974 QMap<QString, QVariant>::value(QString const&) const + 20
1 com.diydrones.apmplanner2 0x000000010044800d QGCUASParamManager::getParameterValue(int, QString const&) const + 141
2 com.diydrones.apmplanner2 0x0000000100443d58 CompassConfig::setCompassPX4OnBoard() + 216
3 com.diydrones.apmplanner2 0x00000001005d542d CompassConfig::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 573
4 QtCore 0x00000001021ec09e QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1566
5 QtGui 0x0000000102b48ef1 QAbstractButton::clicked(bool) + 49
6 QtGui 0x000000010286bd50 QAbstractButton::mousePressEvent(QMouseEvent*) + 208
7 QtGui 0x000000010286cf8a QAbstractButton::keyPressEvent(QKeyEvent*) + 778
8 QtGui 0x000000010286d1e1 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 113
9 QtGui 0x0000000102522467 QWidget::event(QEvent*) + 2423
10 QtGui 0x000000010286bfd8 QAbstractButton::event(QEvent*) + 40
11 QtGui 0x00000001029080a5 QPushButton::event(QEvent*) + 69
12 QtGui 0x00000001024c75ed QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
13 QtGui 0x00000001024ce190 QApplication::notify(QObject*, QEvent*) + 2384
14 QtCore 0x00000001021d3bdc QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
15 QtGui 0x00000001024cbbdd QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) + 333
16 QtGui 0x000000010247b6cb QMacCocoaAutoReleasePool::~QMacCocoaAutoReleasePool() + 18779
17 com.apple.AppKit 0x00007fff93cf2235 -[NSWindow sendEvent:] + 781
18 QtGui 0x00000001024707d7 QMacInputContext::reset() + 24823
19 com.apple.AppKit 0x00007fff93c936e4 -[NSApplication sendEvent:] + 2021
20 QtGui 0x0000000102475814 QMacInputContext::reset() + 45364
21 com.apple.AppKit 0x00007fff93ae3b89 -[NSApplication run] + 646
22 QtGui 0x0000000102480680 QDesktopWidget::resizeEvent(QResizeEvent*) + 13040
23 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
24 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
25 QtCore 0x00000001021d558c QCoreApplication::exec() + 188
26 com.diydrones.apmplanner2 0x000000010023e93c main + 636
27 com.diydrones.apmplanner2 0x00000001000093c4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff930da662 kevent64 + 10
1 libdispatch.dylib 0x00007fff96b6043d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff96b60152 _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff930d5a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff930d4d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff92adcfc5 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff92adc5e9 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff92adbf25 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff93c9016e _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 3:: QThread
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 QtCore 0x00000001022050f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
2 QtCore 0x0000000102209494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102209954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020b6a98 QThread::exec() + 312
7 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 4:: QThread
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 QtCore 0x00000001022050f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
2 QtCore 0x0000000102209494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102209954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020b6a98 QThread::exec() + 312
7 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 5:: QThread
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 QtCore 0x00000001022050f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
2 QtCore 0x0000000102209494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102209954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020b6a98 QThread::exec() + 312
7 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff930d9716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ea71c3b _pthread_cond_wait + 727
2 QtScript 0x0000000101f3ab66 0x101de1000 + 1416038
3 QtScript 0x0000000101f3aba9 0x101de1000 + 1416105
4 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 7:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 com.apple.CoreFoundation 0x00007fff92b28ab3 __CFSocketManager + 867
2 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
3 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
4 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 8:: UDPLink
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 QtCore 0x00000001022050f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
2 QtCore 0x0000000102209494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102209954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020b6a98 QThread::exec() + 312
7 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 9:: QThread
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 QtCore 0x00000001022050f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
2 QtCore 0x0000000102209494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102209954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020b6a98 QThread::exec() + 312
7 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
8 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 10:: JoystickInput
0 libsystem_kernel.dylib 0x00007fff930d9716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ea71c3b _pthread_cond_wait + 727
2 QtCore 0x00000001020b8dd3 QThread::currentThreadId() + 147
3 QtCore 0x00000001020b8f33 QThread::msleep(unsigned long) + 147
4 com.diydrones.apmplanner2 0x00000001002e6688 JoystickInput::init() + 104
5 com.diydrones.apmplanner2 0x00000001002e681c JoystickInput::run() + 28
6 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
7 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 11:: SerialLink
0 libsystem_kernel.dylib 0x00007fff930d99aa __select + 10
1 QtCore 0x0000000102204ffe qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 142
2 QtCore 0x0000000102209494 QEventDispatcherUNIXPrivate::doSelect(QFlagsQEventLoop::ProcessEventsFlag, timeval*) + 388
3 QtCore 0x0000000102209954 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 308
4 QtCore 0x00000001021d2af4 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
5 QtCore 0x00000001021d2ea4 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 324
6 QtCore 0x00000001020b6a98 QThread::exec() + 312
7 com.diydrones.apmplanner2 0x0000000100261ade SerialLink::run() + 398
8 QtCore 0x00000001020b96d4 QThread::setPriority(QThread::Priority) + 820
9 libsystem_pthread.dylib 0x00007fff8ea6f899 _pthread_body + 138
10 libsystem_pthread.dylib 0x00007fff8ea6f72a _pthread_start + 137
11 libsystem_pthread.dylib 0x00007fff8ea73fc9 thread_start + 13

Thread 12:
0 libsystem_kernel.dylib 0x00007fff930d9e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ea70f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ea73fb9 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000102377d40 rbx: 0x0000000000000001 rcx: 0xbaddc0dedeadbead rdx: 0x00007fff5fbfe8a0
rdi: 0x000060000081d280 rsi: 0x0000000000000000 rbp: 0x00007fff5fbfe840 rsp: 0x00007fff5fbfe810
r8: 0x0000000000000001 r9: 0x000000000000000c r10: 0x0000000000000000 r11: 0x000000010004c960
r12: 0x00007fff5fbfe8a0 r13: 0x00007fff5fbfeb01 r14: 0x00007fff5fbfe8a0 r15: 0x0000000000000000
rip: 0x000000010004c974 rfl: 0x0000000000010206 cr2: 0x0000000000000000

Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14