[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21909: Segfault with eigen in R
From: |
Kyle Meyer |
Subject: |
bug#21909: Segfault with eigen in R |
Date: |
Wed, 18 Nov 2015 19:37:12 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Ricardo Wurmus <address@hidden> writes:
> Kyle Meyer <address@hidden> 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