[Rd] Segfault with too many menu items on Rgui

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Apr 3 12:30:32 CEST 2006


It was a simple typo, coming into play at the 101st menu item: fixed now.

On Fri, 31 Mar 2006, James MacDonald wrote:

> Hi all,
>
> In the CHANGES file for R-2.3.0alpha, there is the following
> statement:
>
> winMenuAdd() now has no limits on the number of menus or items, and
> names are now limited to 500 (not 50) bytes.
>
> However, I can reproducibly get a segfault using this (admittedly
> silly) example:
>
> for( i in 1:5) winMenuAdd(paste("Test", letters[i], sep=""))
> for(i in 1:5) for(j in 1:24) winMenuAddItem(paste("Test", letters[i],
> sep=""), as.character(j), paste(rep(letters[j], 4), collapse=""))
>
> This is probably almost never a problem, but many Bioconductor packages
> have vignettes that are added to a 'Vignettes' menu item. If you load
> enough of these packages you will get a segfault.
>
>> version
>               _
> platform       i386-pc-mingw32
> arch           i386
> os             mingw32
> system         i386, mingw32
> status         alpha
> major          2
> minor          3.0
> year           2006
> month          03
> day            29
> svn rev        37607
> language       R
> version.string Version 2.3.0 alpha (2006-03-29 r37607)
>
> Best,
>
> Jim
>
>
>
> James W. MacDonald, M.S.
> Biostatistician
> Affymetrix and cDNA Microarray Core
> University of Michigan Cancer Center
> 1500 E. Medical Center Drive
> 7410 CCGC
> Ann Arbor MI 48109
> 734-647-5623
>
>
> **********************************************************
> Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.
>
> ______________________________________________
> 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



More information about the R-devel mailing list