Menu

#591 Rexx crashes when NOVALUE: not found

v4.0
closed
5
2012-08-14
2009-03-27
No

/ Bug test -- signal on novalue crashes
** --
** REXX-ooRexx_4.0.0(MT) 6.03 16 Feb 2009
** Microsoft Windows XP [Version 5.1.2600]
**
** When signal on syntax is enabled and signal on novalue is enabled
** and the 'NOVALUE:' label is not found, the interpreter crashes.
**
** One-Line demonstration:
**
rexx -e "signal on syntax; signal on novalue; foo = bar"
**
** Error Message:
**
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

** Crash info:
**
AppName: rexx.exe AppVer: 4.0.0.4183 ModName: rexx.exe
ModVer: 4.0.0.4183 Offset: 00005bfe
/

signal on syntax -- no difference with NAME HANDLER
signal on novalue -- OK with NAME HANDLER
foo = bar -- trigger NOVALUE

say 'OK' -- won't get here
exit

-- novalue: -- OK if NOVALUE: label is found
-- syntax: -- doesn't matter if SYNTAX: is found
handler:
say '*** Line' sigl '- Trapped:' condition('C')

Discussion

  • Rick McGuire

    Rick McGuire - 2009-03-27

    Committed revision 4323.

     
  • Mark Miesfeld

    Mark Miesfeld - 2010-02-19

    The fix for this item was in the 4.0.0 release.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB