The viewer does not crash here: it gets killed by MESA because the latter somehow fails.
This is either a MESA bug or a termux bug and you should report it to the corresponding devs.
With a search on the web, I found
this termux issue with the exact same error reported by MESA in
this comment.
On my side, there is strictly nothing I can do...