Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-388

AT/AFTER CALL println rule will crash ASM in Frame.merge when in verbose mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.17, 4.0.9
    • 3.0.16, 4.0.8
    • Trigger Injection
    • None

    Description

      Byteman includes catch handling code in transformed methods for its own internal exception class ExecuteException and its two subclasses ThrowException and ReturnException. When verbose mode is enabled Byteman tweaks these handlers to inject a call to System.out.println, enabling the exception flow to be traced. If the rule being injected has an AT/AFTER CALL location that matches this injected call then Byteman may in some circumstances try to inject the rule into the handler.

      n.b. the AT CALL rule needs to match ALL target locations for this error to happen.

      Attachments

        Activity

          People

            rhn-engineering-adinn Andrew Dinn
            rhn-engineering-adinn Andrew Dinn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: