Executing # localectl set-x11-keymap <layout> <model> <variant> (i.e. without an <option> argument) will result in an out-of-bounds access to the args-array. This is an obvious typo in locale/localectl.c line 538.
Fixed a while back in 6b2b6f30e38d67b032d6bdc6b47ae05e143e96c5
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.