Rgui.exe crashes on startup (PR#2057)

murdoch@stats.uwo.ca murdoch@stats.uwo.ca
Mon, 23 Sep 2002 19:01:13 +0200 (MET DST)

On Mon, 23 Sep 2002 17:44:42 +0200 (MET DST), you wrote in message

>Full_Name: Zhen Liu
>Version: 1.5.1
>OS: Window XP Home/Window NT 4.0
>Submission from: (NULL) (
>I have installed R-1.5.1 using SetupR.exe on both my home laptop (Sony Vaio
>running Window XP Home) and in office (Compaq AP550 running Window NT 4.0), but
>they shared the same problem. Both worked for a while, but then Rgui.exe crashed
>on the startup, complains:
>The exception Floating-point invalid operation.
>(0xc0000090) occurred in the application at location 0x00435c10.
>Despite repeated uninstalled-reboot-install, the crash still persists? Somehow R
>remembers it was installed on the machine before, since I can find a new machine
>and it will installed and work, but after a while (usually a reboot) it crashes
>on startup...

If you start it with the command line option "--vanilla", it will skip
a lot of automatically executed code at the beginning.  Could you try
that and see if it fixes the problem?

If so, then it might be worth narrowing down which part is
responsible, by adding the individual options one at a time:
‘--no-save’, ‘--no-restore’, ‘--no-site-file’, ‘--no-init-file’
and ‘--no-environ’.

If --vanilla has no effect, then it might just be a coincidence that
it works at first.  The usual culprit for spurious floating point
exceptions is code that plays around with the floating point control
word, and doesn't restore it properly.  Many buggy video drivers do
this, for instance.  I could send you some code that detects this bug,
but it's hard to determine what software caused it.

Duncan Murdoch

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