GNU bug report logs -
#21909
Segfault with eigen in R
Previous Next
Reported by: Kyle Meyer <kyle <at> kyleam.com>
Date: Fri, 13 Nov 2015 16:07:02 UTC
Severity: normal
Done: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Ricardo Wurmus <rekado <at> elephly.net> writes:
> Kyle Meyer <kyle <at> kyleam.com> writes:
>
>> With R 3.2.2 built from r in statistics.scm (guix 0.9.0), I'm seeing a
>> segfault when eigen is called with a matrix over some size. I can
>> trigger the error with the following code [1]:
>>
>> > M <- 50
>> > N <- 500
>> > eigen(crossprod(matrix(rnorm(M * N), M, N)))
>>
>> *** caught segfault ***
>> address 0xfb0, cause 'memory not mapped'
>>
>> Traceback:
>> 1: eigen(crossprod(matrix(rnorm(M * N), M, N)))
>>
>> Can others reproduce this?
>
> I can reproduce this running R 3.2.2 on GuixSD on a x86_64 machine.
I haven't had any luck resolving this aside from just using R's internal
BLAS by removing "--with-blas=openblas" and "--with-lapack" from the
configure flags.
--
Kyle
This bug report was last modified 9 years and 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.