Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb25feb70 (LWP 1425)]
0x08058996 in Host::get_vlan_id (this=0x4921) at Host.h:59
59 inline u_int16_t get_vlan_id() { return(vlan_id);
}
(gdb) bt
#0 0x08058996 in Host::get_vlan_id (this=0x4921) at Host.h:59
#1 0x08058816 in HostHash::get (this=0x8198e28, vlanId=0, key=0xb3004d08) at
HostHash.cpp:41
#2 0x0806a4d6 in NetworkInterface::getHostInfo (this=0x8199340, vm=0xb339f1c0,
host_ip=0xb6323980 "10.254.42.133",
vlan_id=0) at NetworkInterface.cpp:540
#3 0x08065a3d in ntop_get_interface_host_info (vm=0xb339f1c0) at Lua.cpp:411
#4 0x080d263f in lj_BC_FUNCC ()
#5 0x080b8428 in lua_pcall (L=0xb339f1c0, nargs=0, nresults=-1, errfunc=0) at
lj_api.c:1052
#6 0x08067978 in Lua::run_script (this=0xb30083e0, script_path=0xb25fe24c
"./scripts/callbacks/minute.lua")
at Lua.cpp:1089
#7 0x0806d6b2 in PeriodicActivities::runScript (this=0x8197250, path=0xb25fe24c
"./scripts/callbacks/minute.lua")
at PeriodicActivities.cpp:69
#8 0x0806d81d in PeriodicActivities::minuteActivitiesLoop (this=0x8197250) at
PeriodicActivities.cpp:98
#9 0x0806d53e in minuteStartLoop (ptr=0x8197250) at PeriodicActivities.cpp:44
#10 0x007cda09 in start_thread () from /lib/libpthread.so.0
#11 0x006df43e in clone () from /lib/libc.so.6
(gdb) f 0
#0 0x08058996 in Host::get_vlan_id (this=0x4921) at Host.h:59
59 inline u_int16_t get_vlan_id() { return(vlan_id);
}
(gdb) info locals
No locals.
(gdb) f 2
#2 0x0806a4d6 in NetworkInterface::getHostInfo (this=0x8199340, vm=0xb339f1c0,
host_ip=0xb6323980 "10.254.42.133",
vlan_id=0) at NetworkInterface.cpp:540
540 h = hosts_hash->get(vlan_id, ip);
(gdb) info locals
ip = 0xb3004d08
a4 = {s_addr = 2234187274}
a6 = {__in6_u = {__u6_addr8 =
"\200\362\071\263\070\260;\263X\340_\262\300\361\071\263", __u6_addr16 =
{62080, 45881,
45112, 45883, 57432, 45663, 61888, 45881}, __u6_addr32 = {3006919296,
3007033400, 2992627800, 3006919104}}}
h = 0x0
(gdb) f 3
#3 0x08065a3d in ntop_get_interface_host_info (vm=0xb339f1c0) at Lua.cpp:411
411 if(!ntop_interface->getHostInfo(vm, host_ip, vlan_id))
(gdb) info locals
ntop_interface = 0x8199340
host_ip = 0xb6323980 "10.254.42.133"
vlan_id = 0
__FUNCTION__ = "ntop_get_interface_host_info"
--
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]
http://www.netwolves.com
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev