REBOL3 tracker
  0.9.12 beta
Ticket #0001896 User: anonymous

Project:

Previous Next
Short URL: http://issue.cc/r3/1896
rss
TypeBug Statusbuilt Date25-Oct-2011 12:11
Versionalpha 111 CategoryError Handling Submitted byLadislav
PlatformAll Severitycrash Prioritynormal

Summary Cyclic string DO
Description The example below does not yield TRUE (expected) in contrast to a similar code doing a block. The bug is causing test-framework crashes.
Example code
	str: "do str"
	error? try [do str]

Assigned ton/a Fixed inr3 master Last Update18-Feb-2014 00:00


Comments
(0003212)
Ladislav
25-Oct-2011 12:17

in the core-tests suite
(0003214)
BrianH
26-Oct-2011 20:36

>> str: "do str" error? try [do str]
** Internal error: stack overflow
** Where: reduce either case load-header ...

It definitely triggers the error, but doesn't catch it. Perhaps something about DO string! calling the sys/do* intrinsic?

>> str: [do str] error? try [catch/quit str]
** Internal error: stack overflow
** Where: do do do do do do do do do do do do

Yup, it's #851 again. I'll put a reference to this ticket in that one.
(0004029)
Ladislav
2-Oct-2013 12:04

Fixed by https://github.com/rebol/r3/pull/167

Date User Field Action Change
18-Feb-2014 00:00 BrianH Fixedin Modified => r3 master
18-Feb-2014 00:00 BrianH Status Modified pending => built
4-Oct-2013 02:44 Ladislav Comment : 0004029 Modified -
2-Oct-2013 12:07 Ladislav Description Modified -
2-Oct-2013 12:05 Ladislav Severity Modified minor => crash
2-Oct-2013 12:05 Ladislav Status Modified reviewed => pending
2-Oct-2013 12:04 Ladislav Comment : 0004029 Added -
26-Oct-2011 20:39 BrianH Comment : 0003214 Modified -
26-Oct-2011 20:36 BrianH Comment : 0003214 Added -
26-Oct-2011 20:32 BrianH Code Modified -
26-Oct-2011 20:32 BrianH Category Modified Unspecified => Error Handling
26-Oct-2011 20:32 BrianH Status Modified submitted => reviewed
25-Oct-2011 12:17 Ladislav Comment : 0003212 Added -
25-Oct-2011 12:11 Ladislav Ticket Added -