From p.dalgaard@biostat.ku.dk  Fri Apr 16 13:05:15 1999
From: p.dalgaard@biostat.ku.dk (p.dalgaard@biostat.ku.dk)
Date: Fri, 16 Apr 1999 14:05:15 +0200
Subject: Segfault from evalq(return()) (PR#168)
Message-ID: <199904161205.OAA01677@biostat.ku.dk>

Luke Tierney brought this up while we were discussing the semantics of
a possible let() or local() call:

> evalq(return())
Segmentation fault (core dumped)

This is not just caused by trying to pop an empty stack:

> f<-function(x)evalq(return())
> f(2)
Segmentation fault (core dumped)


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Segfault from evalq(return()) (PR#168)
p.dalgaard@biostat.ku.dk