[REBOL] Re: a GC bug of the second kind Re:
From: blazs:orac:au at: 27-Sep-2000 2:45
Hello [Al--Bri--xtra--co--nz]
On 25-Sep-00, [Al--Bri--xtra--co--nz] wrote:
>> Jeff already signaled, that List! and Hash! datatypes are being
>> fixed. I
> succeeded to track down the behaviour to the following:
>>
>> h: make hash! 0
>> insert h copy "0123456789"
>> h
>> recycle
>> insert h copy "0123456789"
>> CRASH!
>>
>> just in case you didn't know...
>
> It does the same in this Rebol version:
>
> REBOL/View 0.10.34.3.1 23-Sep-2000
> Copyright 2000 REBOL Technologies. All rights reserved.
>>>
>
> REBOL caused an invalid page fault in module MSVCRT.DLL at
> 015f:78010cc8. Registers:
> EAX=000000ff CS=015f EIP=78010cc8 EFLGS=00010206 EBX=006e03c4
> SS=0167 ESP=0069fc00 EBP=0069fc2c ECX=00000003 DS=0167 ESI=bad1bad1
> FS=72cf EDX=00000805 ES=0167 EDI=bad1bad1 GS=0000 Bytes at CS:EIP:
> 88 07 47 49 0f 84 57 03 ff ff eb f4 8b 44 24 04 Stack dump:
> 0072da9c 0043058c bad1bad1 ffffffff 00000808 006b20e4 0072da9c
> 004349c7 006e29d0 00c00270 0069fc70 0069fc70 0043055a 0072da9c
> 006b20e4 00743088
>
> Andrew Martin
> ICQ: 26227169
> http://members.nbci.com/AndrewMartin/
> http://members.xoom.com/AndrewMartin/
> -><-
>
The Amiga version produced the following result:
>> h: make hash! 0
== make hash! []
>> insert h copy "0123456789"
== make hash! []
>> recycle
>> insert h copy "0123456789"
== make hash! ["0123456789"]
>> rebol/version
== 0.10.31.1.1
>>
No crash here =] ... looks like a problem with the memory handling of
Windoze?
Regards
Blaz