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

Bug in Library Scripts

 [1/5] from: larry:ecotope at: 5-Jun-2001 11:48


Hi all I just discovered a bug in some of the library scripts using REBOL/View/Pro 1.2.0.3.1 on Win98. The bug affects the following scripts: reflect.r grad-col.r gradient.r ellipse.r ;there may be others The scripts do an UNVIEW/ALL followed by VIEW LAYOUT spec, when you click in the window. After about 15 to 30 clicks View crashes with: REBOL caused an invalid page fault in module REBOL.EXE at 0177:00455fd4. ....... Does this also happen on other Win versions or other platforms? CC'd to feedback -Larry

 [2/5] from: arolls:bigpond:au at: 6-Jun-2001 13:19


Yes, I get the same results for those four programs on: Win2k SP2, Rebol/View 1.2.0.3.1 Anton.

 [3/5] from: brett::codeconscious::com at: 6-Jun-2001 13:44


Yup. Win NT4.0 SP4 REBOL/View/Pro 1.2.0.3.1 8-May-2001 Just tried reflect.r Watched the memory for rebol.exe in task manager on each click - 1Mb per click roughly. BTW, wandered around the library and clicked on rebcam which I haven't seen for a while. My they got some strange technology on that pickup truck. :) Brett

 [4/5] from: carl:rebol at: 6-Jun-2001 9:51


Ah, good one. This could be a recursive view problem. We'll have to look into the bug. Send to feedback. The work-around is recognize that the initial view will return after the unview, so a simple loop could be put there, rather than using this recursive method. until [ stop: true view layout page stop ] Then, in the action: stop: false unview/all Less elegant, but should work. -Carl

 [5/5] from: petr:krenzelok:trz:cz at: 7-Jun-2001 6:16


Hi Carl, was bug of using 'call inside of button action block causing rebol crash confirmed? button "Start antivir" [ if not any [empty? user/name empty? user/last-name] [ rebol-user: create-rebol-user _name _last-name save %/C/rebol-user.cfg rebol-user user: do load %/C/rebol-user.cfg ] call join "F:\vymena\antivir\f-prot\f-prot.exe /NOMEM /HARD /DISINF /NOBREAK /REPORT=" join "F:\vymena\spy!\spust-antivir\logs\" compose-name user/last-name user/name wait 2 quit ] In most cases it is OK, but sometimes I simply get rebol crash .... Thanks, -pekr- Carl Sassenrath wrote: