From logickledoug at yahoo.com  Tue Jul 29 18:39:27 2008
From: logickledoug at yahoo.com (Logickle)
Date: Tue, 29 Jul 2008 09:39:27 -0700 (PDT)
Subject: [Rd] R crashes on new laptop
In-Reply-To: <18713928.post@talk.nabble.com>
References: <18713928.post@talk.nabble.com>
Message-ID: <18716390.post@talk.nabble.com>


Found a fix (hack actually, but hey), so I thought I'd pass it on. 

I was desperately googling for a solution to this, and on a game website
found a report from someone experiencing OpenGL problems on a machine with
the Intel 965 chipset. They figured out (God only knows how) that by
downloading from the Intel website the zip file of the 965 Vista drivers
(this is on XP), extracting the file ig4dev32.dll, and dropping it into the
directory of the app that was crashing, the problem went away.

So I downloaded the same DLL, dropped it into R/bin, and voila, no more
crash! 

Here's the link to the Intel Vista drivers:
http://downloadmirror.intel.com/15884/a08/winvista_159.zip

Enjoy!

Doug


Logickle wrote:
> 
> The problem is that R crashes with an exception "R for Windows GUI
> front-end has encountered a problem and needs to close..."  It doesn't
> always crash, but almost always does.
> 
> Thanks for any help (fixes, workarounds, or diagnostics) you can provide!
> 
> Doug
> 
> Specs:
> PC: HP 2710p
> Graphics HW: Mobile Intel 965 Express Chipset Family / Graphics Media
> Accelerator X3100
> Graphics Driver: 6.14.10.4964 / 6/27/2008 / Intel Corporation
> R version: 2.7.1
> OS: WinXP Tablet PC 2005
> 
> The R script which produces it is very simple (requires package rgl):
> 
>   open3d()
>   x <- sort(rnorm(1000))
>   y <- rnorm(1000)
>   z <- rnorm(1000) + atan2(x,y)
>   plot3d(x, y, z, col=rainbow(1000), size=2)
> 
> Error details dialog:
> 
>  http://www.nabble.com/file/p18713928/Error.jpg 
> 
> The module ig4icd32.dll is part of the graphics driver.
> 
> Unfortunately, the hex dump data can't be copied/pasted from the error
> details dialog, nor can I get the .dmp file ("file is in use"). 
> 
> Some error information is saved in an xml file:
> 
> <?xml version="1.0" encoding="UTF-16"?>
> <DATABASE>
> <EXE NAME="Rgui.exe" FILTER="GRABMI_FILTER_PRIVACY">
>     <MATCHING_FILE NAME="iconv.dll" SIZE="918528" CHECKSUM="0x2B0ADD5D"
> MODULE_TYPE="WIN32" PE_CHECKSUM="0xE13B8" LINKER_VERSION="0x10000"
> LINK_DATE="02/29/2008 09:10:55" UPTO_LINK_DATE="02/29/2008 09:10:55" />
>     <MATCHING_FILE NAME="md5check.exe" SIZE="32768" CHECKSUM="0x1F99EDB5"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R for Windows files checker" FILE_VERSION="2.7.1   
> (2008-06-23)" LEGAL_COPYRIGHT="R Development Core Team 1995-2008"
> VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1"
> MODULE_TYPE="WIN32" PE_CHECKSUM="0xC07D" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:07:36" UPTO_LINK_DATE="06/23/2008 12:07:36"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="R.dll" SIZE="2822656" CHECKSUM="0x679DF762"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R for Windows DLL" FILE_VERSION="2.7.1    (2008-06-23)"
> LEGAL_COPYRIGHT="R Development Core Team 1995-2008" VERFILEDATEHI="0x0"
> VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32"
> PE_CHECKSUM="0x2B1E89" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:07:16" UPTO_LINK_DATE="06/23/2008 12:07:16"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="R.exe" SIZE="36352" CHECKSUM="0xDE9601D1"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R for Windows front-end" FILE_VERSION="2.7.1   
> (2008-06-23)" LEGAL_COPYRIGHT="R Development Core Team 1995-2008"
> VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1"
> MODULE_TYPE="WIN32" PE_CHECKSUM="0x14952" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:07:36" UPTO_LINK_DATE="06/23/2008 12:07:36"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="Rblas.dll" SIZE="169718" CHECKSUM="0xF612961D"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R for Windows DLL" FILE_VERSION="2.7.1    (2008-06-23)"
> LEGAL_COPYRIGHT="R Development Core Team 1995-2008" VERFILEDATEHI="0x0"
> VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32"
> PE_CHECKSUM="0x33F83" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:07:27" UPTO_LINK_DATE="06/23/2008 12:07:27"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="Rcmd.exe" SIZE="35840" CHECKSUM="0x512F7D5B"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R for Windows front-end" FILE_VERSION="2.7.1   
> (2008-06-23)" LEGAL_COPYRIGHT="R Development Core Team 1995-2008"
> VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1"
> MODULE_TYPE="WIN32" PE_CHECKSUM="0x13506" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:07:31" UPTO_LINK_DATE="06/23/2008 12:07:31"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="Rgraphapp.dll" SIZE="265802"
> CHECKSUM="0x521E1141" BIN_FILE_VERSION="2.71.45970.0"
> BIN_PRODUCT_VERSION="3.0.0.0" FILE_DESCRIPTION="Graphapp DLL for R"
> FILE_VERSION="2.7.1    (2008-06-23)" LEGAL_COPYRIGHT="R Development Core
> Team 1995-2008" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4"
> VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x42A3B"
> LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.71.45970.0"
> UPTO_BIN_PRODUCT_VERSION="3.0.0.0" LINK_DATE="06/23/2008 12:06:24"
> UPTO_LINK_DATE="06/23/2008 12:06:24" VER_LANGUAGE="English (United States)
> [0x409]" />
>     <MATCHING_FILE NAME="Rgui.exe" SIZE="27648" CHECKSUM="0xC8711AEA"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R for Windows GUI front-end" FILE_VERSION="2.7.1   
> (2008-06-23)" LEGAL_COPYRIGHT="R Development Core Team 1995-2008"
> VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1"
> MODULE_TYPE="WIN32" PE_CHECKSUM="0xCC15" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:07:30" UPTO_LINK_DATE="06/23/2008 12:07:30"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="Rlapack.dll" SIZE="1340928" CHECKSUM="0xD5D1B000"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R DLL for lapack" FILE_VERSION="2.7.1    (2008-06-23)"
> LEGAL_COPYRIGHT="R Development Core Team 2002-2008" VERFILEDATEHI="0x0"
> VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32"
> PE_CHECKSUM="0x1529FD" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:09:12" UPTO_LINK_DATE="06/23/2008 12:09:12"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="Rproxy.dll" SIZE="59904" CHECKSUM="0xFC76A84D"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R for Windows terminal front-end" FILE_VERSION="2.7.1   
> (2008-06-23)" LEGAL_COPYRIGHT="R Development Core Team 1995-2008"
> VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1"
> MODULE_TYPE="WIN32" PE_CHECKSUM="0xFE51" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:07:35" UPTO_LINK_DATE="06/23/2008 12:07:35"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="Rscript.exe" SIZE="31232" CHECKSUM="0x1A6E3137"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R for Windows front-end" FILE_VERSION="2.7.1   
> (2008-06-23)" LEGAL_COPYRIGHT="R Development Core Team 1995-2008"
> VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1"
> MODULE_TYPE="WIN32" PE_CHECKSUM="0x11D22" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:07:37" UPTO_LINK_DATE="06/23/2008 12:07:37"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="RSetReg.exe" SIZE="28672" CHECKSUM="0x7ED2B4D7"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R for Windows front-end" FILE_VERSION="2.7.1   
> (2008-06-23)" LEGAL_COPYRIGHT="R Development Core Team 1995-2008"
> VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1"
> MODULE_TYPE="WIN32" PE_CHECKSUM="0x15E4A" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:07:31" UPTO_LINK_DATE="06/23/2008 12:07:31"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="Rterm.exe" SIZE="28672" CHECKSUM="0x4B486A15"
> BIN_FILE_VERSION="2.71.45970.0" BIN_PRODUCT_VERSION="3.0.0.0"
> FILE_DESCRIPTION="R for Windows terminal front-end" FILE_VERSION="2.7.1   
> (2008-06-23)" LEGAL_COPYRIGHT="R Development Core Team 1995-2008"
> VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1"
> MODULE_TYPE="WIN32" PE_CHECKSUM="0x13CB5" LINKER_VERSION="0x10000"
> UPTO_BIN_FILE_VERSION="2.71.45970.0" UPTO_BIN_PRODUCT_VERSION="3.0.0.0"
> LINK_DATE="06/23/2008 12:07:30" UPTO_LINK_DATE="06/23/2008 12:07:30"
> VER_LANGUAGE="English (United States) [0x409]" />
>     <MATCHING_FILE NAME="Rzlib.dll" SIZE="92826" CHECKSUM="0x6F321612"
> MODULE_TYPE="WIN32" PE_CHECKSUM="0x1CAF9" LINKER_VERSION="0x10000"
> LINK_DATE="06/23/2008 12:06:51" UPTO_LINK_DATE="06/23/2008 12:06:51" />
> </EXE>
> <EXE NAME="ig4icd32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
>     <MATCHING_FILE NAME="ig4icd32.dll" SIZE="2412544"
> CHECKSUM="0x50BD93D8" BIN_FILE_VERSION="6.14.10.4964"
> BIN_PRODUCT_VERSION="6.14.10.4964" PRODUCT_VERSION="6.14.10.4964"
> FILE_DESCRIPTION="OpenGL(R) Driver for Intel(R) Graphics Accelerator"
> COMPANY_NAME="Intel Corporation" PRODUCT_NAME="Intel Graphics Accelerator
> Drivers for Windows NT(R)" FILE_VERSION="6.14.10.4964"
> ORIGINAL_FILENAME="iglicd32" INTERNAL_NAME="OpenGL"
> LEGAL_COPYRIGHT="Copyright (c) 1998-2006 Intel Corporation."
> VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x10004"
> VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0"
> LINKER_VERSION="0x10064" UPTO_BIN_FILE_VERSION="6.14.10.4964"
> UPTO_BIN_PRODUCT_VERSION="6.14.10.4964" LINK_DATE="06/27/2008 15:19:30"
> UPTO_LINK_DATE="06/27/2008 15:19:30" VER_LANGUAGE="English (United States)
> [0x409]" />
> </EXE>
> <EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
>     <MATCHING_FILE NAME="kernel32.dll" SIZE="984576" CHECKSUM="0xF0B331F6"
> BIN_FILE_VERSION="5.1.2600.3119" BIN_PRODUCT_VERSION="5.1.2600.3119"
> PRODUCT_VERSION="5.1.2600.3119" FILE_DESCRIPTION="Windows NT BASE API
> Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft?
> Windows? Operating System" FILE_VERSION="5.1.2600.3119
> (xpsp_sp2_gdr.070416-1301)" ORIGINAL_FILENAME="kernel32"
> INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="? Microsoft Corporation. All
> rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0"
> VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32"
> PE_CHECKSUM="0xF9293" LINKER_VERSION="0x50001"
> UPTO_BIN_FILE_VERSION="5.1.2600.3119"
> UPTO_BIN_PRODUCT_VERSION="5.1.2600.3119" LINK_DATE="04/16/2007 15:52:53"
> UPTO_LINK_DATE="04/16/2007 15:52:53" VER_LANGUAGE="English (United States)
> [0x409]" />
> </EXE>
> </DATABASE>
> 
> 

-- 
View this message in context: http://www.nabble.com/R-crashes-on-new-laptop-tp18713928p18716390.html
Sent from the R devel mailing list archive at Nabble.com.



[Rd] R crashes on new laptop
Logickle