[rrd-users] Re: rrd_fetch Segmentation Fault - getopts

Francois Mikus francois.mikus at transcontinental.ca
Tue Jul 9 21:11:17 MEST 2002


Hello Tobi,

I have retested without the optind=0 addition, and I cannot reproduce
the segmentation fault.

I have gone back also to the previous version of rrdtool 1.1.x I had
been using which was the cvs snapshot of 2002-05-04 and I still cannot
reproduce it. I am not quite sure what to think.

I was getting segfaults consistently using 2002-05-08, I recompiled
rrdtool using 2002-07-04 and was still getting segfaults, I added those
lines and it started working consistently.

Two days later, with no changes to my code, I go back to the said
versions and do not get the segfaults. I don't know what to say. I guess
all I can say is sorry for interruption, and if it does happen again I
will try and get more info as to where exactly it was crashing and
burning. :-)

I am resting my case, I am going back to the original stock version of
the rrd tool snapshot. For a development branch it certainly is stable.

Francois

> 
> Francois,
> 
> Can you shed any light on you optind should be reset again 
> when it gets reset at the beginning of the function ?
> 
> does it get overwritten ?
> 
> confused
> tobi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list