[Rd] crash using bmp() on windows with Rdll2010 (PR#756)

Prof Brian D Ripley ripley@stats.ox.ac.uk
Mon, 4 Dec 2000 07:40:52 +0000 (GMT)


On Sun, 3 Dec 2000 ligges@statistik.uni-dortmund.de wrote:

> A few weeks ago I have updated R-1.1.1 for Windows with the fixed R.dll
> (Rdll2010.zip) for Win2k from CRAN.
> (I have used the same version of R from WinNT4 *and* Win2k for some
> time.)
> 
> Now I tried to produce a bitmap, but R crashes (WinNT4):
>  bmp("bitmap.bmp")
>  plot(1:10)
>  dev.off() ## crash!
> 
> That does not happen with the original R.dll from R-1.1.1 (15 Aug 2000).

I think I know why: the same thing happened to me testing the pre-release
of 1.2.0 about a week ago, which I tracked down to a problem with R.dll and
Rbitmap.dll using different malloc's but the same free.

> I cannot test on Win2k, because I removed Win2k from my box in the last
> week. 

Please revert to the original R.dll for now.  The problem will go away (at
least on NT4, and the fix is still there) when rw1020 is released in a
couple of weeks or so.

> The Rdll2010 reports the same version as the original R.dll (15 Aug
> 2000). That's not intended, I think?

Yes, it was.  The version of R (as distinct from the build) is unchanged.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._