Re: [R] glibc detected *** /usr/lib64/R/bin/exec/R: double free or corruption ???? tm package

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon, 7 Jan 2008 12:50:03 +0000 (GMT)

On Mon, 7 Jan 2008, Jan Wijffels wrote:

> I have a collection of .txt documents in my working folder for which I
> want to do some text mining. If I run TextDocCol from the tm package, R
> crashes with some memory issues. Does anyone has any idea if this is
> related to R itself or to the tm package?

Given that R runs many, many other things without doing this, it is almost certainly a bug in one of those packages. The way to find the original problem is to run under valgrind (possibly using an R build set up for it): the report is probably on a result of previous memory corruption.

See 'Writing R Extensions' for how to debug such issues.

> Below you can find what is happening here.
>
>> setwd("/home/jan/Work/2008/Profacts/textmining/tryouts/workfolder")
>> require(tm)
> Loading required package: tm
> Loading required package: filehash
> Simple key-value database (1.0-1 2007-08-13)
> Loading required package: Matrix
> Loading required package: lattice
> Loading required package: Snowball
> Loading required package: RWeka
> Loading required package: rJava
> Loading required package: grid
> Loading required package: XML

[...]

-- 
Brian D. Ripley,                  ripley_at_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_at_r-project.org 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 Mon 07 Jan 2008 - 12:53:11 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 Mon 07 Jan 2008 - 13:30:05 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.

list of date sections of archive