LOL - I like random "messing around" - but just like with code, it usually causes more trouble than it's worth! ;-)
Glad it seems to work for now. Keep us posted if you notice any odd behavior as a result. Gary -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brock Kuhse Sent: Friday, April 25, 2008 9:40 AM To: [email protected] Subject: Re: [Ntop] Segfault on Fedora 8 > > Other than that - not sure if I can help much. Maybe check out line > > 6551 in util.c (and adjacent lines) and see what that block of code > > is trying to do. Well, after some random "messing around" with the code, I just commented out the two lines comprising the else{} block in util.c that includes line 6551: } else { /* Insert in chain */ /*newPort->next = prev->next; prev->next = newPort;*/ } The periodic segfault problem seems to have gone away. I've read through the comments around this section (particularly the comment block about 20 lines up), but still really have no real idea of what it does. If anyone out there has a better understanding of the code, I'd certainly like to know the consequences of this. I'm sure removing this chunk of code will break something, but will I miss it? :) - Brock _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop <font size="1"> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font> _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
