Hello,
I have a new error now. I get the following segmentation fault from the lastest build of Ntop. Ntop is a compiled build of ntop-02-05-30.tgz
It looks like Ntop is having segmentation faults at malloc.c. Any assistance would appreciated.
Regards, Patrick
[root@localhost ntopuser]# gdb /usr/local/bin/ntop
GNU gdb Red Hat Linux 7.x (5.0rh-15) (MI_OUT)
Copyright 2001 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"...
(gdb) set args -u root -i eth0 -P /home/ntopuser -K
(gdb) run
Starting program: /usr/local/bin/ntop -u root -i eth0 -P /home/ntopuser -K
[New Thread 1024 (LWP 13543)]
Wait please: ntop is coming up...
30/May/2002 10:20:22 Initializing IP services...
SSL is present but https is disabled: use -W <https port> for enabling it
30/May/2002 10:20:22 Initializing GDBM...
30/May/2002 10:20:22 Initializing network devices...
30/May/2002 10:20:22 ntop v.2.0.99 MT !
(SSL) [i686-pc-linux-gnu] (05/30/02 09:39:29 AM build)
30/May/2002 10:20:22 Listening on [eth0]
30/May/2002 10:20:22 Copyright 1998-2002 by Luca Deri <[EMAIL PROTECTED]>
30/May/2002 10:20:22 Get the freshest ntop from http://www.ntop.org/
30/May/2002 10:20:22 Initializing...
30/May/2002 10:20:22 Truncated network size to 1024 hosts (real netmask 255.255.0.0)
30/May/2002 10:20:22 Loading plugins (if any)...
30/May/2002 10:20:22 Searching plugins in /usr/local/lib/ntop/plugins
30/May/2002 10:20:24 Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri.
30/May/2002 10:20:26 Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea Marangoni.
30/May/2002 10:20:28 Welcome to NetFlow. (C) 2002 by Luca Deri.
30/May/2002 10:20:30 Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri.
30/May/2002 10:20:32 Welcome to PDAPlugin. (C) 2001-2002 by L.Deri and W.Brock
30/May/2002 10:20:35 Welcome !
to sFlowPlugin. (C) 2002 by Luca Deri.
30/May/2002 10:20:35 Resetting traffic statistics...
[New Thread 2049 (LWP 13550)]
[New Thread 1026 (LWP 13551)]
30/May/2002 10:20:36 Started thread (1026) for network packet analyser.
[New Thread 2051 (LWP 13552)]
30/May/2002 10:20:36 Started thread (2051) for idle hosts detection.
[New Thread 3076 (LWP 13553)]
30/May/2002 10:20:36 Started thread (3076) for DNS address resolution.
[New Thread 4101 (LWP 13554)]
30/May/2002 10:20:37 Started thread (4101) for address purge.
30/May/2002 10:20:37 Initializing plugins (if any)...
30/May/2002 10:20:37 NetFlow export disabled
30/May/2002 10:20:37 Waiting for HTTP connections on port 3000...
[New Thread 5126 (LWP 13555)]
30/May/2002 10:20:37 Started thread (5126) for web server.
30/May/2002 10:20:37 Sniffying...
[New Thread 6151 (LWP 13556)]
30/May/2002 10:20:37 Extending hash size [newSize=512][deviceId=0]
30/May/2002 10:20:38 Started th!
read (6151) for network packet sniffing on eth0.
30/May/2002 10:20:58 Extending hash size [newSize=1024][deviceId=0]
30/May/2002 10:21:28 Extending hash size [newSize=2048][deviceId=0]
30/May/2002 10:22:48 Extending hash size [newSize=4096][deviceId=0]
30/May/2002 10:25:48 Extending hash size [newSize=8192][deviceId=0]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2051 (LWP 13552)]
0x4055ee9c in chunk_free (ar_ptr=0x40612620, p=0x93bcc68) at malloc.c:3228
3228 malloc.c: No such file or directory.
in malloc.c
(gdb) list
3223 in malloc.c
(gdb) print
The history is empty.
(gdb) list
3223 in malloc.c
(gdb) thread
[Current thread is 4 (Thread 2051 (LWP 13552))]
(gdb) thread
[Current thread is 4 (Thread 2051 (LWP 13552))]
(gdb) thread 1
[Switching to thread 1 (Thread 1024 (LWP 13543))]#0 0x405989e7 in __libc_pause () from /lib/i686/libc.so.6
(gdb) list
3223 in malloc.c
(gdb) print
The history is empty.
(gdb) thread 2
[Switching to thread 2 (Thread 2049 (LWP 13550))]#0 0x405c39f7 in __poll (fds=0x82a99cc, nfds=1, timeout=2000)
at ../sysdeps/unix/sysv/linu!
x/poll.c:63
63 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
in ../sysdeps/unix/sysv/linux/poll.c
(gdb) list
58 in ../sysdeps/unix/sysv/linux/poll.c
(gdb) list 3
1 in ../sysdeps/unix/sysv/linux/poll.c
(gdb) list
1 in ../sysdeps/unix/sysv/linux/poll.c
(gdb) thread 3
[Switching to thread 3 (Thread 1026 (LWP 13551))]#0 0x4050caa5 in __sigsuspend (set=0x412d263c)
at ../sysdeps/unix/sysv/linux/sigsuspend.c:45
45 ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or directory.
in ../sysdeps/unix/sysv/linux/sigsuspend.c
(gdb) list
40 in ../sysdeps/unix/sysv/linux/sigsuspend.c
(gdb)
40 i!
n ../sysdeps/unix/sysv/linux/sigsuspend.c
(gdb)
40 in ../sysdeps/unix/sysv/linux/sigsuspend.c
(gdb) thread 4
[Switching to thread 4 (Thread 2051 (LWP 13552))]#0 0x4055ee9c in chunk_free (ar_ptr=0x40612620, p=0x93bcc68)
at malloc.c:3228
3228 malloc.c: No such file or directory.
in malloc.c
(gdb) list
3223 in malloc.c
(gdb)
Send and receive Hotmail on your mobile device: Click Here
_______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
