Kismet Wireless

Kismet Forums

 

Posted by:Flatfrog
Subject:munmap_chunk(): invalid pointer (btscan)
Date:13:10:36 17/01/2014

Hi all,

My kismet_server(v2013_03_R1b) process crashes when using the btscan plugin. If the plugin is disabled everything is running fine. I'm running kismet_server without any arguments and only added ncsource=hci0,btscan to the kismet.conf file. My distro is Arch Linux btw. Any pointers? ;-)



INFO: Detected new bluetooth device "xxxxxxxxxxx", MAC 00:1E:54:E4:8B:
EA class 0x38010
*** Error in `kismet_server': munmap_chunk(): invalid pointer: 0x00007f7a14000e70 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x72d7f)[0x7f7a1b509d7f]
/usr/lib/libc.so.6(+0x7854e)[0x7f7a1b50f54e]
/usr/lib/libbluetooth.so.3(hci_inquiry+0xfb)[0x7f7a1a1c7ffb]
/usr/lib/kismet/btscan.so(_Z18linuxbt_cap_threadPv+0xb4)[0x7f7a1a3e3754]
/usr/lib/libpthread.so.0(+0x80a2)[0x7f7a1b2820a2]
/usr/lib/libc.so.6(clone+0x6d)[0x7f7a1b57c32d]
======= Memory map: ========
00400000-0055b000 r-xp 00000000 08:14 1050049 /usr/bin/kismet_server
0075a000-0075b000 r--p 0015a000 08:14 1050049 /usr/bin/kismet_server
0075b000-0075d000 rw-p 0015b000 08:14 1050049 /usr/bin/kismet_server
0075d000-00762000 rw-p 00000000 00:00 0
00f2f000-00f50000 rw-p 00000000 00:00 0 [heap]
00f50000-00f69000 rw-p 00000000 00:00 0 [heap]
7f7a14000000-7f7a14021000 rw-p 00000000 00:00 0
7f7a14021000-7f7a18000000 ---p 00000000 00:00 0
7f7a195aa000-7f7a195ab000 ---p 00000000 00:00 0
7f7a195ab000-7f7a19dab000 rw-p 00000000 00:00 0 [stack:1379]
7f7a19dab000-7f7a19daf000 r-xp 00000000 08:14 266797 /usr/lib/kismet/kismet-syslog.so
7f7a19daf000-7f7a19faf000 ---p 00004000 08:14 266797 /usr/lib/kismet/kismet-syslog.so
7f7a19faf000-7f7a19fb0000 r--p 00004000 08:14 266797 /usr/lib/kismet/kismet-syslog.so
7f7a19fb0000-7f7a19fb1000 rw-p 00005000 08:14 266797 /usr/lib/kismet/kismet-syslog.so
7f7a19fb1000-7f7a19fbd000 r-xp 00000000 08:14 266796 /usr/lib/kismet/spectool_net.so
7f7a19fbd000-7f7a1a1bc000 ---p 0000c000 08:14 266796 /usr/lib/kismet/spectool_net.so
7f7a1a1bc000-7f7a1a1bd000 r--p 0000b000 08:14 266796 /usr/lib/kismet/spectool_net.so
7f7a1a1bd000-7f7a1a1be000 rw-p 0000c000 08:14 266796 /usr/lib/kismet/spectool_net.so
7f7a1a1be000-7f7a1a1d9000 r-xp 00000000 08:14 133993 /usr/lib/libbluetooth.so.3.17.4
7f7a1a1d9000-7f7a1a3d8000 ---p 0001b000 08:14 133993 /usr/lib/libbluetooth.so.3.17.4
7f7a1a3d8000-7f7a1a3d9000 r--p 0001a000 08:14 133993 /usr/lib/libbluetooth.so.3.17.4
7f7a1a3d9000-7f7a1a3dc000 rw-p 0001b000 08:14 133993 /usr/lib/libbluetooth.so.3.17.4
7f7a1a3dc000-7f7a1a3ee000 r-xp 00000000 08:14 262190 /usr/lib/kismet/btscan.so
7f7a1a3ee000-7f7a1a5ee000 ---p 00012000 08:14 262190 /usr/lib/kismet/btscan.so
7f7a1a5ee000-7f7a1a5ef000 r--p 00012000 08:14 262190 /usr/lib/kismet/btscan.so
7f7a1a5ef000-7f7a1a5f0000 rw-p 00013000 08:14 262190 /usr/lib/kismet/btscan.so
7f7a1a5f0000-7f7a1a5f2000 r-xp 00000000 08:14 262181 /usr/lib/kismet/alertsyslog.so
7f7a1a5f2000-7f7a1a7f2000 ---p 00002000 08:14 262181 /usr/lib/kismet/alertsyslog.so
7f7a1a7f2000-7f7a1a7f3000 r--p 00002000 08:14 262181 /usr/lib/kismet/alertsyslog.so
7f7a1a7f3000-7f7a1a7f4000 rw-p 00003000 08:14 262181 /usr/lib/kismet/alertsyslog.so
7f7a1a7f4000-7f7a1a7ff000 r-xp 00000000 08:14 131113 /usr/lib/libnss_files-2.18.so
7f7a1a7ff000-7f7a1a9ff000 ---p 0000b000 08:14 131113 /usr/lib/libnss_files-2.18.so
7f7a1a9ff000-7f7a1aa00000 r--p 0000b000 08:14 131113 /usr/lib/libnss_files-2.18.so
7f7a1aa00000-7f7a1aa01000 rw-p 0000c000 08:14 131113 /usr/lib/libnss_files-2.18.so
7f7a1aa01000-7f7a1aa08000 r-xp 00000000 08:14 131231 /usr/lib/librt-2.18.so
7f7a1aa08000-7f7a1ac07000 ---p 00007000 08:14 131231 /usr/lib/librt-2.18.so
7f7a1ac07000-7f7a1ac08000 r--p 00006000 08:14 131231 /usr/lib/librt-2.18.so
7f7a1ac08000-7f7a1ac09000 rw-p 00007000 08:14 131231 /usr/lib/librt-2.18.so
7f7a1ac09000-7f7a1ac19000 r-xp 00000000 08:14 131792 /usr/lib/libudev.so.1.4.0
7f7a1ac19000-7f7a1ae19000 ---p 00010000 08:14 131792 /usr/lib/libudev.so.1.4.0
7f7a1ae19000-7f7a1ae1a000 r--p 00010000 08:14 131792 /usr/lib/libudev.so.1.4.0
7f7a1ae1a000-7f7a1ae1b000 rw-p 00011000 08:14 131792 /usr/lib/libudev.so.1.4.0
7f7a1ae1b000-7f7a1ae61000 r-xp 00000000 08:14 143929 /usr/lib/libdbus-1.so.3.7.6
7f7a1ae61000-7f7a1b061000 ---p 00046000 08:14 143929 /usr/lib/libdbus-1.so.3.7.6
7f7a1b061000-7f7a1b062000 r--p 00046000 08:14 143929 /usr/lib/libdbus-1.so.3.7.6
7f7a1b062000-7f7a1b063000 rw-p 00047000 08:14 143929 /usr/lib/libdbus-1.so.3.7.6
7f7a1b063000-7f7a1b079000 r-xp 00000000 08:14 136348 /usr/lib/libusb-1.0.so.0.1.0
7f7a1b079000-7f7a1b278000 ---p 00016000 08:14 136348 /usr/lib/libusb-1.0.so.0.1.0
7f7a1b278000-7f7a1b279000 r--p 00015000 08:14 136348 /usr/lib/libusb-1.0.so.0.1.0
7f7a1b279000-7f7a1b27a000 rw-p 00016000 08:14 136348 /usr/lib/libusb-1.0.so.0.1.0
7f7a1b27a000-7f7a1b292000 r-xp 00000000 08:14 131130 /usr/lib/libpthread-2.18.so
7f7a1b292000-7f7a1b491000 ---p 00018000 08:14 131130 /usr/lib/libpthread-2.18.so
7f7a1b491000-7f7a1b492000 r--p 00017000 08:14 131130 /usr/lib/libpthread-2.18.so
7f7a1b492000-7f7a1b493000 rw-p 00018000 08:14 131130 /usr/lib/libpthread-2.18.so
7f7a1b493000-7f7a1b497000 rw-p 00000000 00:00 0
7f7a1b497000-7f7a1b637000 r-xp 00000000 08:14 131198 /usr/lib/libc-2.18.so
7f7a1b637000-7f7a1b837000 ---p 001a0000 08:14 131198 /usr/lib/libc-2.18.so
7f7a1b837000-7f7a1b83b000 r--p 001a0000 08:14 131198 /usr/lib/libc-2.18.so
7f7a1b83b000-7f7a1b83d000 rw-p 001a4000 08:14 131198 /usr/lib/libc-2.18.so
7f7a1b83d000-7f7a1b841000 rw-p 00000000 00:00 0
7f7a1b841000-7f7a1b856000 r-xp 00000000 08:14 131515 /usr/lib/libgcc_s.so.1
7f7a1b856000-7f7a1ba56000 ---p 00015000 08:14 131515 /usr/lib/libgcc_s.so.1
7f7a1ba56000-7f7a1ba57000 rw-p 00015000 08:14 131515 /usr/lib/libgcc_s.so.1
7f7a1ba57000-7f7a1bb58000 r-xp 00000000 08:14 131197 /usr/lib/libm-2.18.so
7f7a1bb58000-7f7a1bd58000 ---p 00101000 08:14 131197 /usr/lib/libm-2.18.so
7f7a1bd58000-7f7a1bd59000 r--p 00101000 08:14 131197 /usr/lib/libm-2.18.so
7f7a1bd59000-7f7a1bd5a000 rw-p 00102000 08:14 131197 /usr/lib/libm-2.18.so
7f7a1bd5a000-7f7a1bd76000 r-xp 00000000 08:14 140807 /usr/lib/libnl-3.so.200.18.0
7f7a1bd76000-7f7a1bf75000 ---p 0001c000 08:14 140807 /usr/lib/libnl-3.so.200.18.0
7f7a1bf75000-7f7a1bf77000 r--p 0001b000 08:14 140807 /usr/lib/libnl-3.so.200.18.0
7f7a1bf77000-7f7a1bf78000 rw-p 0001d000 08:14 140807 /usr/lib/libnl-3.so.200.18.0
7f7a1bf78000-7f7a1bf7d000 r-xp 00000000 08:14 140808 /usr/lib/libnl-genl-3.so.200.18.0
7f7a1bf7d000-7f7a1c17c000 ---p 00005000 08:14 140808 /usr/lib/libnl-genl-3.so.200.18.0
7f7a1c17c000-7f7a1c17d000 r--p 00004000 08:14 140808 /usr/lib/libnl-genl-3.so.200.18.0
7f7a1c17d000-7f7a1c17e000 rw-p 00005000 08:14 140808 /usr/lib/libnl-genl-3.so.200.18.0
7f7a1c17e000-7f7a1c1be000 r-xp 00000000 08:14 140819 /usr/lib/libpcap.so.1.5.1
7f7a1c1be000-7f7a1c3bd000 ---p 00040000 08:14 140819 /usr/lib/libpcap.so.1.5.1
7f7a1c3bd000-7f7a1c3bf000 r--p 0003f000 08:14 140819 /usr/lib/libpcap.so.1.5.1
7f7a1c3bf000-7f7a1c3c0000 rw-p 00041000 08:14 140819 /usr/lib/libpcap.so.1.5.1
7f7a1c3c0000-7f7a1c3c1000 rw-p 00000000 00:00 0
7f7a1c3c1000-7f7a1c4a7000 r-xp 00000000 08:14 135226 /usr/lib/libstdc++.so.6.0.19
7f7a1c4a7000-7f7a1c6a6000 ---p 000e6000 08:14 135226 /usr/lib/libstdc++.so.6.0.19
7f7a1c6a6000-7f7a1c6ae000 r--p 000e5000 08:14 135226 /usr/lib/libstdc++.so.6.0.19
7f7a1c6ae000-7f7a1c6b0000 rw-p 000ed000 08:14 135226 /usr/lib/libstdc++.so.6.0.19
7f7a1c6b0000-7f7a1c6c5000 rw-p 00000000 00:00 0
7f7a1c6c5000-7f7a1c72b000 r-xp 00000000 08:14 131661 /usr/lib/libpcre.so.1.2.2
7f7a1c72b000-7f7a1c92a000 ---p 00066000 08:14 131661 /usr/lib/libpcre.so.1.2.2
7f7a1c92a000-7f7a1c92b000 r--p 00065000 08:14 131661 /usr/lib/libpcre.so.1.2.2
7f7a1c92b000-7f7a1c92c000 rw-p 00066000 08:14 131661 /usr/lib/libpcre.so.1.2.2
7f7a1c92c000-7f7a1c92f000 r-xp 00000000 08:14 131232 /usr/lib/libdl-2.18.so
7f7a1c92f000-7f7a1cb2e000 ---p 00003000 08:14 131232 /usr/lib/libdl-2.18.so
7f7a1cb2e000-7f7a1cb2f000 r--p 00002000 08:14 131232 /usr/lib/libdl-2.18.so
7f7a1cb2f000-7f7a1cb30000 rw-p 00003000 08:14 131232 /usr/lib/libdl-2.18.so
7f7a1cb30000-7f7a1cb50000 r-xp 00000000 08:14 131172 /usr/lib/ld-2.18.so
7f7a1cd1f000-7f7a1cd20000 rw-p 00000000 00:00 0
7f7a1cd20000-7f7a1cd22000 rw-p 00000000 00:00 0
7f7a1cd22000-7f7a1cd23000 rw-p 00000000 00:00 0
7f7a1cd23000-7f7a1cd24000 rw-p 00000000 00:00 0
7f7a1cd24000-7f7a1cd25000 rw-p 00000000 00:00 0
7f7a1cd25000-7f7a1cd26000 rw-p 00000000 00:00 0
7f7a1cd26000-7f7a1cd27000 rw-p 00000000 00:00 0
7f7a1cd27000-7f7a1cd28000 rw-p 00000000 00:00 0
7f7a1cd28000-7f7a1cd29000 rw-p 00000000 00:00 0
7f7a1cd4b000-7f7a1cd4c000 rw-p 00000000 00:00 0
7f7a1cd4c000-7f7a1cd4d000 rw-p 00000000 00:00 0
7f7a1cd4d000-7f7a1cd4e000 rw-p 00000000 00:00 0
7f7a1cd4e000-7f7a1cd4f000 rw-p 00000000 00:00 0
7f7a1cd4f000-7f7a1cd50000 r--p 0001f000 08:14 131172 /usr/lib/ld-2.18.so
7f7a1cd50000-7f7a1cd51000 rw-p 00020000 08:14 131172 /usr/lib/ld-2.18.so
7f7a1cd51000-7f7a1cd52000 rw-p 00000000 00:00 0
7fffd6c30000-7fffd6c51000 rw-p 00000000 00:00 0 [stack]
7fffd6cb4000-7fffd6cb6000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]


Reply to this message