Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] A Rebol Read Bug ?

From: gchillemi::aliceposta::it at: 7-Dec-2007 15:04

Hello, I have ended the program which mirrors the news content from a site but I am facing a Rebol bug. After about 2500 "attempt [Read/Lines to-url mynews]" attempt start returning a failure. I have opened a new Rebol session and the page has been read correctly. Then I have stopped the script which was giving me the error and started by hand the "Read/lines mynews" command obtaining the following error: ** Access Error: Cannot connect to www.shashdot.org ** Where: open-proto ** Near: read/lines http://www.shashdot.org/newsxxxxxxxxxxx.html Despite the size of the script the main loop is a simple one: it does only read the news as written before and if succeds the other operations starts. There is surely a bug in Rebol which triggers after about 2500 reads. here is the STATS ouput if needed: print [stats/types] end! 8382 unset! 8038 error! 3 datatype! 1198 context! 0 native! 278 action! 247 routine! 0 op! 34 function! 1217 object! 4815 struct! 0 library! 0 port! 1841 any-type! 0 any-word! 0 any-function! 0 number! 0 series! 0 any-string! 0 any-block! 0 symbol! 2931 word! 92679 set-word! 10224 get-word! 622 lit-word! 1805 refinement! 1990 none! 31117 logic! 1064 integer! 14651 decimal! 63 money! 0 time! 6 date! 40 char! 848 pair! 1157 event ! 5 tuple! 1556 bitset! 37 string! 28065 issue! 149 binary! 14 file! 140 email! 7 url! 290 tag! 14 image! 117 block! 17145 paren! 944 path! 10715 set-path! 2139 lit-path! 0 hash! 0 list! 0 print [stats/series] 88576 39429 27183 22 21942 19451 1042101 print [stats/frames] 4608 4396 212 212 61287 print [stats/recycle] 5757 141659419 8186 3233249 251 1259376 print [stats/evals] 149435427 64100496 10721925 print [stats/pools] 16 13056 228 256 51 209304 32 13056 7307 128 102 418608 48 15744 31 128 123 756696 64 19712 7977 64 308 12640 32 80 6080 24 64 95 487160 96 4512 914 32 141 434280 112 7072 5063 32 221 793832 128 2688 1371 32 84 344736 1 44 1184 588 32 37 170792 160 1024 557 32 32 164096 176 928 648 32 29 163560 192 928 591 32 29 178408 208 1184 61 32 37 246568 224 736 549 32 23 165048 240 192 1 32 6 46128 256 1216 30 32 38 311600 512 1504 541 16 94 77 0800 1024 1392 195 8 174 1426800 2048 96 30 8 12 196704 4096 1500 464 4 375 6147000 16 88576 19394 512 173 14 18600 16 4608 212 256 18 73872 1 1847296 45 1 0 0 Giuseppe Chillemi