[Rd] X11 protocol errors after all x11 devices are closed (PR#1065)

maechler@stat.math.ethz.ch maechler@stat.math.ethz.ch
Wed, 22 Aug 2001 14:35:24 +0200 (MET DST)


>>>>> "BDR" == Brian D Ripley <ripley@stats.ox.ac.uk> writes:

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

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

    BDR> As far as I can see subsequent plots are correct.

    BDR> Carrying on:

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

Just this morning,
I found (again!, we had something close to this before) 
the following related bugous behavior :
After interrupting a plot (which would have taken a few minutes and was
"wrong" anyway), starting another plot, interrupting again [with C-c],
and maybe the same once more,
R started just giving a ">" prompt
but did not react any further at all.
(C-c would return the prompt, but no other reaction was possible)
Only killing the R process helped.

I may try to reproduce more exactly later today.
Martin

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._