Xymon Mailing List Archive search

logfetch bug

list Charles Goyard
Mon, 7 Aug 2006 15:51:42 +0200
Message-Id: <user-f48fe9407416@xymon.invalid>

David Gore a écrit :
Latest snapshot logfetch core dumps with the following error in 
hobbitclient.log
I too get a core dump. I tried to remove SCO's defines, it still crashes
(seems logical).

Howerver here's what I get :

2006-08-07 15:42:07 LFSfile /var/adm/messages: st_size 40862318854144, ofs[0] 2047, ofs[6] -60307452578564912
2006-08-07 15:42:07 Segmentation Fault - core dumped

I noticed gcc complains about non-matching types in :
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I. -I/usr/local/src/snapshot/include -DCLIENTONLY=1 -o logfetch logfetch.c ../lib/hobbitclient.a
logfetch.c: In function `savelogstatus':
logfetch.c:834: warning: long long int format, different type arg (arg 3)

(but this line didn't move for a long time)


-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31