ports/148264: math/R: Error: segfault from C stack overflow
David Wolfskill
david at catwhisker.org
Wed Jun 30 18:10:06 UTC 2010
>Number: 148264
>Category: ports
>Synopsis: math/R: Error: segfault from C stack overflow
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 30 18:10:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: David Wolfskill
>Release: FreeBSD 7.3-STABLE i386
>Organization:
Wolfskill & Dowling Residence
>Environment:
System: FreeBSD g1-214.catwhisker.org 7.3-STABLE FreeBSD 7.3-STABLE #129 r209586: Tue Jun 29 04:32:30 PDT 2010 root at g1-215.catwhisker.org:/common/S2/obj/usr/src/sys/CANARY i386
>Description:
Error in question ("Error: segfault from C stack overflow")
appears to be associated with long "date" vectors, and is
addressed in the R project's PR #14267, incorporated in R
2.11.1, announcement of the release of which may be found at
<http://article.gmane.org/gmane.comp.lang.r.general/191995>,
dated 2010-05-31 09:16:36 GMT.
I was running R 2.11.0_1.
>How-To-Repeat:
Ensure the existence of a suitable file to read; the one I use
in the following example (/tmp/individual_allocations) has
169199 lines:
> I <- read.table("/tmp/individual_allocations", header = TRUE, colClasses = c("Date", "numeric", "numeric", "numeric", "numeric"))
> png("/tmp/Space_Date.png", width = 700, height = 700)
> Is <- subset(I, as.numeric(I$Tag) %% 7 == 6)
> xlist <- as.numeric(unique(Is$Tag)) - as.numeric(min(Is$Tag))
> boxplot( GB_total ~ Tag, data = Is, varwidth = TRUE, notch = TRUE, col = "lightblue", medcol = "darkblue", xlab = "Date", ylab = "Allocation size (GB)", main = "Local Disk Space Allocation Distributions by Date", at = (xlist/7), xlim = c(0, max(xlist/7 )))
Error: segfault from C stack overflow
>Fix:
It is believed that upgrading the port to R 2.11.1 will
resolve this error.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list