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

view bug or bad coding?

 [1/5] from: rebol665:ifrance at: 4-Aug-2002 10:19


Hi rebollers, View bug or bad coding? Since the bêta VIEW was released, I have a piece of code that crashes. Here is a very simplified version. Could you test this code and tell me how it works for you ? Any idea of the origin of the problem ? The following line is responsable for the problem: bitmap: make image! none As is, the code will crash. Commented, it is ok. The error is : VIEW1207031 a causé une défaillance de page dans le module VIEW1207031.EXE à 017f:00443ee3. Registres : EAX=00000000 CS=017f EIP=00443ee3 EFLGS=00010246 EBX=00000001 SS=0187 ESP=006bed78 EBP=00c3ed90 ECX=0000001e DS=0187 ESI=00e7cabc FS=0f9f EDX=00000000 ES=0187 EDI=00e79814 GS=0000 Octets à CS : EIP : 08 58 0d 8b 46 04 08 58 0d ff 4c 24 14 83 c6 10 État de la pile : 00c3ed90 00e797f4 00e74188 00000001 00443edc 00000002 0000001d 00c3ed90 00e796d4 00e61c58 00000001 00443edc 00000002 0000001c 00c3ed90 00e79714 Patrick 8< - - - - - - - - - - - - - - - - - - - - - - - - - - Rebol [] tl-critere: ["1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" 15 "16"] obj: make object! [ c: array 16 ;---------------------------------- :( uncommenting -> crash ! ! ! bitmap: make image! none layout1: layout [ style mytext text 100x18 right style mycheck check 18x18 vignette: box 256x320 yellow below guide mytext tl-critere/1 mytext tl-critere/2 mytext tl-critere/3 mytext tl-critere/4 return c1: mycheck c2: mycheck c3: mycheck c4: mycheck do [ c/1: c1 c/2: c2 c/3: c3 c/4: c4 ] return do [ print "layout 4.01"] ; debug mytext tl-critere/5 mytext tl-critere/6 return button "That's all folks !" [unview] do [ print "layout 4.02"] ; debug ] ] view center-face obj/layout1 8< - - - - - - - - - - - - - - - - - - - - - - - - - -

 [2/5] from: brett:codeconscious at: 4-Aug-2002 19:32


bitmap: make image! none Crashes for me too. A crash should never happen. You should let feedback know about it. Regards, Brett.

 [3/5] from: carl:cybercraft at: 4-Aug-2002 23:14


On 04-Aug-02, Brett Handley wrote:
> bitmap: make image! none > Crashes for me too. A crash should never happen. > You should let feedback know about it.
Indeed. I haven't the beta, but I don't get a crash in View 1.2...
>> x: make image! none
== make image! [0x0 #{}] I assume make image! 1x1 works? But I'm curious. What use is a non image? Can you alter the sizes of images after they've been created? I know this doesn't work...
>> x/size: 2x2
== 0x0
>> x
== make image! [0x0 #{}]
>>
-- Carl Read

 [4/5] from: ptretter:charter at: 4-Aug-2002 7:59


Crashes on this version:
>> system/build
== 6-May-2002/18:05:54-7:00
>> system/version
== 1.2.5.3.1 Works on this version:
>> system/build
== 21-Jun-2001/10:34:13-7:00
>> system/version
== 1.2.1.3.1
>> system/product
== View
>>
Paul Tretter

 [5/5] from: philb::upnaway::com at: 5-Aug-2002 8:01


Hi, Crashes on the newest beta as well ...
>> system/build
== 3-Aug-2002/1:26:31-7:00
>> system/version
== 1.2.8.3.1 Cheers Phil === Original Message === Crashes on this version:
>> system/build
== 6-May-2002/18:05:54-7:00
>> system/version
== 1.2.5.3.1 Works on this version:
>> system/build
== 21-Jun-2001/10:34:13-7:00
>> system/version
== 1.2.1.3.1
>> system/product
== View
>>
Paul Tretter