Reading symbols from /var/lib/pgsql/ntopng/ntopng...done.
(gdb) r -s -i eth3 -c none -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 -s -i eth3 -c none -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]
06/Jun/2013 10:39:36 [Ntop.cpp:34] Welcome to ntopng i686 v.0.1 (r6354) - (C)
1998-13 ntop.org
06/Jun/2013 10:39:36 [Redis.cpp:39] Succesfully connected to Redis 32 bit
v.2.6.13
06/Jun/2013 10:39:36 [PF_RINGInterface.cpp:41] Reading packets from interface
eth3...
[New Thread 0xb77e6b70 (LWP 9489)]
[New Thread 0xb6de5b70 (LWP 9490)]
06/Jun/2013 10:39:36 [HTTPserver.cpp:229] HTTP server listening on port 3000
[./httpdocs][./scripts/lua]
06/Jun/2013 10:39:36 [main.cpp:225] Using RRD version 1.4.7
06/Jun/2013 10:39:36 [PeriodicActivities.cpp:51] Started periodic activities
loop...
[New Thread 0xb63e4b70 (LWP 9491)]
[New Thread 0xb59e3b70 (LWP 9492)]
[New Thread 0xb4dffb70 (LWP 9493)]
[New Thread 0xb43feb70 (LWP 9494)]
[New Thread 0xb39fdb70 (LWP 9495)]
[New Thread 0xb2ffcb70 (LWP 9496)]
06/Jun/2013 10:39:36 [NetworkInterface.cpp:394] Started packet polling...
06/Jun/2013 10:39:38 [NetworkInterface.cpp:700] WARNING: findHostByMac() NOT
IMPLEMENTED
...
06/Jun/2013 11:05:16 [NetworkInterface.cpp:387] Purged 34/2339 idle hosts
06/Jun/2013 11:05:21 [NetworkInterface.cpp:383] Purged 409/4725 idle flows
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb59e3b70 (LWP 9492)]
0x0805d943 in NdpiStats::lua (this=0x0, iface=0x0, vm=0xb4f531c0) at
NdpiStats.cpp:57
57 if(packets[i].sent || packets[i].rcvd) {
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 0x0805d943 in NdpiStats::lua (this=0x0, iface=0x0, vm=0xb4f531c0) at
NdpiStats.cpp:57
#1 0x08057a71 in Host::lua (this=0xb0fb1a08, vm=0xb4f531c0, host_details=true,
returnHost=true) at Host.cpp:163
#2 0x0805f0bb in NetworkInterface::getHostInfo (this=0x8198230, vm=0xb4f531c0,
host_ip=0xb4f5e138 "10.254.3.99",
vlan_id=0) at NetworkInterface.cpp:538
#3 0x0805ad56 in ntop_get_interface_host_info (vm=0xb4f531c0) at Lua.cpp:399
#4 0x080cd8cf in lj_BC_FUNCC ()
#5 0x080b36b8 in lua_pcall (L=0xb4f531c0, nargs=0, nresults=-1, errfunc=0) at
lj_api.c:1052
#6 0x0805c652 in Lua::run_script (this=0xb0b01668, script_path=0xb59e324c
"./scripts/callbacks/minute.lua")
at Lua.cpp:954
#7 0x0806212e in PeriodicActivities::runScript (this=0x8196248, path=0xb59e324c
"./scripts/callbacks/minute.lua")
at PeriodicActivities.cpp:69
#8 0x08062299 in PeriodicActivities::minuteActivitiesLoop (this=0x8196248) at
PeriodicActivities.cpp:98
#9 0x08061f7a in minuteStartLoop (ptr=0x8196248) 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 1
#1 0x08057a71 in Host::lua (this=0xb0fb1a08, vm=0xb4f531c0, host_details=true,
returnHost=true) at Host.cpp:163
163 ndpiStats->lua(iface, vm);
(gdb) p *this
$1 = {<GenericHashEntry> = {_vptr.GenericHashEntry = 0x10, hash_next = 0x12b9,
first_seen = -1342434568,
last_seen = -1326103080, iface = 0x0}, mac_address =
"\000\000\000\000\000", asn = 0, symbolic_name = 0x0,
country = 0x0, city = 0x0, asname = 0x0, category =
"\001\000\000\000\001\000\000", num_uses = 0, vlan_id = 0,
latitude = 0, longitude = 0, ip = 0x0, ndpiStats = 0x0, sent = {numPkts = 0,
numBytes = 0}, rcvd = {numPkts = 0,
numBytes = 0}, tcp_sent = {numPkts = 0, numBytes = 0}, tcp_rcvd = {numPkts
= 0, numBytes = 0}, udp_sent = {
numPkts = 0, numBytes = 0}, udp_rcvd = {numPkts = 0, numBytes = 0},
icmp_sent = {numPkts = 0, numBytes = 0},
icmp_rcvd = {numPkts = 0, numBytes = 0}, other_ip_sent = {numPkts = 0,
numBytes = 0}, other_ip_rcvd = {numPkts = 0,
numBytes = 0}, name_resolved = false, m = 0x0, localHost = false}
(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