all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Kyle Meyer <kyle@kyleam.com>
Cc: 21909@debbugs.gnu.org
Subject: bug#21909: Segfault with eigen in R
Date: Thu, 19 Nov 2015 10:39:12 +0100	[thread overview]
Message-ID: <87egfmfhvj.fsf@gnu.org> (raw)
In-Reply-To: <87twoisu2v.fsf@kyleam.com> (Kyle Meyer's message of "Wed, 18 Nov 2015 19:37:12 -0500")

I can reproduce the bug with:

   guix environment --pure --ad-hoc r -- R

and then typed “1” to get a core dump, which gives this:

--8<---------------cut here---------------start------------->8---
Core was generated by `/gnu/store/zci2lb9jlc9hlck3x3hc04ab3y86fzf9-r-3.2.2/lib/R/bin/exec/R'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f34616450e0 in dgemv_t_SANDYBRIDGE () from /gnu/store/hw9p1zyn1nh8pbm1cl69nm0i391lk6c7-openblas-0.2.15/lib/libopenblas.so.0
[Current thread is 1 (Thread 0x7f34651307c0 (LWP 3399))]
(gdb) bt
#0  0x00007f34616450e0 in dgemv_t_SANDYBRIDGE () from /gnu/store/hw9p1zyn1nh8pbm1cl69nm0i391lk6c7-openblas-0.2.15/lib/libopenblas.so.0
#1  0x00000000000000a2 in ?? ()

[...]

(gdb) disassemble
Dump of assembler code for function dgemv_t_SANDYBRIDGE:

[...]

   0x00007f34616450cf <+207>:   jle    0x7f3461645140 <dgemv_t_SANDYBRIDGE+320>
   0x00007f34616450d1 <+209>:   nopl   0x0(%rax,%rax,1)
   0x00007f34616450d6 <+214>:   nopw   %cs:0x0(%rax,%rax,1)
=> 0x00007f34616450e0 <+224>:   movsd  (%r9),%xmm0

[...]

(gdb) p $r9        
$1 = 4016
--8<---------------cut here---------------end--------------->8---

My CPU seems to be a Sandy Bridge:

--8<---------------cut here---------------start------------->8---
$ cat /proc/cpuinfo  | grep ^model | head -2
model           : 42
model name      : Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz
--8<---------------cut here---------------end--------------->8---

Might be useful to report it upstream?

Thanks,
Ludo’.

  reply	other threads:[~2015-11-19  9:40 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
2015-11-19  9:39     ` Ludovic Courtès [this message]
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=87egfmfhvj.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=21909@debbugs.gnu.org \
    --cc=kyle@kyleam.com \
    /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.