{"action":"created","issue":{"url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/1480","labels_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/1480/labels{/name}","comments_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/1480/comments","events_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/1480/events","html_url":"https://github.com/mavlink/qgroundcontrol/issues/1480","id":69406323,"number":1480,"title":"Airframe config link re-connect crashes application","user":{"login":"LorenzMeier","id":1208119,"avatar_url":"https://avatars.githubusercontent.com/u/1208119?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenzMeier","html_url":"https://github.com/LorenzMeier","followers_url":"https://api.github.com/users/LorenzMeier/followers","following_url":"https://api.github.com/users/LorenzMeier/following{/other_user}","gists_url":"https://api.github.com/users/LorenzMeier/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenzMeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenzMeier/subscriptions","organizations_url":"https://api.github.com/users/LorenzMeier/orgs","repos_url":"https://api.github.com/users/LorenzMeier/repos","events_url":"https://api.github.com/users/LorenzMeier/events{/privacy}","received_events_url":"https://api.github.com/users/LorenzMeier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"DonLakeFlyer","id":5876851,"avatar_url":"https://avatars.githubusercontent.com/u/5876851?v=3","gravatar_id":"","url":"https://api.github.com/users/DonLakeFlyer","html_url":"https://github.com/DonLakeFlyer","followers_url":"https://api.github.com/users/DonLakeFlyer/followers","following_url":"https://api.github.com/users/DonLakeFlyer/following{/other_user}","gists_url":"https://api.github.com/users/DonLakeFlyer/gists{/gist_id}","starred_url":"https://api.github.com/users/DonLakeFlyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonLakeFlyer/subscriptions","organizations_url":"https://api.github.com/users/DonLakeFlyer/orgs","repos_url":"https://api.github.com/users/DonLakeFlyer/repos","events_url":"https://api.github.com/users/DonLakeFlyer/events{/privacy}","received_events_url":"https://api.github.com/users/DonLakeFlyer/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-04-19T09:45:58Z","updated_at":"2015-04-20T16:30:35Z","closed_at":null,"body":"This is a fresh (completely clean) build off current master:\r\n\r\n```\r\nProcess:         qgroundcontrol [32449]\r\nPath:            /Users/USER/*/qgroundcontrol.app/Contents/MacOS/qgroundcontrol\r\nIdentifier:      org.qgroundcontrol.qgroundcontrol\r\nVersion:         2.0.0 (227)\r\nCode Type:       X86-64 (Native)\r\nParent Process:  Qt Creator [30464]\r\nResponsible:     Qt Creator [30464]\r\nUser ID:         501\r\n\r\nDate/Time:       2015-04-19 11:44:29.269 +0200\r\nOS Version:      Mac OS X 10.9.5 (13F1066)\r\nReport Version:  11\r\nAnonymous UUID:  0BE00B61-2D1F-543C-38F9-2BD7ACFA6ECA\r\n\r\nSleep/Wake UUID: D16301AB-98EE-45F8-9231-FB885B717103\r\n\r\nCrashed Thread:  0  Dispatch queue: com.apple.main-thread\r\n\r\nException Type:  EXC_BAD_ACCESS (SIGSEGV)\r\nException Codes: EXC_I386_GPFLT\r\n\r\nThread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n0   org.qgroundcontrol.qgroundcontrol\t0x00000001000fc426 LinkManager::createConnectedLink(LinkConfiguration*) + 22\r\n1   org.qt-project.QtCore         \t0x0000000101813114 QSingleShotTimer::timerEvent(QTimerEvent*) + 132\r\n2   org.qt-project.QtCore         \t0x0000000101805300 QObject::event(QEvent*) + 48\r\n3   org.qt-project.QtWidgets      \t0x0000000102bcedbb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251\r\n4   org.qt-project.QtWidgets      \t0x0000000102bd2110 QApplication::notify(QObject*, QEvent*) + 8192\r\n5   org.qt-project.QtCore         \t0x00000001017d9fb3 QCoreApplication::notifyInternal(QObject*, QEvent*) + 115\r\n6   org.qt-project.QtCore         \t0x000000010182e3f6 QTimerInfoList::activateTimers() + 1270\r\n7   libqcocoa.dylib               \t0x0000000104505d12 QCocoaEventDispatcherPrivate::activateTimersSourceCallback(void*) + 18\r\n8   com.apple.CoreFoundation      \t0x00007fff8493f5b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\r\n9   com.apple.CoreFoundation      \t0x00007fff84930c62 __CFRunLoopDoSources0 + 242\r\n10  com.apple.CoreFoundation      \t0x00007fff849303ef __CFRunLoopRun + 831\r\n11  com.apple.CoreFoundation      \t0x00007fff8492fe75 CFRunLoopRunSpecific + 309\r\n12  com.apple.HIToolbox           \t0x00007fff8dc90a0d RunCurrentEventLoopInMode + 226\r\n13  com.apple.HIToolbox           \t0x00007fff8dc907b7 ReceiveNextEventCommon + 479\r\n14  com.apple.HIToolbox           \t0x00007fff8dc905bc _BlockUntilNextEventMatchingListInModeWithFilter + 65\r\n15  com.apple.AppKit              \t0x00007fff871ea24e _DPSNextEvent + 1434\r\n16  com.apple.AppKit              \t0x00007fff871e989b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122\r\n17  com.apple.AppKit              \t0x00007fff871dd99c -[NSApplication run] + 553\r\n18  libqcocoa.dylib               \t0x000000010450692d QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2189\r\n19  org.qt-project.QtCore         \t0x00000001017d75ad QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381\r\n20  org.qt-project.QtCore         \t0x00000001017da58a QCoreApplication::exec() + 346\r\n21  org.qgroundcontrol.qgroundcontrol\t0x00000001001404c9 main + 297\r\n22  org.qgroundcontrol.qgroundcontrol\t0x0000000100009d64 start + 52\r\n\r\nThread 1:: Dispatch queue: com.apple.libdispatch-manager\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3c662 kevent64 + 10\r\n1   libdispatch.dylib             \t0x00007fff88723421 _dispatch_mgr_invoke + 239\r\n2   libdispatch.dylib             \t0x00007fff88723136 _dispatch_mgr_thread + 52\r\n\r\nThread 2:: QProcessManager\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3b9aa __select + 10\r\n1   org.qt-project.QtCore         \t0x00000001017782af QProcessManager::run() + 143\r\n2   org.qt-project.QtCore         \t0x00000001015d0393 QThreadPrivate::start(void*) + 339\r\n3   libsystem_pthread.dylib       \t0x00007fff8df6e899 _pthread_body + 138\r\n4   libsystem_pthread.dylib       \t0x00007fff8df6e72a _pthread_start + 137\r\n5   libsystem_pthread.dylib       \t0x00007fff8df72fc9 thread_start + 13\r\n\r\nThread 3:\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef37a1a mach_msg_trap + 10\r\n1   libsystem_kernel.dylib        \t0x00007fff8ef36d18 mach_msg + 64\r\n2   com.apple.CoreFoundation      \t0x00007fff84930f15 __CFRunLoopServiceMachPort + 181\r\n3   com.apple.CoreFoundation      \t0x00007fff84930539 __CFRunLoopRun + 1161\r\n4   com.apple.CoreFoundation      \t0x00007fff8492fe75 CFRunLoopRunSpecific + 309\r\n5   com.apple.AppKit              \t0x00007fff8738a05e _NSEventThread + 144\r\n6   libsystem_pthread.dylib       \t0x00007fff8df6e899 _pthread_body + 138\r\n7   libsystem_pthread.dylib       \t0x00007fff8df6e72a _pthread_start + 137\r\n8   libsystem_pthread.dylib       \t0x00007fff8df72fc9 thread_start + 13\r\n\r\nThread 4:: QThread\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3b9aa __select + 10\r\n1   org.qt-project.QtCore         \t0x000000010182b134 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 596\r\n2   org.qt-project.QtCore         \t0x000000010182c000 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 672\r\n3   org.qt-project.QtCore         \t0x000000010182d0ca QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 234\r\n4   org.qt-project.QtCore         \t0x00000001017d75ad QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381\r\n5   org.qt-project.QtCore         \t0x00000001015cc905 QThread::exec() + 117\r\n6   org.qt-project.QtCore         \t0x00000001015d0393 QThreadPrivate::start(void*) + 339\r\n7   libsystem_pthread.dylib       \t0x00007fff8df6e899 _pthread_body + 138\r\n8   libsystem_pthread.dylib       \t0x00007fff8df6e72a _pthread_start + 137\r\n9   libsystem_pthread.dylib       \t0x00007fff8df72fc9 thread_start + 13\r\n\r\nThread 5:: QQmlThread\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3b9aa __select + 10\r\n1   org.qt-project.QtCore         \t0x000000010182b134 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 596\r\n2   org.qt-project.QtCore         \t0x000000010182c000 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 672\r\n3   org.qt-project.QtCore         \t0x000000010182d0ca QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 234\r\n4   org.qt-project.QtCore         \t0x00000001017d75ad QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381\r\n5   org.qt-project.QtCore         \t0x00000001015cc905 QThread::exec() + 117\r\n6   org.qt-project.QtQml          \t0x00000001027aff59 QQmlThreadPrivate::run() + 57\r\n7   org.qt-project.QtCore         \t0x00000001015d0393 QThreadPrivate::start(void*) + 339\r\n8   libsystem_pthread.dylib       \t0x00007fff8df6e899 _pthread_body + 138\r\n9   libsystem_pthread.dylib       \t0x00007fff8df6e72a _pthread_start + 137\r\n10  libsystem_pthread.dylib       \t0x00007fff8df72fc9 thread_start + 13\r\n\r\nThread 6:: MAVLinkDecoder\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3b9aa __select + 10\r\n1   org.qt-project.QtCore         \t0x000000010182b134 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 596\r\n2   org.qt-project.QtCore         \t0x000000010182c000 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 672\r\n3   org.qt-project.QtCore         \t0x000000010182d0ca QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 234\r\n4   org.qt-project.QtCore         \t0x00000001017d75ad QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381\r\n5   org.qt-project.QtCore         \t0x00000001015cc905 QThread::exec() + 117\r\n6   org.qt-project.QtCore         \t0x00000001015d0393 QThreadPrivate::start(void*) + 339\r\n7   libsystem_pthread.dylib       \t0x00007fff8df6e899 _pthread_body + 138\r\n8   libsystem_pthread.dylib       \t0x00007fff8df6e72a _pthread_start + 137\r\n9   libsystem_pthread.dylib       \t0x00007fff8df72fc9 thread_start + 13\r\n\r\nThread 7:: JoystickInput\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3ba3a __semwait_signal + 10\r\n1   libsystem_c.dylib             \t0x00007fff87db8dc0 nanosleep + 200\r\n2   org.qt-project.QtCore         \t0x0000000101683afb qt_nanosleep(timespec) + 43\r\n3   org.qgroundcontrol.qgroundcontrol\t0x0000000100138e17 JoystickInput::init() + 119\r\n4   org.qgroundcontrol.qgroundcontrol\t0x0000000100139a69 JoystickInput::run() + 25\r\n5   org.qt-project.QtCore         \t0x00000001015d0393 QThreadPrivate::start(void*) + 339\r\n6   libsystem_pthread.dylib       \t0x00007fff8df6e899 _pthread_body + 138\r\n7   libsystem_pthread.dylib       \t0x00007fff8df6e72a _pthread_start + 137\r\n8   libsystem_pthread.dylib       \t0x00007fff8df72fc9 thread_start + 13\r\n\r\nThread 8:: QQmlThread\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3b9aa __select + 10\r\n1   org.qt-project.QtCore         \t0x000000010182b134 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 596\r\n2   org.qt-project.QtCore         \t0x000000010182c000 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 672\r\n3   org.qt-project.QtCore         \t0x000000010182d0ca QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 234\r\n4   org.qt-project.QtCore         \t0x00000001017d75ad QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381\r\n5   org.qt-project.QtCore         \t0x00000001015cc905 QThread::exec() + 117\r\n6   org.qt-project.QtQml          \t0x00000001027aff59 QQmlThreadPrivate::run() + 57\r\n7   org.qt-project.QtCore         \t0x00000001015d0393 QThreadPrivate::start(void*) + 339\r\n8   libsystem_pthread.dylib       \t0x00007fff8df6e899 _pthread_body + 138\r\n9   libsystem_pthread.dylib       \t0x00007fff8df6e72a _pthread_start + 137\r\n10  libsystem_pthread.dylib       \t0x00007fff8df72fc9 thread_start + 13\r\n\r\nThread 9:\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3be6a __workq_kernreturn + 10\r\n1   libsystem_pthread.dylib       \t0x00007fff8df6ff08 _pthread_wqthread + 330\r\n2   libsystem_pthread.dylib       \t0x00007fff8df72fb9 start_wqthread + 13\r\n\r\nThread 10:\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3be6a __workq_kernreturn + 10\r\n1   libsystem_pthread.dylib       \t0x00007fff8df6ff08 _pthread_wqthread + 330\r\n2   libsystem_pthread.dylib       \t0x00007fff8df72fb9 start_wqthread + 13\r\n\r\nThread 11:\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3be6a __workq_kernreturn + 10\r\n1   libsystem_pthread.dylib       \t0x00007fff8df6ff08 _pthread_wqthread + 330\r\n2   libsystem_pthread.dylib       \t0x00007fff8df72fb9 start_wqthread + 13\r\n\r\nThread 12:: QQmlThread\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3b9aa __select + 10\r\n1   org.qt-project.QtCore         \t0x000000010182b134 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 596\r\n2   org.qt-project.QtCore         \t0x000000010182c000 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 672\r\n3   org.qt-project.QtCore         \t0x000000010182d0ca QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 234\r\n4   org.qt-project.QtCore         \t0x00000001017d75ad QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381\r\n5   org.qt-project.QtCore         \t0x00000001015cc905 QThread::exec() + 117\r\n6   org.qt-project.QtQml          \t0x00000001027aff59 QQmlThreadPrivate::run() + 57\r\n7   org.qt-project.QtCore         \t0x00000001015d0393 QThreadPrivate::start(void*) + 339\r\n8   libsystem_pthread.dylib       \t0x00007fff8df6e899 _pthread_body + 138\r\n9   libsystem_pthread.dylib       \t0x00007fff8df6e72a _pthread_start + 137\r\n10  libsystem_pthread.dylib       \t0x00007fff8df72fc9 thread_start + 13\r\n\r\nThread 13:: QThread\r\n0   libsystem_kernel.dylib        \t0x00007fff8ef3b9aa __select + 10\r\n1   org.qt-project.QtCore         \t0x000000010182b134 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 596\r\n2   org.qt-project.QtCore         \t0x000000010182c000 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 672\r\n3   org.qt-project.QtCore         \t0x000000010182d0ca QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 234\r\n4   org.qt-project.QtCore         \t0x00000001017d75ad QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381\r\n5   org.qt-project.QtCore         \t0x00000001015cc905 QThread::exec() + 117\r\n6   org.qt-project.QtCore         \t0x00000001015d0393 QThreadPrivate::start(void*) + 339\r\n7   libsystem_pthread.dylib       \t0x00007fff8df6e899 _pthread_body + 138\r\n8   libsystem_pthread.dylib       \t0x00007fff8df6e72a _pthread_start + 137\r\n9   libsystem_pthread.dylib       \t0x00007fff8df72fc9 thread_start + 13\r\n\r\nThread 0 crashed with X86 Thread State (64-bit):\r\n  rax: 0xc000000000000000  rbx: 0x000000010cfdfc80  rcx: 0x000000000000000f  rdx: 0x0000000000000006\r\n  rdi: 0x000000010cfdfc80  rsi: 0x000000010cfdfc80  rbp: 0x00007fff5fbfdbd0  rsp: 0x00007fff5fbfdbb0\r\n   r8: 0x0000000000000040   r9: 0x00007fff5fbfd700  r10: 0x00007fff8ef37164  r11: 0x0000000000000207\r\n  r12: 0x000000010420b420  r13: 0x0000000104102520  r14: 0x0000000103751d10  r15: 0x0000000104102501\r\n  rip: 0x00000001000fc426  rfl: 0x0000000000010202  cr2: 0x0000000170b11000\r\n  \r\nLogical CPU:     0\r\nError Code:      0x00000000\r\nTrap Number:     13\r\n```"},"comment":{"url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/comments/94501175","html_url":"https://github.com/mavlink/qgroundcontrol/issues/1480#issuecomment-94501175","issue_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/1480","id":94501175,"user":{"login":"DonLakeFlyer","id":5876851,"avatar_url":"https://avatars.githubusercontent.com/u/5876851?v=3","gravatar_id":"","url":"https://api.github.com/users/DonLakeFlyer","html_url":"https://github.com/DonLakeFlyer","followers_url":"https://api.github.com/users/DonLakeFlyer/followers","following_url":"https://api.github.com/users/DonLakeFlyer/following{/other_user}","gists_url":"https://api.github.com/users/DonLakeFlyer/gists{/gist_id}","starred_url":"https://api.github.com/users/DonLakeFlyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonLakeFlyer/subscriptions","organizations_url":"https://api.github.com/users/DonLakeFlyer/orgs","repos_url":"https://api.github.com/users/DonLakeFlyer/repos","events_url":"https://api.github.com/users/DonLakeFlyer/events{/privacy}","received_events_url":"https://api.github.com/users/DonLakeFlyer/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T16:30:35Z","updated_at":"2015-04-20T16:30:35Z","body":"> Do we need to delete the UAS object if it causes so much instability\r\n\r\nJust trading off one problem for another. If you keep the UAS around and the user tries to talk with it it's going to go boom because it no longer has a connection. So the problem just shows up a little later on. \r\n\r\nYes crash is bad. That's why I was asking whether for now we should disallow re-connect until I can fix the widgets. I'll take a look again at this."}}