#19 REXX syntax errors crash the JVM

Next Release
Erik Duijs

When there is a syntax error in a REXX script that is started from java, the JVM crashes.
This issue seems to be introduced in the latest version (411.20130714 GA, which reports itself as 411.20130625 at run-time). Previous versions correctly propagate the error condition to java.

The attached test program TestSyntaxErrorCrash.java demonstrates the issue.

1 Attachments


  • Rony G. Flatscher

    Hi Erik,

    took some time this evening to analyze.

    It seems that when doing a RemoveLocalReference() while in a Rexx condition a DetachThread() may cause an exception. As DetachThread() will release all local references anyway it is o.k. not do to it in this context.

    Will upload a new 32-bit Windows BSF4ooRexx.dll which you please use to test whether this fix works for you.

    Tested on Windows XP, SP3, 32-bit ooRexx 4.1.3, Java 1.6/6

    Please let me know ASAP via this tracker item, how it works for you. (I would like to update the BSF4ooRexx package quickly.)


  • Rony G. Flatscher

    • status: open --> pending-fixed
    • assigned_to: Rony G. Flatscher
    • Group: version 411.20130714 --> Next Release
  • Erik Duijs

    Erik Duijs - 2013-10-08

    Hi Rony,

    Thank you very much, this new .dll solves the issue!

    Best regards,

  • Rony G. Flatscher

    • status: pending-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks