> today I've fixed a couple of bugs. Please resync ntop and send me a
> report about stability. Please include as much information as possible
> in order to help me debugging the application.
Much closer! It lasted a lot longer this time, but I was still able to
segfault the program after a minute or so.
Again, it was by doing
wget -r 'http://myhost.example.com:3000'
gdb gives me this:
[Switching to Thread 10583]
Program received signal SIGPIPE, Broken pipe.
0x40564c62 in __libc_send () from /lib/libc.so.6
(gdb) bt
#0 0x40564c62 in __libc_send () from /lib/libc.so.6
#1 0x4009c9c1 in send (fd=21, buf=0x40043320, n=82, flags=0)
at wrapsyscall.c:173
#2 0x4001a3f1 in sendStringLen (
theString=0x40039040 "<CENTER><p><H1><FONT FACE=Helvetica>All statistics are
now reseted</FONT></H1><p>\n", len=82) at http.c:269
#3 0x4001a46d in sendString (
theString=0x40039040 "<CENTER><p><H1><FONT FACE=Helvetica>All statistics are
now reseted</FONT></H1><p>\n") at http.c:311
#4 0x4001b821 in returnHTTPPage (pageName=0xbe9ffa35 "resetStats.html",
postLen=-1) at http.c:836
#5 0x4001c4e5 in handleHTTPrequest (from={s_addr = 744621376}) at http.c:1213
#6 0x40034c01 in handleSingleWebConnection (fdmask=0xbe9ffd08)
at webInterface.c:284
#7 0x400349b1 in handleWebConnections (notUsed=0x0) at webInterface.c:85
#8 0x40098b85 in pthread_start_thread (arg=0xbe9ffe40) at manager.c:241
And here's the system info:
# uname -sr ; cat /etc/redhat-release
Linux 2.2.16-3
Red Hat Linux release 6.2 (Zoot)
# ldd `which ntop`
libntopreport-1.3.so.2 => /usr/local/lib/libntopreport-1.3.so.2 (0x40015000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40048000)
libm.so.6 => /lib/libm.so.6 (0x40076000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40093000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400a7000)
libnsl.so.1 => /lib/libnsl.so.1 (0x400b6000)
libdl.so.2 => /lib/libdl.so.2 (0x400cc000)
libntop-1.3.so.2 => /usr/local/lib/libntop-1.3.so.2 (0x400d0000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x404ac000)
libc.so.6 => /lib/libc.so.6 (0x404b2000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
This is with the latest ntop CVS tree and libpcap-0.5.2.
I and many others *do* appreciate the work that you're doing on all of
this, Luca (and you too, Rocco and Stefano!)
Chris