RFR: 8351733: [macos] Crash when creating too many nested event loops [v3]

Kevin Rushforth kcr at openjdk.org
Mon Mar 24 19:59:16 UTC 2025


On Mon, 24 Mar 2025 18:43:42 GMT, Martin Fox <mfox at openjdk.org> wrote:

> At the risk of opening a can of worms I ran some manual tests on Linux and Windows. Windows starts behaving erratically when the nesting level goes beyond 280. I've occasionally seen a Java.lang.stackOverflowError but most often it freezes up and then the next click causes it to crash with an access violation. Linux behaves well until it gets beyond 600 and then also starts to freeze up (doesn't seem to crash). I haven't dug into what's going on under the hood.

We might want to consider imposing a limit on Linux and Windows, too. It could probably be done as a follow-up...

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1741#issuecomment-2749245036


More information about the openjfx-dev mailing list