REBOL/Core 2.3.0.3.1
Copyright 1997-2000 REBOL Technologies
REBOL is a Trademark of REBOL Technologies
All rights reserved.

Component: "Internet Protocols" (17-Jun-2000/1:53:16)
Finger protocol loaded
Whois protocol loaded
Daytime protocol loaded
SMTP protocol loaded
POP protocol loaded
HTTP protocol loaded
FTP protocol loaded
NNTP protocol loaded
Script: "User Preferences" (3-Aug-2000)
>> h: make hash! 0
== make hash! []
>> insert h copy "0123456789"
== make hash! []
>> h
== make hash! ["0123456789"]
>>
!CRASH 
The hash-crash on Windows 95!

So, I ask the question  - why did you initialize to size 0??
Try the same thing with initialize of size 10: 
h: make hash! 10

>> h: make hash! 10
== make hash! []
>> insert h copy "0123456789"
== make hash! []
>> h
== make hash! ["0123456789"]
>> recylce
** Script Error: recylce has no value.
** Where: recylce
>> recycle
>> insert h copy "0123456789"
== make hash! ["0123456789"]
>>
NO CRASH.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 12:45 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [REBOL] Re: a GC bug of the second kind Re:


Hello [EMAIL PROTECTED]

On 25-Sep-00, [EMAIL PROTECTED] 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

Reply via email to