unsupported file format error and crash on CR3 files on versions 4.8.1 and 5.0.0 of Darktable

That is not an official release from the darktable team.
See here: install | darktable