From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: bug#21909: Segfault with eigen in R Date: Wed, 18 Nov 2015 19:37:12 -0500 Message-ID: <87twoisu2v.fsf@kyleam.com> References: <874mgpj3p5.fsf@kyleam.com> <87pozd3ath.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzDEk-0003hA-N1 for bug-guix@gnu.org; Wed, 18 Nov 2015 19:38:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzDEg-0005El-MK for bug-guix@gnu.org; Wed, 18 Nov 2015 19:38:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzDEg-0005EY-IB for bug-guix@gnu.org; Wed, 18 Nov 2015 19:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZzDEg-0004t6-CF for bug-guix@gnu.org; Wed, 18 Nov 2015 19:38:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87pozd3ath.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 13 Nov 2015 21:26:34 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: 21909@debbugs.gnu.org Ricardo Wurmus writes: > Kyle Meyer 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