(PR#11231) [Solaris 9 segfault when closiing X11()]
We need to know a great deal more information, and asking on R-devel would be a lot kinder than blaming this on a bug in R (and please use a meaningful subject line). What version of R is this? Precisely what OS (Solaris 9 comes for several architectures)? Assuming you compiled R yourself, what compilers did you use? (And where did you get those from if they are not Sun compilers?) If got a pre-compiled version, you need to try compiling on the machine you are using. Do you have a debugger for your compiler? If so you can run R under the debugger (possibly R -d gdb) and debug the crash for yourself. (We cannot do this for you unless we can reproduce it.) Given that Solaris 9 is long obsolete (Solaris 10 is more than 3 years' old), we don't hear of many R users on it. But we do hear from some using it successfully. And since R is in use on both Solaris 8 and 10, it is unlikely to be a generic Solaris issue. Given all our experience, the most likely explanation is a bug in the software on your machine, e.g. in a compiler. Please take this to your IT support team and get them to identify the problem -- if they are able to supply a patch to a current version of R that works around the problem it would be a positive contribution to the R project.
On Wed, 23 Apr 2008, liqun.xing at basf.com wrote:
Thank you very much for the helps. However, it happened me on my Solaris OS 9 machine every time as long a= s I closed the X11 window regardless how I launched the X11 window using pl= ot, edit(dataset) , etc, even I specifically close the device using dev.off= () command after I closed the window by clicking the close button. I will try the pass the DISPLAY and see how it will happen.... Thanks again Liqun
_______________________________________________________________________=
_______________
Liqun Xing, PhD
Principal Scientist
Phone: 1-919-547-2153
E-mail: liqun.xing at basf.com
Postal Address:
BASF Plant Science, L.L.C.
26 Davis Drive
Research Triangle Pa, NC, 27709
USA
BASF - The Chemical Company
=
"Christi =
an =
Brechb=FCh =
To
ler" liqun.xing at basf.com =
<brechbu =
cc
ehler at gm R-bugs at biostat.ku.dk =
ail.com> Subj=
ect
Re: [Rd] Seqfault, Address 0,=
04/23/20 track X11() (PR#11231) =
08 10:51 =
AM =
=
=
=
=
On Mon, Apr 21, 2008 at 10:15 PM, <liqun.xing at basf.com> wrote:
When first time launch X11(), it was fine. However, when closed the X=
11
windon
by clicking the close button, or closed it off by command Dev.off() a=
nd
launched
the X11() again, got segfault, and asking for exiting R and other
options.
A) Yes, that happens occasionally; particularly if I forget to call
Dev.off() after closing the window. Just try it again.
B) Instead of calling x11 without arguments, you could pass DISPLAY,
e.g., x11("localhost:0.0").
C) I've seen that suggestion to exit R. Usually I ignore it, and
nothing bad happens.
Good luck
/Christian
=
______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Brian D. Ripley, ripley at 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