Nicholas Hirschey
2010-Apr-30 22:23 UTC
[Rd] as.character() crashes R 2.11 on Win2008 x64 and Win7 64
Dear List, I have a Date vector, and converting to character causes R 2.11 to crash on one machine running Win2008 x64 and another running Win7 x64. The code runs fine on R 2.10. For example, x <- as.Date(rep(1:15000, 10), '1970-01-01') y <- as.character(x) At this point, Rgui crashes. I get this using both the 32 and 64 bit 2.11.0 R builds. I'd appreciate any suggestions for how to eliminate these crashes (particularly with the x64 version). Thanks, Nick The windows error log and session information is pasted below: > sessionInfo() R version 2.11.0 (2010-04-22) i386-pc-mingw32 locale: [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base Log Name: Application Source: Application Error Date: 4/28/2010 3:00:23 PM Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: Description: Faulting application name: Rgui.exe, version: 2.110.51801.0, time stamp: 0x4bd040ca Faulting module name: msvcrt.dll, version: 7.0.7600.16385, time stamp: 0x4a5bda6f Exception code: 0xc00000fd Fault offset: 0x0000a514 Faulting process id: 0x29cc Faulting application start time: 0x01cae704e41e3609 Faulting application path: C:\Users\hirschen\Documents\R\R-2.11.0\bin\Rgui.exe Faulting module path: C:\Windows\syswow64\msvcrt.dll Report Id: 4c17218f-52f8-11df-9214-0026b95eb365 Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Level>2</Level> <Task>100</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2010-04-28T19:00:23.000000000Z" /> <EventRecordID>3586</EventRecordID> <Channel>Application</Channel> <Computer></Computer> <Security /> </System> <EventData> <Data>Rgui.exe</Data> <Data>2.110.51801.0</Data> <Data>4bd040ca</Data> <Data>msvcrt.dll</Data> <Data>7.0.7600.16385</Data> <Data>4a5bda6f</Data> <Data>c00000fd</Data> <Data>0000a514</Data> <Data>29cc</Data> <Data>01cae704e41e3609</Data> <Data>C:\Users\hirschen\Documents\R\R-2.11.0\bin\Rgui.exe</Data> <Data>C:\Windows\syswow64\msvcrt.dll</Data> <Data>4c17218f-52f8-11df-9214-0026b95eb365</Data> </EventData> </Event> [[alternative HTML version deleted]]
Duncan Murdoch
2010-Apr-30 23:23 UTC
[Rd] as.character() crashes R 2.11 on Win2008 x64 and Win7 64
On 30/04/2010 6:23 PM, Nicholas Hirschey wrote:> Dear List, > > > > I have a Date vector, and converting to character causes R 2.11 to crash on one machine running Win2008 x64 and another running Win7 x64. The code runs fine on R 2.10. > > > For example, > x <- as.Date(rep(1:15000, 10), '1970-01-01') > y <- as.character(x) > > > At this point, Rgui crashes. > > > I get this using both the 32 and 64 bit 2.11.0 R builds. > > > I'd appreciate any suggestions for how to eliminate these crashes (particularly with the x64 version). >Use R-patched. Duncan Murdoch> > Thanks, > > Nick > > > > The windows error log and session information is pasted below: > > > > > sessionInfo() > > R version 2.11.0 (2010-04-22) > > i386-pc-mingw32 > > > > locale: > > [1] LC_COLLATE=English_United States.1252 > > [2] LC_CTYPE=English_United States.1252 > > [3] LC_MONETARY=English_United States.1252 > > [4] LC_NUMERIC=C > > [5] LC_TIME=English_United States.1252 > > > > attached base packages: > > [1] stats graphics grDevices utils datasets methods base > > > > Log Name: Application > > Source: Application Error > > Date: 4/28/2010 3:00:23 PM > > Event ID: 1000 > > Task Category: (100) > > Level: Error > > Keywords: Classic > > User: N/A > > Computer: > > Description: > > Faulting application name: Rgui.exe, version: 2.110.51801.0, time stamp: 0x4bd040ca > > Faulting module name: msvcrt.dll, version: 7.0.7600.16385, time stamp: 0x4a5bda6f > > Exception code: 0xc00000fd > > Fault offset: 0x0000a514 > > Faulting process id: 0x29cc > > Faulting application start time: 0x01cae704e41e3609 > > Faulting application path: C:\Users\hirschen\Documents\R\R-2.11.0\bin\Rgui.exe > > Faulting module path: C:\Windows\syswow64\msvcrt.dll > > Report Id: 4c17218f-52f8-11df-9214-0026b95eb365 > > Event Xml: > > <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> > > <System> > > <Provider Name="Application Error" /> > > <EventID Qualifiers="0">1000</EventID> > > <Level>2</Level> > > <Task>100</Task> > > <Keywords>0x80000000000000</Keywords> > > <TimeCreated SystemTime="2010-04-28T19:00:23.000000000Z" /> > > <EventRecordID>3586</EventRecordID> > > <Channel>Application</Channel> > > <Computer></Computer> > > <Security /> > > </System> > > <EventData> > > <Data>Rgui.exe</Data> > > <Data>2.110.51801.0</Data> > > <Data>4bd040ca</Data> > > <Data>msvcrt.dll</Data> > > <Data>7.0.7600.16385</Data> > > <Data>4a5bda6f</Data> > > <Data>c00000fd</Data> > > <Data>0000a514</Data> > > <Data>29cc</Data> > > <Data>01cae704e41e3609</Data> > > <Data>C:\Users\hirschen\Documents\R\R-2.11.0\bin\Rgui.exe</Data> > > <Data>C:\Windows\syswow64\msvcrt.dll</Data> > > <Data>4c17218f-52f8-11df-9214-0026b95eb365</Data> > > </EventData> > > </Event> > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >