Re: [Rd] PS driver crashes when no permissions (PR#8078)

From: <ripley_at_stats.ox.ac.uk>
Date: Fri 19 Aug 2005 - 07:47:46 GMT


This is already fixed in 2.1.1 patched: please see the resources the posting guide and FAQ ask you to consult _before_ sending a bug report!

     o	File creation errors in pdf(), postscript(), xfig() resulted
 	in a pointer being freed twice.	 (Reported by Matt McCall)

As the FAQ says

   If a bug has already been reported or fixed, please do not submit    further bug reports on it.

On Fri, 19 Aug 2005 jussi.jousimo@ktl.fi wrote:

> Full_Name: Jussi Jousimo
> Version: 2.1.1
> OS: Linux
> Submission from: (NULL) (193.167.195.60)
>
>
> R 2.1.1 crashes when it is trying to write a file with the postscript driver to
> a directory, where the user has no permission to write. For example,
> postscript("foo.ps") gives an error message: *** glibc detected *** free():
> invalid pointer: 0x08a469b0 ***. The problem is at the PSDeviceDriver function
> in the devPS.c file on line 2357 (free(dd);), where the same memory block is
> tried to free the first time and then the second time at line 5138 (free(dev);).
> I'd suggest to remove the first free function.
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
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-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri Aug 19 17:52:40 2005

This archive was generated by hypermail 2.1.8 : Mon 24 Oct 2005 - 22:27:40 GMT