{"action":"opened","issue":{"url":"https://api.github.com/repos/diydrones/apm_planner/issues/823","labels_url":"https://api.github.com/repos/diydrones/apm_planner/issues/823/labels{/name}","comments_url":"https://api.github.com/repos/diydrones/apm_planner/issues/823/comments","events_url":"https://api.github.com/repos/diydrones/apm_planner/issues/823/events","html_url":"https://github.com/diydrones/apm_planner/issues/823","id":110878367,"number":823,"title":"connected by UDP, then reconnecting pixawk=crash","user":{"login":"AndKe","id":1468842,"avatar_url":"https://avatars.githubusercontent.com/u/1468842?v=3","gravatar_id":"","url":"https://api.github.com/users/AndKe","html_url":"https://github.com/AndKe","followers_url":"https://api.github.com/users/AndKe/followers","following_url":"https://api.github.com/users/AndKe/following{/other_user}","gists_url":"https://api.github.com/users/AndKe/gists{/gist_id}","starred_url":"https://api.github.com/users/AndKe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndKe/subscriptions","organizations_url":"https://api.github.com/users/AndKe/orgs","repos_url":"https://api.github.com/users/AndKe/repos","events_url":"https://api.github.com/users/AndKe/events{/privacy}","received_events_url":"https://api.github.com/users/AndKe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-11T19:33:43Z","updated_at":"2015-10-11T19:33:43Z","closed_at":null,"body":"Reproduce: \r\n-connect  a Pixhawk to USB\r\n-mavproxy.py --out=udp:127.0.0.1:14550\r\n-start apmplanner2   (observe that it will connect to UDP and work great)\r\n-disconnect Pixhawk USB - observe that MavProxy and apmplanner2 will handle that fine (connection lost)\r\n-now reconnect Pixhawk USB - observe that Mavproxy will resume connection fine, but apmplanner will crash well after receiving data.\r\n\r\n\r\n\r\n\r\n```\r\n[Thread 0x7fff6b7fe700 (LWP 7707) exited]\r\nqml: HBD: Heartbeat stopped\r\nDEBUG 2015-10-11T21:24:35.753 DRAW LOITER \r\nDEBUG 2015-10-11T21:24:35.780 DRAW LOITER \r\n INFO 2015-10-11T21:24:40.447 \"/home/andre/apmplanner2/tmp_audio/link_lost_to_system_1.wav\"  file exist, playing this file \r\n[Thread 0x7fffbd7fd700 (LWP 7682) exited]\r\nDEBUG 2015-10-11T21:24:42.580 APM: Text Message rx'd \"Demo Servos!\" \r\n INFO 2015-10-11T21:24:42.581 STATUS TEXT: 4 : \"Demo Servos!\" \r\nqml: HBD: Heartbeat started\r\nDEBUG 2015-10-11T21:24:42.587 UAS: new system_status 2 \r\nDEBUG 2015-10-11T21:24:42.587 UAS: new base mode  17 \r\nDEBUG 2015-10-11T21:24:42.587 MODE: 17 \r\nDEBUG 2015-10-11T21:24:42.588 \"D|STABILIZED\" \r\nDEBUG 2015-10-11T21:24:42.588 UAS: new custom mode  16 \r\nDEBUG 2015-10-11T21:24:42.589 APM: getCustomModeText() \r\nDEBUG 2015-10-11T21:24:42.589 plotTextArrow: 21  to  \"MODE\" \r\nDEBUG 2015-10-11T21:24:42.589 APMToolBar::mode: \"Initializing\" \r\nDEBUG 2015-10-11T21:24:42.590 APM: getCustomModeText() \r\nDEBUG 2015-10-11T21:24:42.590 APM say: \"Mode changed to Initializing for system 1\" \r\n INFO 2015-10-11T21:24:42.591 \"/home/andre/apmplanner2/tmp_audio/mode_changed_to_initializing_for_system_1.wav\"  file exist, playing this file \r\nDEBUG 2015-10-11T21:24:42.592 APM: Text Message rx'd \"Initialising APM...\" \r\n INFO 2015-10-11T21:24:42.592 STATUS TEXT: 4 : \"Initialising APM...\" \r\n INFO 2015-10-11T21:24:42.947 \"/home/andre/apmplanner2/tmp_audio/link_regained_to_system_1_after_12_seconds.wav\"  file not exist, create a new one \r\nVAL: tried to access cart in -1 type val\r\n[Thread 0x7fffa2ffd700 (LWP 7693) exited]\r\n[Thread 0x7fffcf7fe700 (LWP 7679) exited]\r\n[Thread 0x7fffe43707c0 (LWP 7665) exited]\r\n[Inferior 1 (process 7665) exited with code 0377]\r\n```\r\n"}}