[Rd] Open device -> glibc 2.3.4 bug for Redhat Enterprise 4?

Martin Maechler maechler at stat.math.ethz.ch
Tue Jun 21 19:11:02 CEST 2005


>>>>> "TL" == Thomas Lumley <tlumley at u.washington.edu>
>>>>>     on Tue, 21 Jun 2005 09:59:31 -0700 (PDT) writes:

    TL> This was supposed to be fixed in 2.1.1 -- which version are you using?

2.1.1 -- and 2.1.0 and 2.0.0 all showed the problem.

But thanks, Thomas, looking in "NEWS" of R-devel showed that
there was a fix for this in R-devel only --- too bad it didn't
make it for R 2.1.1.

And yes, the seg.fault doesn't happen in my version of R-devel.

Further note that only the very recent libc produces the
segfault for us.  Earlier versions, including the libc-2.3.2
used in our Debian sid (on AMD Opteron), do give the correct
error message instead of the seg.fault.


    TL> On Tue, 21 Jun 2005, Martin Maechler wrote:

    >> We have been using Redhat Enterprise 4, on some of our Linux
    >> clients for a while,
    >> and Christoph has just found that opening an R device for a file
    >> without write permission gives a bad glibc error and subsequent
    >> seg.fault:
    >> 
    >>> postscript("/blabla.ps")
    >> *** glibc detected *** double free or corruption (!prev): 0x0000000001505f10 ***
    >> 
    >> or
    >> 
    >>> xfig("/blabla.fig")
    >> *** glibc detected *** double free or corruption (!prev): 0x0000000001505f10 ***
    >> 
    >> and similar for pdf();
    >> does not happen for jpeg() {which runs via x11},
    >> nor e.g. for
    >> 
    >>> sink("/bla.txt")
    >> 
    >> -------
    >> 
    >> Happens both on 32-bit (Pentium) and 64-bit (AMD Athlon)
    >> machines with the following libc :
    >> 
    >> 32-bit:
    >> -rwxr-xr-x  1 root root 1451681 May 13 00:17 /lib/tls/libc-2.3.4.so*
    >> 64-bit:
    >> -rwxr-xr-x  1 root root 1490956 May 12 23:26 /lib64/tls/libc-2.3.4.so*
    >> 
    >> -------
    >> 
    >> Can anyone reproduce this problem?
    >> 
    >> Regards,
    >> Martin
    >> 
    >> ______________________________________________
    >> R-devel at r-project.org mailing list
    >> https://stat.ethz.ch/mailman/listinfo/r-devel
    >> 

    TL> ______________________________________________
    TL> R-devel at r-project.org mailing list
    TL> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list