I grabbed the download from September 7.  If I reset the stats, and then
look at Data Rcvd->IP, it seg faults.

07/Sep/2001:16:03:47 Purging Idle Hosts... (ignoreIdleTime=0, actDevice=0)
07/Sep/2001:16:03:47 Purging completed (0 sec/0 hosts deleted).
07/Sep/2001:16:03:52 Resetting traffic statistics...
07/Sep/2001:16:03:56 Extending hash: [old=32, new=48]
07/Sep/2001:16:03:56 Extending hash: [old=48, new=72]
07/Sep/2001:16:03:56 Extending hash: [old=72, new=108]
07/Sep/2001:16:03:56 Extending hash: [old=108, new=162]
07/Sep/2001:16:03:57 Extending hash: [old=162, new=242]
07/Sep/2001:16:03:58 Extending hash: [old=242, new=362]
07/Sep/2001:16:04:01 Extending hash: [old=362, new=542]
07/Sep/2001:16:04:05 Extending hash: [old=542, new=812]
Segmentation fault

gdb /usr/local/bin/ntop core
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `ntop -i eth0 -r 60 -P /tmp -m
192.168.0.0/16,192.160.64.0/24,206.158.196.0/24,2'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libntopreport-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libntopreport-2.0.so.0
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libpng.so.2...done.
Loaded symbols for /usr/lib/libpng.so.2
Reading symbols from /usr/lib/libssl.so.0...done.
Loaded symbols for /usr/lib/libssl.so.0
Reading symbols from /usr/lib/libcrypto.so.0...done.
Loaded symbols for /usr/lib/libcrypto.so.0
Reading symbols from /lib/libpthread.so.0...done.
rw_common (): write: Success.

warning: unable to set global thread event mask
[New Thread 1024 (LWP 12367)]
Error while reading shared library symbols:
attach_thread: No such process.
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/local/lib/libntop-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libntop-2.0.so.0
Reading symbols from /usr/lib/libgdbm.so.2...done.
Loaded symbols for /usr/lib/libgdbm.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local/lib/ntop/plugins/rmonPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/rmonPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/lastSeenPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/lastSeenPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/nfsPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/nfsPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/wapPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/wapPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/arpPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/arpPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/icmpPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/icmpPlugin.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0  0x4021482d in resizeHostHash (deviceToExtend=0, hashAction=1) at
hash.c:549
549 device[deviceToExtend].hash_hostTraffic[j]->portsUsage[i]->clien
tUsesLastPeer =
(gdb) bt
#0  0x4021482d in resizeHostHash (deviceToExtend=0, hashAction=1) at
hash.c:549
#1  0x40222f4c in processPacket (_deviceId=0x0, h=0xbe9ffa0c, p=0x8117388
"")
    at pbuf.c:4347
#2  0x806f77a in pcap_read_packet ()
#3  0x4021977a in pcapDispatch (_i=0x0) at ntop.c:130
#4  0x401c687d in pthread_start_thread (arg=0xbe9ffc00) at manager.c:274

----
Russell Mosemann, Ph.D. * Computing Services * Concordia University, Nebraska
"So, do you take the bus to work?" - one byte overheard talking to another

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to