REBOL3 tracker
  0.9.12 beta
Ticket #0000953 User: anonymous

Project:



rss
TypeBug Statustested Date21-Jun-2009 22:57
Versionalpha 58 Categoryn/a Submitted bySunanda
PlatformAll Severitycrash Priorityhigh

Summary Crash on large reduced blocks.
Description [previously reported as a note to cc#950]

a: copy [] loop 250'000 [append a random/secure 1000]
join [] a

Windows crash:
Problem signature:
Problem Event Name: APPCRASH
Application Name: r3-a57.exe
Application Version: 0.0.0.0
Application Timestamp: 4a395fa7
Fault Module Name: r3-a57.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4a395fa7
Exception Code: c0000005
Exception Offset: 00002e11
OS Version: 6.0.6002.2.2.0.768.3
Locale ID: 2057
Additional Information 1: 8914
Additional Information 2: f56d981f250055a57ac399c8818ff647
Additional Information 3: c14f
Additional Information 4: 6d48cc2273a114c10b9f7d00076a76b0
Example code
a: copy [] loop 250'000 [append a random/secure 1000]
join [] a

;simplification of bug (removing mezz layers) is:
a: copy [] loop 4090 [append a 1]
reduce a ; a very large evaluation
recycle

Assigned ton/a Fixed inalpha 64 Last Update29-Jun-2009 17:10


Comments
(0001012)
Sunanda
22-Jun-2009 12:03

Actual limit is around length of 4100:

a: copy [] loop 4090 [append a 1]
forever [
print length? a
join [] a
append a 1
]
(0001018)
Carl
22-Jun-2009 20:25

The bug appears to be in the REDUCE that is within REPEND inside JOIN. Added a simpler example for it. (In R3 alpha, RECYCLE also validates structures.)
(0001095)
Carl
29-Jun-2009 01:44

Actually, stack expansion was disabled and reduce was overflowing the stack.

Date User Field Action Change
29-Jun-2009 17:10 BrianH Status Modified built => tested
29-Jun-2009 01:44 carl Fixedin Modified => alpha 64
29-Jun-2009 01:44 carl Status Modified reviewed => built
29-Jun-2009 01:44 carl Comment : 0001095 Added -
22-Jun-2009 22:34 carl Summary Modified join crash => Crash on large reduced blocks.
22-Jun-2009 20:25 carl Comment : 0001018 Added -
22-Jun-2009 20:23 carl Code Modified -
22-Jun-2009 12:03 sunanda Comment : 0001012 Added -
22-Jun-2009 09:34 BrianH Code Modified -
22-Jun-2009 09:34 BrianH Severity Modified minor => crash
22-Jun-2009 09:34 BrianH Status Modified submitted => reviewed
22-Jun-2009 09:34 BrianH Priority Modified normal => high
22-Jun-2009 09:34 BrianH Description Modified -
21-Jun-2009 22:57 sunanda Ticket Added -