[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-mac
Subject:    [R-SIG-Mac] *** caught bus error *** address 0x1143d2c7b,
From:       "Richard R. Liu" <richard.liu () pueo-owl ! ch>
Date:       2009-12-08 0:15:47
Message-ID: 8FAF9B30-3E96-46A9-AA3F-AD624CB43318 () pueo-owl ! ch
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Using R version 2.10.1 RC (2009-12-06 r50681) in 64-bit mode (R.app  
GUI 1.30 (5528) x86_64-apple-darwin9.8.0) on a MacBook Pro 17" unibody  
early 2009 with 8GB RAM.  The following code is causing the error  
message "*** caught bus error *** address 0x1143d2c7b, cause 'non- 
existent physical address'"

 > library(filehash)
 > db <- dbInit("/Volumes/Work on RDR Test Documents/R Databases/ 
DB_TXT", type = "RDS")
 > dbLoad(db)
 >
 > sent.all <- unlist(sentences.all)[-index.tokenless.sentences]
 > i.samp <- sample(c(1:length(sent.all)), 100)
 > sent.all[which(sentences.most.predicted.rf_003_2009.12.07[i.samp]  
== F)]

sentences.all is a data frame in the filehash database.  It is loaded  
into the environment with the dbLoad statement.  More precisely, it is  
"lazy loaded."

If I first assign  
which(sentences.most.predicted.rf_003_2009.12.07[i.samp] == F) to,  
say, iF, then evaluate sent.all[iF], the error does not occur.

I thought I solved this problem the last time it plagued me by  
downloading the source from CRAN instead of the binary.  I did that  
again before attempting to reproduce the error, but this time it  
didn't help.  I wish I could supply more information, but the error  
message isn't at all helpful.

I only suspect filehash because (a) it evidently hasn't be updated in  
a while, and (b) the lazy loading mechanism could be playing a role,  
even though the statement sent.all <- unlist(sentences.all)[- 
index.tokenless.sentences] seems to create a copy.

Can anybody suggest how I can at least identify where the error is  
actually occurring?  I am not a programmer, have not debugging tools  
installed, could probably install one, but would need very detailed  
instructions about  using it.

Thanks,
Richard

Richard R. Liu
Dittingerstr. 33
CH-4053 Basel
Switzerland

Tel.:  +41 61 331 10 47
Mobil: +41 79 708 67 66
Email:  richard.liu@pueo-owl.ch




["smime.p7s" (smime.p7s)]

0	*H
 010	+0	*H
 /00Q ĞU5$}/]0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090328144534Z
100328144534Z0I10UThawte Freemail Member1&0$	*H
	richard.liu@pueo-owl.ch0"0
	*H
0
OHШL
{-;s0%dv3Ti#qtm~v6f!A \
QXYH)`F/M3-H+RsoMo=(/I^ ߎ \
9ȝ6ԃYzg95ū}܈q?)~wA'Ǽ1,"aU^5Ύ:o) \
-&/8Cre]_f0}96|-'aP4020"U0richard.liu@pueo-owl.ch0U00
 	*H
W)`յ&.3xyk[KZy:,
FxV҇68xݷB[ҖHe \
0Be)i{S@-3Co2ZgqWlY".c{\uUr0?0 
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte \
Personal Freemail CA1+0)	*H 	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08 \
6 42http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 \
010UPrivateLabel2-1380 	*H
HP.
fg CL!6-6/P p<ab:~t%Pb'qW%ݩ9 \
Oe_N4[5MwV!x!5$F]_eO100v0b10	UZA1%0#U \
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing \
CAĞU5$}/]0	+ o0	*H 	1	*H
0	*H
	1
091208001548Z0#	*H
	1TJ]1kW_ׅ0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing \
CAĞU5$}/]0*H 	1x v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing \
CAĞU5$}/]0 	*H
/'Å6 c?";GȰ.|2ۀޕclُˎ&-+SWXx5/WZ^JSCO
 s7;'V43P:Z@A-8\:6i֩L-Xd"ʳb2W. \
/<oJrBh'D_ohxa4{U#  Q,["\FrM7e	eElim!r|!wRlͱ



_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic