It's really not that hard to run under gdb and see what line failed --
Instructions are at http://snapshot.ntop.org

-----Burton


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Clint
Byrum
Sent: Tuesday, September 17, 2002 4:57 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] ntop 2.1.2 segfaulting on Debian 3.0


I have a few boxes running ntop 2.1.2 on Debian 3.0 ... They all seem to
segfault regularly. I read the FAQ and hopefully I have all of the
information any of you might need to debug this problem. I ran at trace
level 1 for this. I will up it to level 2 and report the next segfault
too, but it uses up quite a lot of disk space to go any higher.
I tried reading hash.c ... but its extremely difficult to know where this
null pointer might be coming from.
:-/

Command Line:/usr/sbin/ntop -d -L -u ntop -w 3000 -p
/etc/ntop/protocol.list -P /var/lib/ntop -S 1 -a /var/lib/ntop/access.log
-i eth0,eth1,ipsec0 -t 1 -O /var/log/ntop/ -E -K
I downloaded the source and Dennis's diff to debianize it from a debian
mirror. I compiled it on a Debian 3.0 box, gcc 2.95.4 20011002 (Debian
prerelease).
Thanks very much for all of your work Burton. I wish I could help you more
with ntop.
Log messages:
Sep 17 13:05:27 plazamon ntop[28449]: Truncated network size to 1024 hosts
(real netmask 255.255.255.0)Sep 17 14:11:42 plazamon ntop[28454]: WARNING:
free of NULL pointer @
hash.c:272Sep 17 14:11:42 plazamon ntop[28454]:    *****ntop error:
Signal(11)
Sep 17 14:11:42 plazamon ntop[28454]:       backtrace is:
Sep 17 14:11:42 plazamon ntop[28454]:            1. /lib/libpthread.so.0
[0x502f54]Sep 17 14:11:42 plazamon ntop[28454]:            2. /lib/libc.so.6
[0x6206b8]
Sep 17 14:11:42 plazamon ntop[28454]:            3.
/lib/libc.so.6(__libc_free+0xa7) [0x665aa3]Sep 17 14:11:42 plazamon
ntop[28454]:            4.
/usr/lib/ntop/libntop-2.1.so.2(ntop_safefree+0x55) [0x2a6709]Sep 17 14:11:42
plazamon ntop[28454]:            5.
/usr/lib/ntop/libntop-2.1.so.2(freeHostInfo+0x4a6) [0x2a1b62]Sep 17 14:11:42
plazamon ntop[28454]:            6.
/usr/lib/ntop/libntop-2.1.so.2(purgeIdleHosts+0x316) [0x2a2236]Sep 17
14:11:42 plazamon ntop[28454]:            7.
/usr/lib/ntop/libntop-2.1.so.2(scanIdleLoop+0x5f) [0x2a85af]Sep 17 14:11:42
plazamon ntop[28454]:            8. /lib/libpthread.so.0
[0x5000ba]Sep 17 14:11:42 plazamon ntop[28454]:            9.
/lib/libc.so.6(__clone+0x3a) [0x6c6d4a]

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

Reply via email to