Hi Luca, I was sitting on the host screen for this unit 10.254.100.170 When I got the segment violation, it is like there is some conflict between updating the GUI and the backend threads.
P101005:~/ntopng $ sudo gdb ./ntopng GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /var/lib/pgsql/ntopng/ntopng...done. (gdb) r -l -s -i eth3 -i eth5 -d/var/tmp -w 3000 -n 0 -m 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 Starting program: /var/lib/pgsql/ntopng/ntopng -l -s -i eth3 -i eth5 -d/var/tmp -w 3000 -n 0 -m 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 [Thread debugging using libthread_db enabled] 29/Aug/2013 13:13:39 [Redis.cpp:54] Succesfully connected to Redis 32 bit v.2.6.14 29/Aug/2013 13:13:39 [Ntop.cpp:422] Setting local networks to 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 29/Aug/2013 13:13:39 [Prefs.cpp:527] WARNING: Config file /var/tmp/ntopng-users.conf not found (it will be created) 29/Aug/2013 13:13:40 [PF_RINGInterface.cpp:42] Reading packets from PF_RING v.5.6.1 interface eth3... 29/Aug/2013 13:13:40 [Ntop.cpp:471] Registered interface eth3 [id: 0] mmap() failed: try with a smaller snaplen 29/Aug/2013 13:13:40 [NetworkInterface.cpp:135] Interface eth5 shutdown 29/Aug/2013 13:13:40 [PcapInterface.cpp:53] Reading packets from interface eth5... 29/Aug/2013 13:13:40 [Ntop.cpp:471] Registered interface eth5 [id: 1] 29/Aug/2013 13:13:40 [main.cpp:161] PID stored in file /var/tmp/ntopng.pid [New Thread 0xb5d4ab70 (LWP 11125)] [New Thread 0xb5149b70 (LWP 11126)] [New Thread 0xb4748b70 (LWP 11127)] [New Thread 0xb3bffb70 (LWP 11128)] [New Thread 0xb31feb70 (LWP 11129)] [New Thread 0xb25ffb70 (LWP 11130)] 29/Aug/2013 13:13:40 [HTTPserver.cpp:308] HTTP server listening on port 3000 [/var/lib/pgsql/ntopng/httpdocs][/var/lib/pgsql/ntopng/scripts] 29/Aug/2013 13:13:40 [main.cpp:193] Using RRD version 1.4.7 29/Aug/2013 13:13:40 [main.cpp:202] Working directory: /var/tmp 29/Aug/2013 13:13:40 [main.cpp:204] Scripts/HTML pages directory: /var/lib/pgsql/ntopng 29/Aug/2013 13:13:40 [Ntop.cpp:149] Welcome to ntopng i686 v.1.0.1 ($Revision: 6697 $) - (C) 1998-13 ntop.org 29/Aug/2013 13:13:40 [PeriodicActivities.cpp:51] Started periodic activities loop... [New Thread 0xb17ffb70 (LWP 11131)] [New Thread 0xb0dfeb70 (LWP 11132)] [New Thread 0xb01ffb70 (LWP 11133)] [New Thread 0xaf7feb70 (LWP 11134)] [New Thread 0xaedfdb70 (LWP 11135)] [New Thread 0xae3fcb70 (LWP 11136)] 29/Aug/2013 13:13:40 [NetworkInterface.cpp:507] Started packet polling on interface eth3... [New Thread 0xad9fbb70 (LWP 11137)] 29/Aug/2013 13:13:40 [NetworkInterface.cpp:507] Started packet polling on interface eth5... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb3bffb70 (LWP 11128)] lh_table_free (t=0x0) at linkhash.c:114 114 for(c = t->head; c != NULL; c = c->next) { Missing separate debuginfos, use: debuginfo-install GeoIP-1.4.8-1.1.el6.art.i686 libpcap-1.0.0-6.20091201git117cb5.el6.i686 libxml2-2.7.6-12.el6_4.1.i686 zlib-1.2.3-27.el6.i686 (gdb) bt #0 lh_table_free (t=0x0) at linkhash.c:114 #1 0x08140595 in json_object_object_delete (jso=0xb1a0ebb0) at json_object.c:356 #2 0x0813f3e4 in json_object_put (jso=0xb1a0ebb0) at json_object.c:161 #3 0x08142bb4 in lh_table_free (t=0xb1a14c08) at linkhash.c:116 #4 0x08140595 in json_object_object_delete (jso=0xb1a10a20) at json_object.c:356 #5 0x0813f3e4 in json_object_put (jso=0xb1a10a20) at json_object.c:161 #6 0x0805c76f in Host::serialize (this=0xac8775f8) at Host.cpp:470 #7 0x0805b82f in Host::lua (this=0xac8775f8, vm=0xa7ce01c0, host_details=true, verbose=true, returnHost=true) at Host.cpp:252 #8 0x08071fe2 in NetworkInterface::getHostInfo (this=0x81767c8, vm=0xa7ce01c0, host_ip=0xa7ce85d0 "10.254.100.170", vlan_id=0) at NetworkInterface.cpp:703 #9 0x0806b3d9 in ntop_get_interface_host_info (vm=0xa7ce01c0) at Lua.cpp:459 #10 0x080d07bf in lj_BC_FUNCC () #11 0x080bf0fd in lua_pcall () #12 0xa7ce01c0 in ?? () #13 0x08069576 in handle_lua_request (conn=0xb1a00468) at HTTPserver.cpp:254 #14 0x08065e43 in handle_request (conn=0xb1a00468) at ./third-party/mongoose/mongoose.c:4277 #15 0x08067cf5 in process_new_connection (conn=0xb1a00468) at ./third-party/mongoose/mongoose.c:4890 #16 0x080681c6 in worker_thread (thread_func_param=0x8d34978) at ./third-party/mongoose/mongoose.c:4984 #17 0x007cda09 in start_thread (arg=0xb3bffb70) at pthread_create.c:301 #18 0x006df43e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 (gdb) -- 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
