Dear all, I encountered a core dump like this, (R:24072): Gdk-CRITICAL **: gdk_drawable_get_display: assertion `GDK_IS_DRAWABLE (drawable)' failed *** caught segfault *** address 0x78, cause 'memory not mapped' 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: 1 aborting ... Segmentation fault When I select 1, there is still no saved core dump. I guess because it is not enabled. May I ask how to enable this option? Thanks. -- Wincent Rong-gui HUANG Doctoral Candidate Dept of Public and Social Administration City University of Hong Kong http://asrr.r-forge.r-project.org/rghuang.html [[alternative HTML version deleted]]
On Apr 9, 2010, at 9:59 AM, Wincent wrote:> Dear all, I encountered a core dump like this, > > (R:24072): Gdk-CRITICAL **: gdk_drawable_get_display: assertion > `GDK_IS_DRAWABLE (drawable)' failed > > *** caught segfault *** > address 0x78, cause 'memory not mapped' > > 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: 1 > aborting ... > Segmentation fault > > When I select 1, there is still no saved core dump. I guess because it is > not enabled. May I ask how to enable this option? Thanks.You need to set the resource limits before starting R. Exactly how depends on your operating system (and you didn't tell), and the shell. With bash on unix-alikes, try "help ulimit" which will point you at "ulimit -c 20000" for max 20MB core files.> -- > Wincent Rong-gui HUANG > Doctoral Candidate > Dept of Public and Social Administration > City University of Hong Kong > http://asrr.r-forge.r-project.org/rghuang.html > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
On Fri, 9 Apr 2010, Wincent wrote:> Dear all, I encountered a core dump like this,Or it seems, *no* core dump!> (R:24072): Gdk-CRITICAL **: gdk_drawable_get_display: assertion > `GDK_IS_DRAWABLE (drawable)' failed > > *** caught segfault *** > address 0x78, cause 'memory not mapped' > > 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: 1 > aborting ... > Segmentation fault > > When I select 1, there is still no saved core dump. I guess because it is > not enabled. May I ask how to enable this option? Thanks.What are your OS and shell (R has not disabled it, but your OS probably has)? The usual way to disable this is to set the limit on the coredumpsize to 0, and this seems a common default these days. In csh, use e.g. limit coredumpsize 2000, in bash use e.g. ulimit -c 2000: on my system the limits are in kbytes.> > -- > Wincent Rong-gui HUANG > Doctoral Candidate > Dept of Public and Social Administration > City University of Hong Kong > http://asrr.r-forge.r-project.org/rghuang.html > > [[alternative HTML version deleted]] > > ______________________________________________ > 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