Luca,

I am not sure what quite has happened. But the segfaults have returned.

IE:

Dec  3 13:13:43 probe ntop[882]:   **ERROR** Buffer too short @ 
rrdPlugin.c:1752 (increase to at least 32)
Dec  3 19:59:23 probe ntop[882]:   **ERROR** Bad magic number 
(expected=1968/real=1290) [deviceId=0] lookupHost()[pbuf.c:1422]
Dec  3 23:28:28 probe ntop[882]:   **ERROR** Bad magic number 
(expected=1968/real=1290) [deviceId=0] lookupHost()[pbuf.c:1421]
Dec  4 01:43:54 probe kernel: [134966.213250] ntop[956]: segfault at 8 ip 
00007f7620d5c251 sp 00007f7602dc6510 error 4 in 
libntop-4.1.2.so[7f7620d36000+74000]


The issue here is that they are not as easily reproducible.   The issue seems 
to have started after you fixed the last memory leak.   I did make a mod to 
prng_Destroy function in prng.c as it was no using your safefree and I set the 
pointer to null to see if maybe this was causing the issue.   It seems to have 
decreased the segfaults, but unfortunately, not eliminated them.   Any ideas 
where else to look based on the segfault issued above?

--Brian
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to