dmaszle at mendelbio.com
2006-Jun-12 23:31 UTC
[Rd] segfault with layout() after closing X11() device (PR#8970)
Full_Name: Don Maszle Version: 2.3.0 OS: Solaris 9 - 64 bit compile Submission from: (NULL) (206.86.87.3) After closing an X11() window by either clicking on the close button or by calling dev.off(), R 2.3.0 segfaults as shown below. Calling layout() before any X11() device is opened just opens a new device and applies the layout. $ R R : Copyright 2006, The R Foundation for Statistical Computing Version 2.3.0 (2006-04-24) ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.> X11() > layout(matrix(1:2,1,2)) > # close window with mouse, or call dev.off() > layout(matrix(1:2,1,2))*** caught segfault *** address 0, cause 'memory not mapped' Traceback: 1: X11() 2: layout(matrix(1:2, 1, 2))
ripley at stats.ox.ac.uk
2006-Jun-13 10:07 UTC
[Rd] segfault with layout() after closing X11() device (PR#8970)
I unable to reproduce this on my Solaris 8 64-bit systems (neither compiled with gcc nor cc) nor any other 64-bit system. If possible, can you run R under a suitable debugger (e.g. R -d gdb for gcc) and find out what is pointing to address zero. On Tue, 13 Jun 2006, dmaszle at mendelbio.com wrote:> Full_Name: Don Maszle > Version: 2.3.0 > OS: Solaris 9 - 64 bit compile > Submission from: (NULL) (206.86.87.3) > > > After closing an X11() window by either clicking on the close button > or by calling dev.off(), R 2.3.0 segfaults as shown below. Calling layout() > before any X11() device is opened just opens a new device and applies the > layout. > > $ R > > R : Copyright 2006, The R Foundation for Statistical Computing > Version 2.3.0 (2006-04-24) > ISBN 3-900051-07-0 > > R is free software and comes with ABSOLUTELY NO WARRANTY. > You are welcome to redistribute it under certain conditions. > Type 'license()' or 'licence()' for distribution details. > > R is a collaborative project with many contributors. > Type 'contributors()' for more information and > 'citation()' on how to cite R or R packages in publications. > > Type 'demo()' for some demos, 'help()' for on-line help, or > 'help.start()' for an HTML browser interface to help. > Type 'q()' to quit R. > >> X11() >> layout(matrix(1:2,1,2)) >> # close window with mouse, or call dev.off() >> layout(matrix(1:2,1,2)) > > *** caught segfault *** > address 0, cause 'memory not mapped' > > Traceback: > 1: X11() > 2: layout(matrix(1:2, 1, 2)) > > ______________________________________________ > 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
Seemingly Similar Threads
- gc()$Vcells < 0 (PR#9345)
- coplot panels malrendered / 1653 (PR#2824)
- help.search(): "Error in .readRDS(hs_file) : error reading from connection" (PR#13591)
- dovecot v2.3.0: imap segfault when sieve_extprograms_plugin.so called
- [ wxruby-Bugs-6808 ] Double-free segfault on closing app when BitmapButton has been used