Skip to content

Another race condition involving MessageUtils #11498

Description

@oehme

Affected version

4.0.x

Bug description

MessageUtils uses a FastTerminal, which calls systemInstall in a background thread. I already found one race condition where uninstall was called before this background thread finishes. #11048

Unfortunately, there is another race in LookupInvoker. It also calls System.setOut and depending on the timing, this can happen before the FastTerminal background thread finishes. When that happens, you get a StackOverflowError on the next log message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions