R v2.1.1 for Windows and "non-reproducible" crashes
On 6/27/2005 10:44 AM, Henrik Bengtsson wrote:
Henrik Bengtsson wrote:
Hi, R v2.1.1 patched (2005-05-26) for Windows crashes. The sympotoms are like "memory leakage". The patched version from two days ago crashes at a different position in R CMD check compared to todays version.
Sorry for being unclear; the "R CMD check" refers to R CMD check for my R.oo package and is just an example.
A "REPRODUCIBLE" EXAMPLE:
Unfortunately, I cannot create a minimal code example reproducing the
crash, but here is at least a simple way to reproduce it:
1. Make sure you run R v2.1.1 patched
2. Start R
3. install.packages("R.oo", contriburl="http://www.maths.lth.se/help/R")
[This is a version built with R v2.1.0, because I cannot make the
package pass R CMD check on v2.1.1 because of the crashes]
4. Cut'n'paste the following example from ?Rdoc to the R prompt:
library(R.oo)
author <- "Henrik Bengtsson, \url{http://www.braju.com/R/}"
rdocFile <- system.file("misc", "Exception.R", package="R.oo")
file.show(rdocFile)
destPath <- tempdir()
Rdoc$compile(rdocFile, destPath=destPath)
rdFiles <- list.files(destPath, full.names=TRUE)
print(rdFiles)
file.show(rdFiles[1])
file.remove(rdFiles)
For me it crashes when it gets to the Rdoc$compile() line and Dr. Mingw
reports:
Rterm.exe caused an Access Violation at location 7c911e58 in module
ntdll.dll Reading from location 52474f52.
I get a crash there too. I'll take a look. Duncan Murdoch