Kismet Wireless

Kismet Forums

 

Posted by:fisted
Subject:kismet_server - segfault in libnl prior to main()
Date:08:32:55 21/11/2012

(and the same from gdb's perspective:)

INFO: Kismet starting to gather packets

Program received signal SIGSEGV, Segmentation fault.
nl_cache_refill (sk=0x7e5830, cache=0x804670) at cache.c:939
939 } while (grp && grp->ag_group &&
(gdb) bt full
#0 nl_cache_refill (sk=0x7e5830, cache=0x804670) at cache.c:939
grp = 0x8
err = 0
#1 0x00007ffff6e1965b in nl_cache_alloc_and_fill (ops=<optimized out>, sock=0x7e5830, result=0x7fffffffc5c8) at cache.c:242
cache = 0x804670
err = <optimized out>
#2 0x000000000049487e in mac80211_connect (interface=<optimized out>, handle=0x7daab8, cache=0x7f5d58, family=0x7f5d60, errstr=0x7fffffffc610 "x\226\217\366\377\177") at nl80211_control.cc:101
nl_handle = 0x7e5830
nl_cache = <optimized out>
nl80211 = <optimized out>
__FUNCTION__ = "mac80211_connect"
#3 0x00000000004ca554 in PacketSource_Wext::EnableMonitor (this=0x7f5c30) at packetsource_wext.cc:460
errstr = "x\226\217\366\377\177\000\000\210\226\217\366\377\177\000\000@\306\377\377\377\177\000\000>\000\000\000\000\000\000\000\a\000\000\000\377\177\000\000\001\000\000\000\000\000\000\000\220", '\000' <repeats 39 times>, "\a\000\000\000\061\000\000\000[\000\000\000n\000\000\000w\000\000\000|", '\000' <repeats 11 times>, "%\000\000\000\000\000\000\000 \226\217\366\377\177\000\000>\000\000\000\000\000\000\000\006\000\000\000\000\000\000\000%\000\000\000\000\000\000\000\300 \200\000\000\000\000\000\006\f]\366\377\177\000\000\360\313\377\377\377\177\000\000%\000\000\000\000\000\000\000>\000\000\000\000\000\000\000\240\310\377\377\377\177\000\000\006\000\000\000\000\000\000\000}\230R\367\377\177\000\000\214\307\377\377\377\177\000\000%\000\000\000\000\000\000\000\036\000\000\000\000\000\000\000=\301P\367\377\177\000\000\000\000\000\000\000\000\000\000\376\303P\367\377\177\000\000\001\000\000\000\000\000\000\000"...
ret = <optimized out>
#4 0x00000000004b1e1c in Packetsourcetracker::StartSource (this=0x7e1c60, in_source_id=1) at packetsourcetracker.cc:1869
euid = 0
pstsource = 0x7f58c0
failure = 0
#5 0x00000000004b1d2f in Packetsourcetracker::StartSource (this=0x7e1c60, in_source_id=0) at packetsourcetracker.cc:1799
x = <optimized out>
euid = <optimized out>
pstsource = 0x0
failure = <optimized out>
#6 0x000000000057c3f1 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at kismet_server.cc:1284
startroot = <optimized out>
rset = {fds_bits = {0, 5852350, 0 <repeats 14 times>}}
wset = {fds_bits = {0, 0, 0, 0, 0, 140737488345696, 8589934593, 256, 140737329995552, 4, 140737488345264, 140737488344912, 0, 140737488344320, 0, 0}}
nlwc = -2
hdwc = <optimized out>
configfilename = 0x7dadc0 "/usr/local/etc/kismet.conf"
option_idx = 0
startup_ipc_id = -1
npwc = 8236144
local_silent = 0
max_fd = <optimized out>
tm = {tv_sec = 0, tv_usec = 0}
dwc = -1
main_longopt = {{name = 0x59017b "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x59d7e8 "config-file", has_arg = 1, flag = 0x0, val = 102}, {name = 0x59d7f4 "no-line-wrap", has_arg = 0, flag = 0x0, val = 127}, {name = 0x59d801 "silent", has_arg = 0,
flag = 0x0, val = 115}, {name = 0x59d808 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x59d80d "daemonize", has_arg = 0, flag = 0x0, val = 128}, {name = 0x59d817 "no-plugins", has_arg = 0, flag = 0x0, val = 129}, {name = 0x59d822 "no-root",
has_arg = 0, flag = 0x0, val = 130}, {name = 0x59d82a "homedir", has_arg = 1, flag = 0x0, val = 131}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
smartmsgcli = 0x7dac70
errstr = "Reading from config file /usr/local/etc/kismet.conf", '\000' <repeats 793 times>, "\017\000\000\000\377\377\377\377\377\377\377\377", '\000' <repeats 16 times>, "@\331\377\377\377\177\000\000\060\331\377\377\377\177\000\000\377\377\377\377\000\000\000\000\002\000\000\000\000\000\000\000\002", '\000' <repeats 15 times>"\375, \224Z\366\377\177\000\000\060\060", '\000' <repeats 93 times>
conf = 0x7db350
data_dump = 300
globalreg = 0x7da010
nrwc = 130
dtun = <optimized out>
(gdb)


Reply to this message