Subject: Re: modreg buggy: uninitialized variable in sinerp.f (PR#302)
From: Prof Brian D Ripley (firstname.lastname@example.org)
Date: Sun 31 Oct 1999 - 04:00:05 EST
On Sat, 30 Oct 1999 email@example.com wrote:
> I had some strange problems with modreg: sometimes functions
> hang in an infinite loop, consuming 100% CPU time. Especially
> when update()ing models (as in example(ppr)) with sm.method="gcv"
> I found that if I repeated the call after I did interrupt the hang,
> it ran to completion.
> After some lengthy debugging I could track down this problem:
> sinerp.f, line 22--24 read:
> This leaves wjm3(3) uninitialized. So after changing these lines to
> the bug was gone.
Thank you very much! We were aware of occasional problems (but only on
gcc), but had not managed to track them down. In all cases using
-ffloat-store had solved the problem.
I have committed this change for the next release.
-- Brian D. Ripley, firstname.lastname@example.org Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: email@example.com _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:09 EST