Re: [R] bus error macosx/off-topic

About this list Date view Thread view Subject view Author view Attachment view

From: Prof Brian Ripley (ripley@stats.ox.ac.uk)
Date: Wed 12 May 2004 - 22:52:31 EST


Message-id: <Pine.LNX.4.44.0405121350080.16719-100000@gannet.stats>

These normally occur (at that point) from having written off one end of an
array. (If you are using .C/.Fortran, they try to copy back the
arguments.) Compiling with bounds checking turned on can help, at least
with Fortran.

On Wed, 12 May 2004, Ingmar Visser wrote:

> I'm building a package using C/C++ and Fortran code which usually runs fine.
> However I do get occasional bus errors around the time of exiting one of the
> C functions.
>
> Where do I need to be looking to solve this problem?
> Do bus errors stem from unmapped memory exceptions? How can I find out if
> that is what is happening while running R?

-- 
Brian D. Ripley,                  ripley@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

______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:09 EST