[Rd] setWinProgressBar() on closed bar crashes R (PR#13709)

r.d.morey at rug.nl r.d.morey at rug.nl
Wed May 20 14:00:13 CEST 2009


Full_Name: Richard D. Morey
Version: 2.8.1
OS: Windows XP
Submission from: (NULL) (129.125.139.114)


The following code will crash Rgui in Windows XP. Of course, I know the code
shouldn't work, but something more graceful than a Windows application error
would be better.

#########Start R Code
bar = winProgressBar(min = 0, max = 100, width = 300)
setWinProgressBar(bar, 25)
close(bar)
setWinProgressBar(bar, 50)
######### End R code

It crashes R with the following Windows error:
RGui: Rgui.exe - Application Error
The instruction at "0x6c715843" referenced memory at "0x000000020". The memory
could not be "read".



More information about the R-devel mailing list