Thank you, both prof Brian and Peter. OS is ubuntu with bask.

rghuang@ubuntu:~$ ulimit -c 2000
## it works
rghuang@ubuntu:~$ R

> sessionInfo()
R version 2.11.0 beta (2010-04-07 r51635)
x86_64-unknown-linux-gnu

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

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

other attached packages:
[1] RQDA_0.1-9           igraph_0.5.3         gWidgetsRGtk2_0.0-64
[4] gWidgets_0.0-40      RSQLite_0.8-3        DBI_0.2-5

loaded via a namespace (and not attached):
[1] RGtk2_2.12.18 tools_2.11.0


On 9 April 2010 17:28, Prof Brian Ripley <ripley@stats.ox.ac.uk> wrote:

> 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@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
> --
> Brian D. Ripley,                  ripley@stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/<http://www.stats.ox.ac.uk/%7Eripley/>
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>



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

