Segmentation Error When running MGCB --editor

I installed monogame on Linux Mint 20.3 and I installed the editor using .net3.1 which added it successfully. When I run the mgcb-editor --register or mgcb-editor, I get a segmentation error(core dump) and nothing happens. Any help on this issue. I have both .net 6 and .net 3.1 from snap.