Caught Bus Error
Contents |
here for a quick overview of the
Bus Error 10
site Help Center Detailed answers to any questions you bus error c++ might have Meta Discuss the workings and policies of this site About Us Learn
Bus Error Linux
more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags bus error core dumped Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up R ffdfappend SIGBUS error up vote 2 down vote favorite bus error 10 mac I have an R script which uses the ffbase and ff packages. In Windows the script runs fine. In Linux (different box, higher RAM though) it crashes with a bus (SIGBUS) error. Windows (Version 6.1.7601) session info: R version 3.1.0 (2014-04-10) Platform: x86_64-w64-mingw32/x64 (64-bit) attached packages: ffbase_0.11.3 ff_2.2-13 bit_1.1-12 Linux (Linux xenja 3.5.0-54-generic #81~precise1-Ubuntu SMP Tue Jul 15 04:02:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux) session info: R version 3.1.1 (2014-07-10) Platform: x86_64-pc-linux-gnu (64-bit) attached packages: ffbase_0.11.3 ff_2.2-13 bit_1.1-12 The point where the R script crashes is located within a loop, which repeatedly reads different files contents and concatenates them in an ff data-frame via the ffdfappend function. The loop is the following: working_dir<-getwd() for(clan_i in levels(data$clan_id)){ curr_run_name<-paste('clan_',clan_i,sep='') curr_working_dir<-paste(working_dir,curr_run_name,sep='/') setwd(curr_working_dir) prinsout_score_files<-list.files(pattern="^score_.*\\.ent\\.gz\\.txt$") clan_i_scores<-c() for(prinsout_score_file_i in prinsout_score_files){ prinsout_score_i<-read.table(prinsout_score_file_i,header=T, row.names=NULL, stringsAsFactors=F) if(nrow(prinsout_score_i) > 0){ prinsout_score_i$pdb_id<-gsub('.*pdb([^\\.]+).*','\\1',prinsout_score_file_i) prinsout_score_i$aa<-factor(prinsout_score_i$aa) prinsout_score_i$chain<-factor(prinsout_score_i$chain) clan_i_scores<-rbi
in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Crash due to extreme example Hello, I was trying this bit of code
Fortran Bus Error
(i know it is an extreme case) g=function(r){ if(r==1) python bus error return(list(x=1)) else return(list(x=g(r-1))) } For z=g(500), the code runs
Bus Error (core Dumped) Ubuntu
but when I print z i.e >> z I get
1 #1 2011-07-08 13:39:32 agkbill Member Registered: 2011-06-13 Posts: 85 [SOLVED] rtorrent. Caught Bus error dumping stack. Hi,I am experience problems with rtorrent, it have been running very nice for some weeks. But not any more.I get:christer ~ $ rtorrent Caught Bus error, https://bbs.archlinux.org/viewtopic.php?id=122267 dumping stack: Stack dump not enabled. A bus error probably means you ran out of diskspace. Aborted christer ~ $When I check diskspace it looks like that is not the issue here.christer ~ $ df Filesystem https://www.princexml.com/forum/topic/354/mercury-runtime-caught-bus-error-on-osx Size Used Avail Use% Mounted on udev 10M 0 10M 0% /dev run 10M 168K 9.9M 2% /run /dev/sda3 12G 4.2G 6.9G 38% / shm 120M 0 120M 0% /dev/shm /dev/sdb1 76G 32G 41G 44% /media/torr bus error christer ~ $Folders belongin to rtorrent are located on a external USB disk /dev/sdb-Downloads-torrents-sessionI mount the USB disk at /media/torr.Disks look like.christer ~ $ sudo fdisk -ls Password: Disk /dev/sda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders, total 78140160 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00077627 Device bus error 10 Boot Start End Blocks Id System /dev/sda1 2048 52537343 26267648 83 Linux /dev/sda2 77160195 78140159 489982+ 83 Linux /dev/sda3 * 52537344 77160194 12311425+ 83 Linux Partition table entries are not in disk order Disk /dev/sdb: 82.0 GB, 81963515904 bytes 255 heads, 63 sectors/track, 9964 cylinders, total 160084992 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00096092 Device Boot Start End Blocks Id System /dev/sdb1 2048 160083967 80040960 83 Linux christer ~ $ Any ideas what it could be or how to pinpoint what the problem is?Thank you!All the best./Christer Last edited by agkbill (2011-07-10 09:41:27) Offline #2 2011-07-08 14:30:38 Inxsible Forum Fellow From: Chicago Registered: 2008-06-09 Posts: 9,079 Re: [SOLVED] rtorrent. Caught Bus error dumping stack. Can we see your rtorrent.rc ? Forum RulesThere's no such thing as a stupid question, but there sure are a lot of inquisitive idiots ! Offline #3 2011-07-08 15:43:37 agkbill Member Registered: 2011-06-13 Posts: 85 Re: [SOLVED] rtorrent. Caught Bus error dumping stack. My rtorrent.rc file.# This is an example resource file for rTorrent. Copy to # ~/.rtorrent.rc and enable/modify the options as needed. Remember to # uncomment the options you wish to enable. # Maximum and
got the following error: *** Mercury runtime: caught bus error ***cause: invalid address alignmentaddress involved: 0x0This may have been caused by a stack overflow, due to unbounded recursion.exiting from signal handler Machine Name: Power Mac G5 Machine Model: PowerMac7,3 CPU Type: PowerPC G5 (3.0) Number Of CPUs: 2 CPU Speed: 2.3 GHz L2 Cache (per CPU): 512 KB Memory: 1 GBIs there anything I can do to fix this.RegardsBigD mikeday 15 Mar 2007 Could you try Prince on some other documents and see if you get the same result? In particular, how about a very simple document like this: