Francis,
many thanks for your fixes: they are in CVS now.

Thanks again, Luca

Francis Pintos wrote:
> 
> Another crash from 2 July ntop runnig on Redhat Linux 7.1. Here is the stack
> trace...
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 7176 (LWP 29300)]
> 0x40038fa8 in printDomainStats (domainName=0x0, sortedColumn=0,
> revertOrder=0)
>     at report.c:3124
> 3124    report.c: No such file or directory.
>         in report.c
> (gdb) bt
> #0  0x40038fa8 in printDomainStats (domainName=0x0, sortedColumn=0,
>     revertOrder=0) at report.c:3124
> #1  0x4002c4e0 in returnHTTPPage (
>     pageName=0x45f7471d "domainTrafficStats.html", postLen=-1) at
> http.c:1176
> #2  0x4002d799 in handleHTTPrequest (from={s_addr = 16777343}) at
> http.c:1654
> #3  0x4004808d in handleSingleWebConnection (fdmask=0x45f74a2c)
>     at webInterface.c:1027
> #4  0x40047f63 in handleWebConnections (notUsed=0x0) at webInterface.c:959
> #5  0x401a4bfd in pthread_start_thread (arg=0x45f74c00) at manager.c:262
> #6  0x401a4cdf in pthread_start_thread_event (arg=0x45f74c00) at
> manager.c:285
> (gdb) print el->fullDomainName
> $1 = 0xabbd4be "rim.ad.jp"
> (gdb) print stats[keyValue]->domainHost->fullDomainName
> Cannot access memory at address 0x1
> (gdb) print keyValue
> $2 = 4098
> (gdb) print stats[keyValue]
> $3 = (DomainStats *) 0x1
> 
> (gdb) print (*(ntopInterface_t *)&device)->actualHashSize
> $4 = 4106
> 
> I think we have fallen off the end of stats[HASHNAMESIZE] which is 4096.
> 
> Francis Pintos

-- 
Luca Deri                     NETikos S.p.A.
Via Matteucci 34/B            56124 Pisa, Italy.
Ph. +39/050/968.639           Fax. +39/050/968.626
Personal: [EMAIL PROTECTED]   Business: [EMAIL PROTECTED]
WWW: http://www.lucaderi.org/ ICQ: 68183632
One's destination is never a place but rather a new way of
looking at things - Henry Miller
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to