From jtlindgr at cs.Helsinki.FI  Mon Mar 27 20:43:16 2006
From: jtlindgr at cs.Helsinki.FI (jtlindgr at cs.Helsinki.FI)
Date: Mon, 27 Mar 2006 20:43:16 +0200 (CEST)
Subject: [Rd] Matrix inner product crashes on x86_64 (PR#8715)
Message-ID: <20060327184316.9849042658@slim.kubism.ku.dk>


Matrix inner product seems to crash R2.2.1 on a 64bit arch. 
More precisely, the crash happens atleast if the matrix is 
non-square. The bug can be reproduced (atleast here) with

bash$ bin/R
> X<-matrix(data=0,nrow=100,ncol=10);
> mat<-X%*%t(X);
Illegal instruction
bash$

The crash doesnt happen if the matrix is specified square,
e.g. 10x10. The underlying OS was

Linux version 2.6.12-xeon-csl3 (root at chuck) (gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)) #1 SMP Wed Feb 22 18:34:17 EET 2006

and its running on Intel(R) Xeon(TM) MP CPU 3.66GHz.

I configured R from the source tar.gz myself; each phase of 
"./configure --with-x=no ; make ; make install" 
passed without aborting on any errors.


Cheers,
J.

--please do not edit the information below--

Version:
 platform = x86_64-unknown-linux-gnu
 arch = x86_64
 os = linux-gnu
 system = x86_64, linux-gnu
 status = 
 major = 2
 minor = 2.1
 year = 2005
 month = 12
 day = 20
 svn rev = 36812
 language = R

Locale:
LC_CTYPE=fi_FI at euro;LC_NUMERIC=C;LC_TIME=en_US.ISO-8859-15;LC_COLLATE=en_US.ISO-8859-15;LC_MONETARY=fi_FI at euro;LC_MESSAGES=en_US.ISO-8859-15;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C

Search Path:
 .GlobalEnv, package:methods, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, Autoloads, package:base



[Rd] Matrix inner product crashes on x86_64 (PR#8715)
jtlindgr at cs.Helsinki.FI