all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 21909@debbugs.gnu.org
Subject: bug#21909: Segfault with eigen in R
Date: Wed, 18 Nov 2015 19:37:12 -0500	[thread overview]
Message-ID: <87twoisu2v.fsf@kyleam.com> (raw)
In-Reply-To: <87pozd3ath.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 13 Nov 2015 21:26:34 +0100")

Ricardo Wurmus <rekado@elephly.net> writes:

> Kyle Meyer <kyle@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

  reply	other threads:[~2015-11-19  0:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13 15:53 bug#21909: Segfault with eigen in R Kyle Meyer
2015-11-13 20:26 ` Ricardo Wurmus
2015-11-19  0:37   ` Kyle Meyer [this message]
2015-11-19  9:39     ` Ludovic Courtès
2015-11-20  0:05       ` Kyle Meyer
2015-11-20  9:58         ` Ludovic Courtès
2015-11-30 23:25           ` Kyle Meyer
2016-03-02 10:40             ` Ricardo Wurmus
2016-03-02 21:09               ` Ludovic Courtès
2016-03-03 20:54                 ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87twoisu2v.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=21909@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.