[R] Segmentation fault when using "plot" function

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Mar 17 18:02:10 CET 2011


On Thu, 17 Mar 2011, Henrik Bengtsson wrote:

> On Thu, Mar 17, 2011 at 6:58 AM, cchace <cchace at wellington.com> wrote:
>>
>> I frequently get a segmentation fault error when using the "plot" command.
>> It happens about half the time.
>>
>> We are running an old version of R (R version 2.8.0 (2008-10-20) on Linux.
>>
>> I did a quick search for this problem and didn't find anything. Apologies if
>> I missed it.
>
> Eventually some kind person with lots of extra time on his/her hand
> will install R v2.8.0 on their machine, try to reproduce the problem,
> troubleshoot it, fix the bug, and provide you with a customized
> retroactive patched R v2.8.0 that you could install.  While waiting
> for that to happen, you may want to try out R v2.12.2.

If the bug is in R: it looks much more likely to be in the locale 
handling of the X11 functions of the unstated (but probably old and 
unpatched) version of 'Linux'.

>>  *** Process received signal ***
>>  Signal: Segmentation fault (11)
>>  Signal code: Address not mapped (1)
>>  Failing at address: 0x231e18f22
>>  [ 0] /lib64/libc.so.6 [0x3c84a300a0]
>>  [ 1] /lib64/libc.so.6(strlen+0x10) [0x3c84a76090]
>>  [ 2] /usr/lib64/libX11.so.6 [0x3c8765d101]
>>  [ 3] /usr/lib64/libX11.so.6(_XlcCreateLC+0x46) [0x3c8765e5d6]
>>  [ 4] /usr/lib64/libX11.so.6(_XlcUtf8Loader+0x10) [0x3c8767ebe0]
>>  [ 5] /usr/lib64/libX11.so.6(_XOpenLC+0x104) [0x3c87665674]
>>  [ 6] /usr/lib64/libX11.so.6(_XlcCurrentLC+0x8) [0x3c87665768]
>>  [ 7] /usr/lib64/libX11.so.6(XSupportsLocale+0x9) [0x3c87665b59]
>>  [ 8] /usr/lib64/R/modules//R_X11.so(X11_Open+0x51) [0x2aaab8a32581]

That is all that was useful

-- 
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-help mailing list