[R-sig-Debian] segfault with format.POSIXct()

Sebastian P. Luque spluque at gmail.com
Fri Apr 23 15:44:43 CEST 2010


Hi,

I posted in R-devel, thinking it might be a general R problem, but Uwe
cannot reproduce it in his GNU/Linux distro, with the same R version.
So I'm posting here to ask whether Debian R users are having this
problem.

I'm getting a segmentation fault as follows:

---<--------------------cut here---------------start------------------->---
R> begt <- as.POSIXct(strptime("10/01/2009 06:00:00", format="%d/%m/%Y %H:%M:%S"),
+                    tz="GMT")
R> tser <- seq(begt, by=5, length.out=91000)
R> tser.trunc <- format(tser)
Error: segfault from C stack overflow
---<--------------------cut here---------------end--------------------->---

With the following set up:

---<--------------------cut here---------------start------------------->---
R> sessionInfo()
R version 2.11.0 RC (2010-04-19 r51778) 
x86_64-pc-linux-gnu 

locale:
 [1] LC_CTYPE=en_CA.UTF-8       LC_NUMERIC=C               LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8    
 [5] LC_MONETARY=C              LC_MESSAGES=en_CA.UTF-8    LC_PAPER=en_CA.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] slmisc_0.7.3   lattice_0.18-3

loaded via a namespace (and not attached):
[1] grid_2.11.0
---<--------------------cut here---------------end--------------------->---

Removing my local slmisc package from the loaded packages doesn't make a
difference.  Thanks for any leads.


-- 
Seb



More information about the R-SIG-Debian mailing list