[Rd] segfault with layout() after closing X11() device (PR#8970)

dmaszle at mendelbio.com dmaszle at mendelbio.com
Tue Jun 13 01:31:32 CEST 2006


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))



More information about the R-devel mailing list