[Rd] segfault with format.POSIXct()

peter dalgaard pdalgd at gmail.com
Fri Apr 23 16:03:15 CEST 2010


On Apr 23, 2010, at 2:50 PM, Sebastian P. Luque wrote:

> On Fri, 23 Apr 2010 13:31:14 +0200,
> Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote:
> 
>> Works for me, both under Windows (32 and 64 bit) and Linux, although I
>> have not package slmisc attached.
> 
> Is this with 2.11.0 ?  Thanks.

I'm getting a bit further with bug 14267:

On OSX I am NOT seeing it with R-devel, although it is there with 2.11.0 Patched.

Running with a non-optimized compile, I can get some more information

It is happening on the i-th iteration of the loop in do_formatPOSIXlt with 

(gdb) p i
$4 = 86870

Unfortunately, it looks like a bigger exercise to get valgrind running on Snow Leopard -- too big for Friday afternoon anyway. However, the alloca() call on line 774 of src/main/datetime.c does look suspect to me. I can see that it was introduced with r51353 and has since disappeared in R-devel (r51398).
 

> -- 
> Seb
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-devel mailing list