pixhawk/qgroundcontrol — Issue #106: Crashes when getting UDP packets..
Author: AndKe
Created: 2012-02-29 22:07:44+00:00
State: open

I let Qgroundstation 0.9 receive MAVlink 0.9 data from ArduPlane (current version 2.28)
then it crashes within a sec or two.

andre@loke:~/Downloads/qgroundcontrol-build-desktop/release$ ./qgroundcontrol
No default custom widgets for system "MAV_TYPE_FIXED_WING" autopilot "MAV_AUTOPILOT_ARDUPILOTMEGA" found
Tried with path: "/home/andre/Downloads/qgroundcontrol-build-desktop/release/files/mav_type_fixed_wing/mav_autopilot_ardupilotmega/widgets/"
Unable to decode message from system 1 with message id:152
1 Input devices found:
- btnx keyboard
Unable to decode message from system 1 with message id:150

Opened btnx keyboard
*** glibc detected *** ./qgroundcontrol: free(): invalid pointer: 0xa4201e40 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6ebc2)[0xb491dbc2]
/lib/i386-linux-gnu/libc.so.6(+0x6f862)[0xb491e862]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0xb492194d]
/usr/lib/nvidia-current-updates/tls/libnvidia-tls.so.280.13(+0x18df)[0xb40ae8df]
======= Memory map: ========
08048000-084a6000 r-xp 00000000 08:01 24409000 /home/andre/Downloads/qgroundcontrol-build-desktop/release/qgroundcontrol
084a6000-084a7000 r--p 0045d000 08:01 24409000 /home/andre/Downloads/qgroundcontrol-build-desktop/release/qgroundcontrol
084a7000-084aa000 rw-p 0045e000 08:01 24409000 /home/andre/Downloads/qgroundcontrol-build-desktop/release/qgroundcontrol
084aa000-084d1000 rw-p 00000000 00:00 0
092d7000-0a5bb000 rw-p 00000000 00:00 0 [heap]
9c68d000-9c68e000 ---p 00000000 00:00 0
9c68e000-9ce8e000 rw-p 00000000 00:00 0
9ce8e000-9ce8f000 ---p 00000000 00:00 0
9ce8f000-9d68f000 rw-p 00000000 00:00 0
9d68f000-a1690000 rw-s 00000000 00:12 2618373 /run/shm/pulse-shm-705094829
a1690000-a1691000 ---p 00000000 00:00 0
a1691000-a1e91000 rw-p 00000000 00:00 0
a1e91000-a1ea1000 r-xp 00000000 08:01 78775 /usr/lib/libva.so.1.0.12
a1ea1000-a1ea2000 r--p 0000f000 08:01 78775 /usr/lib/libva.so.1.0.12
a1ea2000-a1ea3000 rw-p 00010000 08:01 78775 /usr/lib/libva.so.1.0.12
a1ea3000-a1ebb000 rw-p 00000000 00:00 0
a1ebb000-a1f3f000 r-xp 00000000 08:01 82919 /usr/lib/libdirac_encoder.so.0.1.0
a1f3f000-a1f41000 r--p 00083000 08:01 82919 /usr/lib/libdirac_encoder.so.0.1.0
a1f41000-a1f42000 rw-p 00085000 08:01 82919 /usr/lib/libdirac_encoder.so.0.1.0
a1f42000-a1f43000 rw-p 00000000 00:00 0
a1f43000-a1f92000 r-xp 00000000 08:01 6410 /usr/lib/i386-linux-gnu/libmp3lame.so.0.0.0
a1f92000-a1f93000 r--p 0004f000 08:01 6410 /usr/lib/i386-linux-gnu/libmp3lame.so.0.0.0
a1f93000-a1f94000 rw-p 00050000 08:01 6410 /usr/lib/i386-linux-gnu/libmp3lame.so.0.0.0
a1f94000-a1fc5000 rw-p 00000000 00:00 0
a1fc5000-a1fe2000 r-xp 00000000 08:01 85921 /usr/lib/libopenjpeg-2.1.3.0.so
a1fe2000-a1fe3000 r--p 0001c000 08:01 85921 /usr/lib/libopenjpeg-2.1.3.0.so
a1fe3000-a1fe4000 rw-p 0001d000 08:01 85921 /usr/lib/libopenjpeg-2.1.3.0.so
a1fe4000-a2090000 r-xp 00000000 08:01 78773 /usr/lib/libschroedinger-1.0.so.0.10.0
a2090000-a2091000 r--p 000ac000 08:01 78773 /usr/lib/libschroedinger-1.0.so.0.10.0
a2091000-a2092000 rw-p 000ad000 08:01 78773 /usr/lib/libschroedinger-1.0.so.0.10.0
a2092000-a20b1000 r-xp 00000000 08:01 84477 /usr/lib/i386-linux-gnu/sse2/libspeex.so.1.5.0
a20b1000-a20b2000 r--p 0001e000 08:01 84477 /usr/lib/i386-linux-gnu/sse2/libspeex.so.1.5.0
a20b2000-a20b3000 rw-p 0001f000 08:01 84477 /usr/lib/i386-linux-gnu/sse2/libspeex.so.1.5.0
a20b3000-a21d3000 r-xp 00000000 08:01 12180 /usr/lib/i386-linux-gnu/i686/sse2/libx264.so.120
a21d3000-a21d4000 r--p 0011f000 08:01 12180 /usr/lib/i386-linux-gnu/i686/sse2/libx264.so.120
a21d4000-a21d5000 rw-p 00120000 08:01 12180 /usr/lib/i386-linux-gnu/i686/sse2/libx264.so.120
a21d5000-a2250000 rw-p 00000000 00:00 0
a2250000-a2319000 r-xp 00000000 08:01 84018 /usr/lib/i386-linux-gnu/libxvidcore.so.4.3
a2319000-a231a000 r--p 000c9000 08:01 84018 /usr/lib/i386-linux-gnu/libxvidcore.so.4.3
a231a000-a2324000 rw-p 000ca000 08:01 84018 /usr/lib/i386-linux-gnu/libxvidcore.so.4.3
a2324000-a238d000 rw-p 00000000 00:00 0
a238d000-a2a6b000 r-xp 00000000 08:01 12845376 /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53.34.0
a2a6b000-a2a6c000 r--p 006dd000 08:01 12845376 /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53.34.0
a2a6c000-a2a7b000 rw-p 006de000 08:01 12845376 /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53.34.0
a2a7b000-a2fe9000 rw-p 00000000 00:00 0
a2fe9000-a30f5000 r-xp 00000000 08:01 12845682 /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53.20.0
a30f5000-a30f6000 r--p 0010b000 08:01 12845682 /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53.20.0
a30f6000-a30fe000 rw-p 0010c000 08:01 12845682 /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53.20.0
a30fe000-a30ff000 ---p 00000000 00:00 0
a30ff000-a38ff000 rw-p 00000000 00:00 0
a38ff000-a3900000 ---p 00000000 00:00 0
a3900000-a4100000 rw-p 00000000 00:00 0
a4100000-a4200000 rw-s 23c22000 00:05 7887 /dev/nvidia0
a4200000-a42a2000 rw-p 00000000 00:00 0
a42a2000-a4300000 ---p 00000000 00:00 0
a4300000-a4400000 rw-s 1fd0a000 00:05 7887 /dev/nvidia0
a4400000-a4466000 rw-p 00000000 00:00 0
a4466000-a4500000 ---p 00000000 00:00 0
a4501000-a4502000 ---p 00000000 00:00 0
a4502000-a4d02000 rw-p 00000000 00:00 0
a4d02000-a4d03000 ---p 00000000 00:00 0
a4d03000-a5503000 rw-p 00000000 00:00 0
a5503000-a5504000 ---p 00000000 00:00 0
a5504000-a5d04000 rw-p 00000000 00:00 0
a5d04000-a5d05000 ---p 00000000 00:00 0
a5d05000-a6505000 rw-p 00000000 00:00 0
a6514000-a6556000 r-xp 00000000 08:01 81951 /usr/lib/libtheoraenc.so.1.1.2
a6556000-a6557000 r--p 00041000 08:01 81951 /usr/lib/libtheoraenc.so.1.1.2
a6557000-a6558000 rw-p 00042000 08:01 81951 /usr/lib/libtheoraenc.so.1.1.2
a6558000-a65f4000 r-xp 00000000 08:01 7543 /usr/lib/i386-linux-gnu/libvpx.so.1.0.0
a65f4000-a65f5000 r--p 0009c000 08:01 7543 /usr/lib/i386-linux-gnu/libvpx.so.1.0.0
a65f5000-a65f6000 rw-p 0009d000 08:01 7543 /usr/lib/i386-linux-gnu/libvpx.so.1.0.0
a65f6000-a6600000 rw-p 00000000 00:00 0
a6600000-a66ff000 rw-p 00000000 00:00 0
a66ff000-a6700000 ---p 00000000 00:00 0
a6705000-a6706000 ---p 00000000 00:00 0
a6706000-a6f06000 rw-p 00000000 00:00 0
a6f06000-a6f07000 ---p 00000000 00:00 0
a6f07000-a7707000 rw-p 00000000 00:00 0
a7707000-a7708000 ---p 00000000 00:00 0
a7708000-a7f08000 rw-p 00000000 00:00 0
a7f08000-a7f09000 ---p 00000000 00:00 0
a7f09000-a8709000 rw-p 00000000 00:00 0
a8709000-a8722000 r-xp 00000000 08:01 83464 /usr/lib/gstreamer-0.10/libgstaudioconvert.so
a8722000-a8723000 r--p 00018000 08:01 83464 /usr/lib/gstreamer-0.10/libgstaudioconvert.so
a8723000-a8724000 rw-p 00019000 08:01 83464 /usr/lib/gstreamer-0.10/libgstaudioconvert.so
a8724000-ac725000 rw-s 00000000 00:12 2617510 /run/shm/pulse-shm-727820086
ac725000-ac72b000 rw-p 00000000 00:00 0
ac72e000-ac73a000 r-xp 00000000 08:01 78771 /usr/lib/libgsm.so.1.0.12
ac73a000-ac73b000 r--p 0000b000 08:01 78771 /usr/lib/libgsm.so.1.0.12
ac73b000-ac73c000 rw-p 0000c000 08:01 78771 /usr/lib/libgsm.so.1.0.12
ac73c000-ac754000 r-xp 00000000 08:01 81949 /usr/lib/libtheoradec.so.1.1.4
ac754000-ac755000 r--p 00017000 08:01 81949 /usr/lib/libtheoradec.so.1.1.4
ac755000-ac756000 rw-p 00018000 08:01 81949 /usr/lib/libtheoradec.so.1.1.4
ac756000-ac774000 r-xp 00000000 08:01 85923 /usr/lib/libvo-aacenc.so.0.0.2
ac774000-ac775000 r--p 0001d000 08:01 85923 /usr/lib/libvo-aacenc.so.0.0.2
ac775000-ac776000 rw-p 0001e000 08:01 85923 /usr/lib/libvo-aacenc.so.0.0.2
ac776000-ac78c000 r-xp 00000000 08:01 85925 /usr/lib/libvo-amrwbenc.so.0.0.2
ac78c000-ac78d000 r--p 00016000 08:01 85925 /usr/lib/libvo-amrwbenc.so.0.0.2
ac78d000-ac793000 rw-p 00017000 08:01 85925 /usr/lib/libvo-amrwbenc.so.0.0.2
ac793000-ac7a2000 r-xp 00000000 08:01 18874473 /lib/libbz2.so.1.0.4
ac7a2000-ac7a3000 r--p 0000e000 08:01 18874473 /lib/libbz2.so.1.0.4
ac7a3000-ac7a4000 rw-p 0000f000 08:01 18874473 /lib/libbz2.so.1.0.4
ac7a4000-ac7c1000 r-xp 00000000 08:01 12845430 /usr/lib/i386-linux-gnu/i686/cmov/libavutil.so.51.21.0
ac7c1000-ac7c2000 r--p 0001c000 08:01 12845430 /usr/lib/i386-linux-gnu/i686/cmov/libavutil.so.51.21.0
ac7c2000-ac7c3000 rw-p 0001d000 08:01 12845430 /usr/lib/i386-linux-gnu/i686/cmov/libavutil.so.51.21.0
ac7c3000-ac7c6000 rw-p 00000000 00:00 0
ac7c6000-ac7fe000 r-xp 00000000 08:01 81413 /usr/lib/gstreamer-0.10/libgstffmpeg.so
ac7fe000-ac7ff000 r--p 00037000 08:01 81413 /usr/lib/gstreamer-0.10/libgstffmpeg.so
ac7ff000-ac800000 rw-p 00038000 08:01 81413 /usr/lib/gstreamer-0.10/libgstffmpeg.so
ac800000-ac879000 rw-p 00000000 00:00 0
ac879000-ac900000 ---p 00000000 00:00 0
ac906000-ac91c000 r-xp 00000000 08:01 81608 /usr/lib/libgstrtp-0.10.so.0.24.0
ac91c000-ac91d000 r--p 00016000 08:01 81608 /usr/lib/libgstrtp-0.10.so.0.24.0
ac91d000-ac91e000 rw-p 00017000 08:01 81608 /usr/lib/libgstrtp-0.10.so.0.24.0
ac91e000-ac940000 r-xp 00000000 08:01 78613 /usr/lib/gstreamer-0.10/libgstbluetooth.so
ac940000-ac941000 r--p 00021000 08:01 78613 /usr/lib/gstreamer-0.10/libgstbluetooth.so
ac941000-ac942000 rw-p 00022000 08:01 78613 /usr/lib/gstreamer-0.10/libgstbluetooth.so
ac942000-ac96a000 r-xp 00000000 08:01 81614 /usr/lib/libgsttag-0.10.so.0.24.0
ac96a000-ac96b000 ---p 00028000 08:01 81614 /usr/lib/libgsttag-0.10.so.0.24.0
ac96b000-ac96c000 r--p 00028000 08:01 81614 /usr/lib/libgsttag-0.10.so.0.24.0
ac96c000-ac96d000 rw-p 00029000 08:01 81614 /usr/lib/libgsttag-0.10.so.0.24.0
ac96d000-ac9a9000 rw-p 00000000 00:00 0
ac9b2000-ac9bf000 r-xp 00000000 08:01 81606 /usr/lib/libgstriff-0.10.so.0.24.0
ac9bf000-ac9c0000 r--p 0000c000 08:01 81606 /usr/lib/libgstriff-0.10.so.0.24.0
ac9c0000-ac9c1000 rw-p 0000d000 08:01 81606 /usr/lib/libgstriff-0.10.so.0.24.0
ac9c5000-ac9d4000 r-xp 00000000 08:01 83542 /usr/lib/gstreamer-0.10/libgstsubparse.so
ac9d4000-ac9d5000 r--p 0000e000 08:01 83542 /usr/lib/gstreamer-0.10/libgstsubparse.so
ac9d5000-ac9d6000 rw-p 0000f000 08:01 83542 /usr/lib/gstreamer-0.10/libgstsubparse.so
ac9d6000-ac9e3000 r-xp 00000000 08:01 83560 /usr/lib/gstreamer-0.10/libgstwavparse.so
ac9e3000-ac9e4000 r--p 0000c000 08:01 83560 /usr/lib/gstreamer-0.10/libgstwavparse.so
ac9e4000-ac9e5000 rw-p 0000d000 08:01 83560 /usr/lib/gstreamer-0.10/libgstwavparse.so
ac9e5000-aca65000 rw-s 0e099000 00:05 7887 /dev/nvidia0
aca65000-acae6000 rw-p 00000000 00:00 0
acae6000-acb3e000 r--p 00000000 08:01 141699 /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-BI.ttf
acb3e000-acb9d000 r--p 00000000 08:01 141704 /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-RI.ttf
acb9d000-acb9e000 ---p 00000000 00:00 0
acb9e000-ad39e000 rw-p 00000000 00:00 0
ad39e000-ad39f000 ---p 00000000 00:00 0
ad39f000-adb9f000 rw-p 00000000 00:00 0
adb9f000-adbdc000 r-xp 00000000 08:01 83525 /usr/lib/gstreamer-0.10/libgstplaybin.so
adbdc000-adbdd000 r--p 0003c000 08:01 83525 /usr/lib/gstreamer-0.10/libgstplaybin.so
adbdd000-adbde000 rw-p 0003d000 08:01 83525 /usr/lib/gstreamer-0.10/libgstplaybin.so
adbde000-adbf8000 r-xp 00000000 08:01 83485 /usr/lib/gstreamer-0.10/libgstdecodebin2.so
adbf8000-adbf9000 r--p 00019000 08:01 83485 /usr/lib/gstreamer-0.10/libgstdecodebin2.so
adbf9000-adbfa000 rw-p 0001a000 08:01 83485 /usr/lib/gstreamer-0.10/libgstdecodebin2.so
adbfa000-adc00000 r-xp 00000000 08:01 81824 /usr/lib/liborc-test-0.4.so.0.14.0
adc00000-adc01000 r--p 00005000 08:01 81824 /usr/lib/liborc-test-0.4.so.0.14.0
adc01000-adc02000 rw-p 00006000 08:01 81824 /usr/lib/liborc-test-0.4.so.0.14.0
adc0a000-adc15000 r-xp 00000000 08:01 266574 /usr/lib/i386-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
adc15000-adc16000 r--p 0000a000 08:01 266574 /usr/lib/i386-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
adc16000-adc17000 rw-p 0000b000 08:01 266574 /usr/lib/i386-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
adc17000-adc26000 r-xp 00000000 08:01 83468 /usr/lib/gstreamer-0.10/libgstaudioresample.so
adc26000-adc27000 r--p 0000e000 08:01 83468 /usr/lib/gstreamer-0.10/libgstaudioresample.so
adc27000-adc29000 rw-p 0000f000 08:01 83468 /usr/lib/gstreamer-0.10/libgstaudioresample.so
adc29000-adc6e000 r-xp 00000000 08:01 83480 /usr/lib/gstreamer-0.10/libgstcoreelements.so
adc6e000-adc6f000 r--p 00044000 08:01 83480 /usr/lib/gstreamer-0.10/libgstcoreelements.so
adc6f000-adc70000 rw-p 00045000 08:01 83480 /usr/lib/gstreamer-0.10/libgstcoreelements.so
adc70000-adc79000 r-xp 00000000 08:01 83556 /usr/lib/gstreamer-0.10/libgstvolume.so
adc79000-adc7a000 r--p 00008000 08:01 83556 /usr/lib/gstreamer-0.10/libgstvolume.so
adc7a000-adc7b000 rw-p 00009000 08:01 83556 /usr/lib/gstreamer-0.10/libgstvolume.so
adc7b000-adc8b000 rw-s 00000000 08:01 19273328 /tmp/orcexec.lipOww (deleted)
adc8b000-add13000 r-xp 00000000 08:01 81822 /usr/lib/liborc-0.4.so.0.14.0
add13000-add14000 r--p 00087000 08:01 81822 /usr/lib/liborc-0.4.so.0.14.0
add14000-add17000 rw-p 00088000 08:01 81822 /usr/lib/liborc-0.4.so.0.14.0
add17000-add18000 rw-p 00000000 00:00 0
add18000-add19000 ---p 00000000 00:00 0
add19000-ae519000 rw-p 00000000 00:00 0
ae519000-ae53c000 r-xp 00000000 08:01 81576 /usr/lib/libgstaudio-0.10.so.0.24.0
ae53c000-ae53d000 ---p 00023000 08:01 81576 /usr/lib/libgstaudio-0.10.so.0.24.0
ae53d000-ae53e000 r--p 00023000 08:01 81576 /usr/lib/libgstaudio-0.10.so.0.24.0
ae53e000-ae53f000 rw-p 00024000 08:01 81576 /usr/lib/libgstaudio-0.10.so.0.24.0
ae53f000-ae557000 r-xp 00000000 08:01 83527 /usr/lib/gstreamer-0.10/libgstpulse.so
ae557000-ae558000 r--p 00017000 08:01 83527 /usr/lib/gstreamer-0.10/libgstpulse.so
ae558000-ae559000 rw-p 00018000 08:01 83527 /usr/lib/gstreamer-0.10/libgstpulse.so
ae559000-ae590000 r-xp 00000000 08:01 83855 /usr/lib/i386-linux-gnu/libjpeg.so.8.3.0
ae590000-ae591000 r--p 00036000 08:01 83855 /usr/lib/i386-linux-gnu/libjpeg.so.8.3.0
ae591000-ae592000 rw-p 00037000 08:01 83855 /usr/lib/i386-linux-gnu/libjpeg.so.8.3.0
ae592000-ae5b2000 r-xp 00000000 08:01 80842 /usr/lib/i386-linux-gnu/libv4lconvert.so.0
ae5b2000-ae5b6000 r--p 0001f000 08:01 80842 /usr/lib/i386-linux-gnu/libv4lconvert.so.0
ae5b6000-ae5b7000 rw-p 00023000 08:01 80842 /usr/lib/i386-linux-gnu/libv4lconvert.so.0
ae5b7000-ae609000 rw-p 00000000 00:00 0
ae609000-ae612000 r-xp 00000000 08:01 2388 /usr/lib/i386-linux-gnu/libgudev-1.0.so.0.1.0
ae612000-ae613000 r--p 00008000 08:01 2388 /usr/lib/i386-linux-gnu/libgudev-1.0.so.0.1.0
ae613000-ae614000 rw-p 00009000 08:01 2388 /usr/lib/i386-linux-gnu/libgudev-1.0.so.0.1.0
ae614000-ae61b000 r-xp 00000000 08:01 80841 /usr/lib/i386-linux-gnu/libv4l2.so.0
ae61b000-ae61c000 r--p 00006000 08:01 80841 /usr/lib/i386-linux-gnu/libv4l2.so.0
ae61c000-ae620000 rw-p 00007000 08:01 80841 /usr/lib/i386-linux-gnu/libv4l2.so.0
ae620000-ae624000 r-xp 00000000 08:01 83726 /usr/lib/i386-linux-gnu/libXv.so.1.0.0Aborted
andre@loke:~/Downloads/qgroundcontrol-build-desktop/release$