> >From your reports I see that the situation is different in other
> environments. I want to help you. What I miss is:
> 2. a way to reproduce the problem on my net (e.g. Capture some traffic)
Run ntop with no commandline arguments. From another system on the same
network, try to view pages in rapid succession. In 10 out of 10 tries
I was able to crash ntop by running wget against the Web server within
5 seconds of starting ntop:
wget -r 'http://myhost.example.com:3000'
Presumably the increased traffic is too much for ntop to monitor and it dies.
> 1. a very precise/detailed bur report (e.g. a gdb dump)
While running under gdb:
[Switching to Thread 18489]
Program received signal SIGSEGV, Segmentation fault.
__strtol_internal (nptr=0x1 <Address 0x1 out of bounds>, endptr=0x0, base=10,
group=0) at strtol.c:287
287 strtol.c: No such file or directory.
(gdb) bt
#0 __strtol_internal (nptr=0x1 <Address 0x1 out of bounds>, endptr=0x0,
base=10, group=0) at strtol.c:287
#1 0x4001eb37 in returnHTTPPage (
pageName=0xbefffa35 "sortDataReceivedProtos.html", postLen=-1)
at /usr/include/stdlib.h:251
#2 0x40020500 in handleHTTPrequest () at http.c:1065
#3 0x400359c6 in handleSingleWebConnection (fdmask=0xbefffd08)
at webInterface.c:248
#4 0x4003570a in handleWebConnections (notUsed=0x0) at webInterface.c:79
#5 0x40076b85 in pthread_start_thread (arg=0xbefffe40) at manager.c:241
Versions that have failed:
> ntop v.1.3.1 MT for i686-pc-linux-gnu
> ntop v.1.3.2 MT for i686-pc-linux-gnu
> uname -sr ; cat /etc/redhat-release
Linux 2.2.16-3
Red Hat Linux release 6.2 (Zoot)
I have a core dump and ntop binary that I'm willing to share if you send
me private email.
Chris