hi

I have just compiled unbder linux redhat 6.2 the CVS version of dec
5 of ntop
and when i run intop i got a segmentation fault

I have attached a gdb output

Here is the message

intop@eth1> [Switching to Thread 27954]

Program received signal SIGSEGV, Segmentation fault.
0x40029610 in freeHostInfo (theDevice=0, hostIdx=3) at hash.c:675
675                 if((el->portsUsage[j]->clientUsesLastPeer == hostIdx)

here is a backtrace
#0  0x40029610 in freeHostInfo (theDevice=0, hostIdx=3) at hash.c:675
#1  0x40029a21 in purgeIdleHosts (ignoreIdleTime=1) at hash.c:784
#2  0x40027c3f in resizeHostHash (deviceToExtend=0, multiplier=1.5)
    at hash.c:162
#3  0x4003535a in processPacket (_deviceId=0x0, h=0xbedffc8c, p=0x81073e2
"")
    at pbuf.c:3324
#4  0x40412cae in pcap_read () from /usr/lib/libpcap.so.0
#5  0x4041323f in pcap_dispatch () from /usr/lib/libpcap.so.0
#6  0x4002c8b4 in pcapDispatch (_i=0x0) at ntop.c:100
#7  0x4042bb85 in pthread_start_thread (arg=0xbedffe40) at manager.c:241

i m running libpcap 0.5.2

Can someone help me?

-- 
Thanks in advance

Eric Doutreleau
I.N.T                   | Tel   : +33 (0) 160764687
9 rue Charles Fourier   | Fax   : +33 (0) 160764321
91011 Evry   France     | email : [EMAIL PROTECTED]

Reply via email to