As u see it can't pass ressurectHostTraffic(), now going to see what is going there....
u still have no idea !? what is going there...
==============code - hash.c - getHostInfo() ==============================
traceEvent(TRACE_INFO, "getHostInfo : somewhere.....");
if(!hostFound) {
/* New host entry */
int len, currentIdx;
traceEvent(TRACE_INFO, "getHostInfo : somewhere else.....");
if(myGlobals.usePersistentStorage) {
if((hostIpAddress == NULL) || (isLocalAddress(hostIpAddress))) {
traceEvent(TRACE_INFO, "getHostInfo : if.....");
el = resurrectHostTrafficInstance(etheraddr_string(ether_addr));
traceEvent(TRACE_INFO, "getHostInfo : after if.....");
}
else {
traceEvent(TRACE_INFO, "getHostInfo : else.....");
el = resurrectHostTrafficInstance(_intoa(*hostIpAddress, buf, sizeof(buf)));
}
} else
el = NULL
=============trace=============================
30/Sep/2002 15:07:47 dissectFlow(3 flows)
30/Sep/2002 15:07:47 1) 213.16.56.5:0 <-> 213.16.56.4:771 pkt=1/len=224 sAS=0/dAS=0
flags=[ACK ] (proto=1)
30/Sep/2002 15:07:47 a=87560405
30/Sep/2002 15:07:47 going to get dstHostIdx .....
30/Sep/2002 15:07:47 getHostInfo : start.....
30/Sep/2002 15:07:47 getHostInfo : somewhere.....
30/Sep/2002 15:07:47 getHostInfo : somewhere else.....
30/Sep/2002 15:07:47 getHostInfo : if.....
30/Sep/2002 15:07:47 ntop caught signal 11
30/Sep/2002 15:07:47
*****ntop error: Signal(11)
30/Sep/2002 15:07:47
backtrace is:
30/Sep/2002 15:07:47 1. /lib/libpthread.so.0 [0x4036c5bb]
30/Sep/2002 15:07:47 2. /lib/libc.so.6 [0x403cb478]
30/Sep/2002 15:07:47 3.
/arh/compile/ntop-current/ntop/.libs/libntop-2.1.so.51(getHostInfo+0x474) [0x400f3654]
30/Sep/2002 15:07:47 4. ./plugins/netflowPlugin.so [0x4032a92b]
30/Sep/2002 15:07:47 5. ./plugins/netflowPlugin.so [0x4032b91f]
30/Sep/2002 15:07:47 6. /lib/libpthread.so.0 [0x403690ce]
30/Sep/2002 15:07:47 7. /lib/libc.so.6(__clone+0x3a) [0x4048c73a]
30/Sep/2002 15:07:47 Cleaning up...
30/Sep/2002 15:07:47 Waiting until t
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop