- couldn't reproduce without wsrep enabled.
- the test case only applicable to 10.2+ because it uses EXECUTE IMMEDIATE. I couldn't convert it to traditional PS in order to check different versions (the crash disappears upon converting).
- the test case is non-deterministic, although it fails pretty much every time for me. If it doesn't fail for you, run with --repeat.
- i run it in shm to avoid WSREP has not yet prepared node for application use.