View Lockup when using 'save/png with a 'wait ...
[1/6] from: carl:cybercraft at: 23-Jul-2001 17:34
I've just reported the following bug to Feedback, but I wonder if any
others get the same results? ...
---8<---
View locks up for me with the following...
for n 1 5 1 [save/png %test.png to-image layout [text "test"] wait 5]
>From the Console that'll save the image twice but then lockup, the
Console requiring a Ctrl C to shut it down. No error messages are
given. If however I place a 'print before the 'wait like so...
for n 1 5 1 [save/png %test.png to-image layout [text "test"] print n
wait 5]
there's no lockup, the image being saved five times as expected.
---8<---
--
Carl Read
[carl--cybercraft--co--nz]
[2/6] from: rotenca:telvia:it at: 23-Jul-2001 13:27
> I've just reported the following bug to Feedback, but I wonder if any
> others get the same results? ...
I do have not your bug:
>> for n 1 5 1 [save/png %test.png to-image layout [text "test"] wait 5]
== none
---
Ciao
Romano
[3/6] from: arolls:bigpond:au at: 23-Jul-2001 21:51
I also do not see this bug in win2k, with
a fresh REBOL/View 1.2.1.3.1 21-Jun-2001.
Anton.
[4/6] from: carl::cybercraft::co::nz at: 24-Jul-2001 0:05
On 23-Jul-01, Romano Paolo Tenca wrote:
>> I've just reported the following bug to Feedback, but I wonder if
>> any others get the same results? ...
> I do have not your bug:
>>> for n 1 5 1 [save/png %test.png to-image layout [text "test"] wait
>>> 5]
> == none
Hmmm. Perhaps it's Amiga only?
> ---
> Ciao
> Romano
--
Carl Read
[carl--cybercraft--co--nz]
[5/6] from: rotenca:telvia:it at: 23-Jul-2001 14:52
> >>> for n 1 5 1 [save/png %test.png to-image layout [text "test"] wait
> >>> 5]
> > == none
>
> Hmmm. Perhaps it's Amiga only?
I Window (Double Sic). My Amigas (from 500 to cd32, thru cdtv, 3000, 1200 and
so on) are all around.
---
Ciao
Romano
[6/6] from: mbicanic:open:hr at: 24-Jul-2001 0:06
CR>>> I've just reported the following bug to Feedback, but I wonder if
CR>>> any others get the same results? ...
CR>> I do have not your bug:
CR>>>> for n 1 5 1 [save/png %test.png to-image layout [text "test"] wait
CR>>>> 5]
CR>> == none
CR> Hmmm. Perhaps it's Amiga only?
I think Amiga version have problems with 'wait.
You can try:
loop 10 [ print 1 wait 1]
Maybe few times it works OK, but after that REBOL goes to deadloop
(randomly).
Even in your exaple:
for n 1 5 1 [save/png %test.png to-image layout [text "test"] print n wait 5]
if I try it few times, REBOL lockups.
Regards.mb