Subject: bug#21909: Segfault with eigen in R

From: Kyle Meyer <[email-masked]>
Date: Fri, 13 Nov 2015 10:53:42 -0500

Hello,

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?

Thanks.

[1] This is a down-sized version of the snippet from an ATLAS bug report
    in 2011 for a similar error with R 2.14.

    http://sourceforge.net/p/math-atlas/support-requests/792/

--
Kyle