Re: [R] core dump with point.in.polygon

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 01 Sep 2006 - 05:39:50 GMT

On Thu, 31 Aug 2006, Jeff D. Hamann wrote:

> I've been trying to get some code to run on a 64-bit FreeBSD machine running
>
> R : Copyright 2006, The R Foundation for Statistical Computing
> Version 2.3.0 (2006-04-24)
> ISBN 3-900051-07-0
>
> and keep getting a core dump with the following results:
>
> *** caught segfault ***
> address 0x0, cause 'unknown'
>
> Traceback:
> 1: .Call("R_point_in_polygon_sp", as.numeric(point.x),
> as.numeric(point.y), as.numeric(pol.x), as.numeric(pol.y), PACKAGE =
> "sp")
> 2: sp::point.in.polygon(point.x = stems$easting, point.y =
> stems$northing, pol.x = get.pts(gpc.plot)[[1]]$x, pol.y =
> get.pts(gpc.plot)[[1]]$y)
> 3: as.logical(sp::point.in.polygon(point.x = stems$easting, point.y =
> stems$northing, pol.x = get.pts(gpc.plot)[[1]]$x, pol.y =
> get.pts(gpc.plot)[[1]]$y))
> 4: poi.fp(gpc.perim, plot.grid[i, ], stems, plot.designs[1, ], plot.it =
> FALSE)
> 5: eval.with.vis(expr, envir, enclos)
> 6: eval.with.vis(ei, envir)
> 7: source("generate_samples.r")
>
> Not sure what to do now. I've been running this on 2.3 Winxp box just fine
> and will continue to do so.

There are contributed packages involved here: please identify which and report this to the maintainer with a reproducible example.

There are 10 or so known packages which seqfault on 64-bit platforms: the authors have been informed (often long ago). This looks as if it might be 'sp', which is not one.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri Sep 01 17:15:26 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 07:51:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.