Steve thanks for the report. I have just committed a fix. Please give it a try.
Thanks again for your help testing ntop, Luca On Jun 19, 2013, at 1:31 PM, Steve Clark <[email protected]> wrote: > Hi Luca, > > This is a crash from r6448 if you are interested. I am going to sync to the > latest > and start testing again. > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0xb25feb70 (LWP 13930)] > 0x080564f8 in Host::get_ip (this=0x2569) at Host.h:57 > 57 inline IpAddress* get_ip() { return(ip); > } > Missing separate debuginfos, use: debuginfo-install > glibc-2.12-1.47.el6_2.12.i686 libgcc-4.4.7-3.el6.i686 > libpcap-1.0.0-6.20091201git117cb5.el6.i686 libstdc++-4.4.7-3.el6.i686 > libxml2-2.7.6-12.el6_4.1.i686 zlib-1.2.3-27.el6.i686 > (gdb) bt > #0 0x080564f8 in Host::get_ip (this=0x2569) at Host.h:57 > #1 0x0805882e in HostHash::get (this=0x8199e28, vlanId=0, key=0xb30083d8) at > HostHash.cpp:41 > #2 0x0806af9e in NetworkInterface::getHostInfo (this=0x819a340, > vm=0xb63c51c0, host_ip=0xb6315d70 "10.254.34.194", > vlan_id=0) at NetworkInterface.cpp:540 > #3 0x080661c1 in ntop_get_interface_host_info (vm=0xb63c51c0) at Lua.cpp:411 > #4 0x080d330f in lj_BC_FUNCC () > #5 0x080b90f8 in lua_pcall (L=0xb63c51c0, nargs=0, nresults=-1, errfunc=0) > at lj_api.c:1052 > #6 0x08068410 in Lua::run_script (this=0xb3005080, script_path=0xb25fe24c > "./scripts/callbacks/minute.lua") > at Lua.cpp:1137 > #7 0x0806e36e in PeriodicActivities::runScript (this=0x8198250, > path=0xb25fe24c "./scripts/callbacks/minute.lua") > at PeriodicActivities.cpp:69 > #8 0x0806e4d9 in PeriodicActivities::minuteActivitiesLoop (this=0x8198250) > at PeriodicActivities.cpp:98 > #9 0x0806e1fa in minuteStartLoop (ptr=0x8198250) 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 0x080564f8 in Host::get_ip (this=0x2569) at Host.h:57 > 57 inline IpAddress* get_ip() { return(ip); > } > (gdb) info locals > No locals. > (gdb) f 1 > #1 0x0805882e in HostHash::get (this=0x8199e28, vlanId=0, key=0xb30083d8) at > HostHash.cpp:41 > 41 if((vlanId == 0 /* any vlan */ || head->get_vlan_id() == vlanId) > (gdb) info locals > head = 0x2569 > hash = 7690 > (gdb) f 2 > #2 0x0806af9e in NetworkInterface::getHostInfo (this=0x819a340, > vm=0xb63c51c0, host_ip=0xb6315d70 "10.254.34.194", > vlan_id=0) at NetworkInterface.cpp:540 > 540 h = hosts_hash->get(vlan_id, ip); > (gdb) info locals > ip = 0xb30083d8 > a4 = {s_addr = 3257073162} > a6 = {__in6_u = {__u6_addr8 = "\200R<\266\300\021>\266X\340_\262\300Q<\266", > __u6_addr16 = {21120, 46652, 4544, 46654, > 57432, 45663, 20928, 46652}, __u6_addr32 = {3057406592, 3057521088, > 2992627800, 3057406400}}} > h = 0x0 > -- > 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
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
