[R-SIG-Mac] Bus error on closing Quartz window

Gad Abraham gabraham at csse.unimelb.edu.au
Fri Mar 6 03:01:08 CET 2009


Hi,

If I run the following code under R.app 2.8.1 (from CRAN) and close the 
Quartz window *before* plotting finishes, it crashes every time.

OS is 10.5.6

Thanks,
Gad


 > matplot(rnorm(1e5))

  *** caught segfault ***
address 0x411040f1, cause 'memory not mapped'

Traceback:
  1: plot.xy(xy, type, ...)
  2: plot.default(x[, 1], y[, 1], type = type[1], xlab = xlab, ylab = 
ylab,     xlim = xlim, ylim = ylim, lty = lty[1], lwd = lwd[1], pch = 
pch[1],     col = col[1], cex = cex[1], bg = bg[1], ...)
  3: plot(x[, 1], y[, 1], type = type[1], xlab = xlab, ylab = ylab, 
xlim = xlim, ylim = ylim, lty = lty[1], lwd = lwd[1], pch = pch[1], 
col = col[1], cex = cex[1], bg = bg[1], ...)
  4: matplot(x)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:

 From before crash:
 > sessionInfo()
R version 2.8.1 (2008-12-22)
i386-apple-darwin8.11.1

locale:
en_AU.UTF-8/en_AU.UTF-8/C/C/en_AU.UTF-8/en_AU.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

-- 
Gad Abraham
MEng Student, Dept. CSSE and NICTA
The University of Melbourne
Parkville 3010, Victoria, Australia
email: gabraham at csse.unimelb.edu.au
web: http://www.csse.unimelb.edu.au/~gabraham



More information about the R-SIG-Mac mailing list