From ripley@stats.ox.ac.uk  Wed Aug 22 07:27:27 2001
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Wed, 22 Aug 2001 08:27:27 +0200 (MET DST)
Subject: [Rd] X11 protocol errors after all x11 devices are closed (PR#1065)
Message-ID: <200108220627.IAA29451@pubhealth.ku.dk>

> x11()
> dev.off()
null device
          1
> x11()
> plot.new()
Warning messages:
1: X11 protocol error: BadAccess (attempt to access private resource denied)
2: X11 protocol error: BadAccess (attempt to access private resource denied)

This only happens if all x11 devices are shut down, so the X11 connection
is restarted.  We had problems with this when the event handlers
were changed prior to 1.3.0, and it looks as if the logic is still
incorrect.

As far as I can see subsequent plots are correct.

Carrying on:

> dev.off()
null device
          1
> x11()
> plot.new()
Warning message:
X11 protocol error: BadAccess (attempt to access private resource denied)

(only one error this time).


--please do not edit the information below--

Version:
 platform = sparc-sun-solaris2.7
 arch = sparc
 os = solaris2.7
 system = sparc, solaris2.7
 status =
 major = 1
 minor = 3.0
 year = 2001
 month = 06
 day = 22
 language = R

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base


-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] X11 protocol errors after all x11 devices are closed (PR#1065)
ripley@stats.ox.ac.uk