[Rd] segfault with format.POSIXct()

Sebastian P. Luque spluque at gmail.com
Fri Apr 23 16:24:22 CEST 2010


On Fri, 23 Apr 2010 16:03:15 +0200,
peter dalgaard <pdalgd at gmail.com> wrote:

> 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).

So it does seems as if this is all related to that bug, which somehow
got fixed in R-devel.

Thanks everyone,

-- 
Seb



More information about the R-devel mailing list