Skip to content
Prev 28658 / 63421 Next

reproducible segmentation fault caused by textConnection()

Bill,

Thanks for digging into this -- I am getting much less information from 
valgrind, even running an instrumented R build.

The issue is specific to using textConnection(NULL, open='w'), which 
really isn't very useful -- that is what anonymous file() connections are 
for, as the help page says.

However, I have found the cause, and have a fix under testing.  Assuming 
nothing else comes to light it will get committed to R-patched today.

Brian
On Tue, 29 Apr 2008, Bill Dunlap wrote:

            
AFAICS that is not where the issue is.  this->data is protected if linked 
to a variable, but not otherwise.  Certainly on my system it has been 
gc-ed prior to that line.

  
    
Message-ID: <alpine.LFD.1.10.0805011331080.6188@auk.stats.ox.ac.uk>
In-Reply-To: <Pine.GSO.4.56.0804291525200.14834@devsun3201.insightful.com>