a GC bug of the second kind
[1/13] from: lmecir::geocities::com at: 24-Sep-2000 10:59
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...
Regards
Ladislav
[2/13] from: al:bri:xtra at: 25-Sep-2000 12:47
> 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"
<<quoted lines omitted: 3>>
> 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/
[3/13] 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
<<quoted lines omitted: 26>>
> 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
[4/13] from: doug:vos:eds at: 26-Sep-2000 12:49
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"]
[5/13] from: cpicker:earthlink at: 26-Sep-2000 13:09
Please unsubscribe me.
Thanks.
CP
[6/13] from: rebol:keithdevens at: 26-Sep-2000 13:56
Unsubscribe yourself :-P
Send a message to the list with a subject of "unsubscribe" (make sure you
spell it right)
Keith
[7/13] from: doug:vos:eds at: 26-Sep-2000 14:05
Oh wow! What did I say?
Did you get to this part...NO CRASH.
[8/13] from: al:bri:xtra at: 27-Sep-2000 8:36
Blaz wrote:
> No crash here =] ... looks like a problem with the memory handling of
Windoze?
It was a problem with a older version of Rebol being distributed. The very
latest version fixes this problem.
Andrew Martin
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
http://members.xoom.com/AndrewMartin/
[9/13] from: ptretter:charter at: 26-Sep-2000 16:53
Just what is the GC bug?
[10/13] from: al:bri:xtra at: 28-Sep-2000 10:31
ptretter wrote:
> Just what is the GC bug?
A bug that Rebol crew haven't fixed yet. :-) Unfortunately I've forgotten
the example code that made Rebol crash. :-( Anyone?
Andrew Martin
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
http://members.xoom.com/AndrewMartin/
[11/13] from: lmecir:geocities at: 28-Sep-2000 5:16
Hi,
example code:
word: use [a] [a: 11 'a]
get word
recycle
get word
CRASH!
Ladislav
[12/13] from: jsc:dataheaven at: 28-Sep-2000 5:58
On Thu, 28 Sep 2000, you wrote:
> Hi,
> example code:
<<quoted lines omitted: 4>>
> CRASH!
> Ladislav
Hm... I thought the GC-Bug with bindings of indefinite extent was
solved???
But you're right it crashes (actual REBOL/View [Linux x86 glibc6])
Regards
Jochen
[13/13] from: ptretter:charter at: 28-Sep-2000 15:13
I see. However, on WIN2k Advanced server it just disappears with not even
the rebol.exe process running.
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted