[Rd] Fw: Re: core Matrix package segfaulted on R CMD check --use-gct

From: Hin-Tak Leung <hintak_leung_at_yahoo.co.uk>
Date: Fri, 01 Apr 2011 15:21:50 +0100 (BST)


repost from the subscribed address...

> --- On Wed, 30/3/11, Douglas Bates
> <bates_at_stat.wisc.edu>
> wrote:
>
> > I isolated the problem and tested then committed a
> fix. I
> > am going to

> > ask Martin to upload the new release as I have gotten
> out
> > of sync with
> > some of his recent changes and he will, I hope,
> reconcile
> > the branches
> > and trunk.  If you need the fixed version
> immediately,
> > say for
> > testing, the changes are in the file
> > Matrix/src/chm_common.c  You can

> > visit the SVN archive for the project,
> > https://r-forge.r-project.org/scm/?group_id=61, click
> > on the link to
> > Browse Subversion Repository and go to
> > pkg/Matrix/src/chm_common.c
> >
> > I made the mistake that I chastised others for
> making,
> > performing an
> > operation on the result of a call to install and
> another
> > value that
> > may have required allocation of memory.  The first
> > time install is
> > called on a particular string it allocates and
> SEXPREC,
> > which may
> > cause a garbage collection.
>
> Have a different (but similiar) problem git cherry-picking
>
> trunk_at_2658 on top of Matrix-for-R-2.13_at_2657. 

> trunk_at_2658 + Matrix-for-R-2.13_at_2657 should be identical to
> Matrix-for-R-2.13_at_2659 which you committed earlier
> (according to git svn rebase):
>
> > pkgname <- "Matrix"
> > source(file.path(R.home("share"), "R",
> "examples-header.R"))
> > gctorture(TRUE)
> > options(warn = 1)
> > library('Matrix')
> Loading required package: lattice
> Error in regexpr("package:", envName, fixed = TRUE) :
>   unprotected object (0x3a52538) encountered (was
> INTSXP)
> Error: package/namespace load failed for 'Matrix'
> Execution halted
>
> I also found a different problem, but it looks like it is a
> different part of R and possibly in utils. I'll write
> separately and CC' you (the Matrix authors) on it.
>
>
>



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 01 Apr 2011 - 14:32:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 01 Apr 2011 - 16:00:39 GMT.

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

list of date sections of archive