From spluque at gmail.com  Fri Apr 23 16:24:22 2010
From: spluque at gmail.com (Sebastian P. Luque)
Date: Fri, 23 Apr 2010 09:24:22 -0500
Subject: [Rd] segfault with format.POSIXct()
In-Reply-To: <A2E661EF-ACF5-42AF-8ED8-35C5710CF8FA@gmail.com> (peter
	dalgaard's message of "Fri, 23 Apr 2010 16:03:15 +0200")
References: <87r5m783mh.fsf@kolob.sebmags.homelinux.org>
	<4BD18502.7020505@statistik.tu-dortmund.de>
	<87vdbi72pc.fsf@kolob.sebmags.homelinux.org>
	<A2E661EF-ACF5-42AF-8ED8-35C5710CF8FA@gmail.com>
Message-ID: <87aasu6ycp.fsf@kolob.sebmags.homelinux.org>

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



[Rd] segfault with format.POSIXct()
Sebastian P. Luque