[R] Rgui crashed on Windows XP Home

Jinsong Zhao jszhao at mail.hzau.edu.cn
Fri Jun 11 17:01:22 CEST 2010

Hi there,

I just installed R 2.11.1 on my PC, which runs a Windows XP Home.

The installation is successful, however, when I double click on the
R icon, I get the following error message:

R for Windows GUI front-end has encountered a problem and needs to close.  
We are sorry for the inconvenience.

Error signature is:
AppName: rgui.exe	 AppVer: 2.111.52157.0	 ModName: msvcrt.dll
ModVer: 7.0.2600.2180	 Offset: 0000d2b5

I get a gdb, and then gdb the Rgui.exe, I get the following message:

(gdb) run
Starting program: D:\Program Files\R\R-2.11.1\bin/Rgui.exe
[New Thread 2460.0xb7c]

Program received signal SIGSEGV, Segmentation fault.
0x77c1d2b5 in msvcrt!mblen () from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0  0x77c1d2b5 in msvcrt!mblen () from C:\WINDOWS\system32\msvcrt.dll
#1  0x77c1d3a9 in msvcrt!mbstowcs () from C:\WINDOWS\system32\msvcrt.dll
#2  0x635597f9 in GA_newwindow ()
   from D:\Program Files\R\R-2.11.1\bin\Rgraphapp.dll
#3  0x63543a25 in GA_newcontrol ()
   from D:\Program Files\R\R-2.11.1\bin\Rgraphapp.dll
#4  0x63543c3f in GA_newimagebutton ()
   from D:\Program Files\R\R-2.11.1\bin\Rgraphapp.dll
#5  0x6c723d7e in setupui () from D:\Program Files\R\R-2.11.1\bin\R.dll
#6  0x004014e2 in ?? ()
#7  0x00401425 in ?? ()
#8  0x00401708 in ?? ()
#9  0x0040124b in ?? ()
#10 0x004012b8 in ?? ()
#11 0x7c816fe7 in RegisterWaitForInputIdle ()
   from C:\WINDOWS\system32\kernel32.dll
#12 0x00000000 in ?? ()

The Rterm.exe can run normally. I don't know it's a bug of Rgui or a bug of my system.

Thanks for any help.


More information about the R-help mailing list