"function" function -- infinite loops and bus error [not user problem] (PR#361)

About this list Date view Thread view Subject view Author view Other groups

Subject: "function" function -- infinite loops and bus error [not user problem] (PR#361)
maechler@stat.math.ethz.ch
Date: Mon 06 Dec 1999 - 21:19:38 EST


Message-Id: <199912061119.MAA21252@pubhealth.ku.dk>

The following is in "all" versions of R,
but is not really a bug that users will stumble about.

Still should be fixed
(making sure that performance is not degraded by the fix ..)

 f <- get("function")

 f(,) ##-- gives INFINITE loop; breakable with <ctrl> c.
 f(NULL,)# [and other variants] as well

 f(F,F)

>> Bus error and R is killed.

-- 
Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:11 EST