From: Paulo A. G. F. <pau...@de...> - 2007-03-30 15:20:52
|
Hello. =20 All of a sudden, Perfparse stopped inserting data on its MySQL database. = I'm using the first method (insert data from performance data file), and = I'm inserting data using the perfparse.sh script provided by Perfparse.. =20 When I try to run it by hand, I get the following message: =20 [nagios@noruega ~]$ perfparse-log2mysql *** glibc detected *** realloc(): invalid next size: 0x08e91f98 *** Aborted =20 The problem occurs at "parse_and_store_perf_data_line" subroutine. I = have made a step-by-step tracing which I post below: =20 Breakpoint 2, parse_and_store_perf_data_line (l=3D0x9e22070, = stats=3D0xbff88760, log_data=3D0x9e228b8, perf_fields=3D0x9e229e8) at = perfparse-common.c:73 73 int parse_and_store_perf_data_line(GString*l, = perfparse_statistics_t*sta ts, log_line_t *log_data, perf_fields_t *perf_fields) { (gdb) n 74 if(stats) stats->nb_lines_parsed++; (gdb) n 73 int parse_and_store_perf_data_line(GString*l, = perfparse_statistics_t*sta ts, log_line_t *log_data, perf_fields_t *perf_fields) { (gdb) n 74 if(stats) stats->nb_lines_parsed++; (gdb) n 76 if(!line_split(l->str,log_data)) { (gdb) n 77 if = (!config_get_value_as_boolean(CONFIG_ITEM_ID_NO_RAW_D ATA)) (gdb) n 78 storage_store_line(log_data); (gdb) n 79 if(!perf_get_first(log_data,perf_fields)) { (gdb) n 81 if = (!config_get_value_as_boolean(CONFIG_ ITEM_ID_NO_BIN_DATA)) { (gdb) n 82 = storage_store_perf(log_data,perf _fields); (gdb) n 83 if(stats) = stats->nb_metrics_pars ed++; (gdb) n 85 } = while(!perf_get_next(log_data,perf_fields)); (gdb) n *** glibc detected *** realloc(): invalid next size: 0x09e35f98 *** =20 Program received signal SIGABRT, Aborted. 0x006327a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 =20 I took a look into my glibc and it's outdated. Do you think updating = glibc may solve the issue or is this a problem with perfparse itself? =20 TIA, =20 Paulo Afonso Graner Fessel Administrador de Ambiente e Sistemas UNIX pau...@de... = <mailto:pau...@de...>=20 Fone: +55 (11) 3848-7422 (Novo n=FAmero) http://www.dedalusprime.com.br <http://www.dedalusprime.com.br>=20 =20 |