From hpages at fhcrc.org  Wed Jul 15 10:34:40 2009
From: hpages at fhcrc.org (hpages at fhcrc.org)
Date: Wed, 15 Jul 2009 01:34:40 -0700
Subject: [Rd] Protection stack overflow
Message-ID: <20090715013440.v7a1c8r4g0cgksw8@webmail.fhcrc.org>

Hi,

   > gctorture(TRUE)
   > setGeneric("foo", function(x, y) standardGeneric("foo"))
   [1] "foo"
   > setMethod("foo", c("ANY", "ANY"),
   +   function(x, y) cat("calling foo,ANY,ANY method\n")
   + )
   Error: protect(): protection stack overflow

Sorry this is something I already reported one week ago here
   https://stat.ethz.ch/pipermail/r-devel/2009-July/053973.html
but I just had a 2nd look at it and realized that the problem
can in fact be reproduced out of the .onLoad() hook. So I'm
reporting it again with a different subject.

See my sessionInfo() below. Thanks!
H.


> sessionInfo()
R version 2.10.0 Under development (unstable) (2009-06-26 r48837)
x86_64-unknown-linux-gnu

locale:
  [1] LC_CTYPE=en_CA.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8
  [5] LC_MONETARY=C              LC_MESSAGES=en_CA.UTF-8
  [7] LC_PAPER=en_CA.UTF-8       LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base



[Rd] Protection stack overflow
hpages at fhcrc.org