[hobbit] logfetch bug

Charles Goyard cgoyard at cvf.fr
Mon Aug 7 15:51:42 CEST 2006


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 - cgoyard at cvf.fr - (+33) 1 45 38 01 31



More information about the Xymon mailing list