[Rd] Bus Error crash (PR#551)

kjetikj@astro.uio.no kjetikj@astro.uio.no
Mon, 22 May 2000 13:06:50 +0200 (MET DST)


Full_Name: Kjetil Kjernsmo
Version: 1.0.1
OS: osf1
Submission from: (NULL) (129.240.28.227)


Ouch, another obscure bug...
I just had a bus error crash, with a core dump, a small one this time.
Usual <URL:http://www.astro.uio.no/~kjetikj/tmp/core>.
I had done a few simulations, and done a chisq.test() on them.
These simulations also write about 190MB's to file, but
I have no idea whether that is relevant, and those data are not
used. The calls I do look like this:
> ch1 <- chisq.test(t(apply(cbind(rep(5000000, 4)), 1, lineprofile, 1, 100,
"point")))
> ch1

	 Pearson's Chi-square test 

data:  t(apply(cbind(rep(5e+06, 4)), 1, lineprofile, 1, 100, "point")) 
X-squared = 463.8359, df = 300, p-value = 3.726e-09 

> ch1$observed

Process R bus error (core dumped) at Mon May 22 12:38:49 2000


....so it doesn't crash when I print the whole object, but when I 
a vector of the object, it crashes... And, restarting R, it doesn't
happen.

I heard the sysadm who did the installation had some problems,
I don't know what it was about, but if I understood him correctly,
it only happened when he tuned for EV6, so it shouldn't be a problem now, 
I guess....

Kjetil


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._