gdb changes the native handling of signals and other POSIX threading calls. Similarly, tools like valgrind replace malloc() with their own. This makes debugging subtle problems in these areas very, very difficult.
All of the places we use 'AVER' are either protected by safe_snprintf, or are just argv[argc++]= calls. Figure out what html is generating the page and check the source. That will give you the page name, look that up in globals-defines.h to get the CONST_ value. Grep for the CONST_ value and you'll find out which routine is create it - which tells you where to add some traceEvent() calls so you can see what's being fed into rrd. But we should move this to ntop-dev. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, September 09, 2005 10:21 AM To: [email protected] Subject: RE: [Ntop] rrd error in CVS version As it happens, when I tried this the program quit crashing. I also can't get it to crash when I run it inside gdb. I did figure out, though, that the error message is separate from the crash because it gets repeated a lot. I just got the latest verion of ntop from CVS and I'll keep playing with it. "Burton Strauss" <[EMAIL PROTECTED] rt.com> To Sent by: <[email protected]> [EMAIL PROTECTED] cc i.it Subject RE: [Ntop] rrd error in CVS version 09/06/2005 04:11 PM Please respond to [email protected] Build it w/ RRD_DEBUG (globals-defines.h or plugins/rrdPlugin.h) that will show the full parameters being passed in. Note that this will generate A LOT of log output. It sounds like a truncation issue (is there a buffer error/too short message just before this?) -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, September 06, 2005 2:19 PM To: [email protected] Subject: [Ntop] rrd error in CVS version I'm running the CVS ntop 3.1.50 from 8/31 and have trouble with ntop crashing on an rrd error. Here is the message: **WARNING** RRD: rrd_update(/ntop/rrd/interfaces/collectorname/throughput.rrd) error: unknown consolidation function 'AVER' I only have Interfaces with full details configured for rrd. I'm collecting data from remote systems running nprobe. Any ideas? Thanks, Beirne _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
