I tested this on master and 5.0.6, using Colors -> Curves shows this error after pressing Apply or ok. *** Error in./fx_curves_interactive/*if/** Command 'x_color_curves': No display available. Terminal shows "[CImg] *** CImgDisplayException *** CImgDisplay(): No display available." but im not sure it is related I might not be using the filter as intended, perhaps I misundestood the instruccitions "This filter allows to applv color curves on vour images, in many different colorspaces. Click on the Apply or OK buttons below to open the G'MIC interactive windows and start building vour color curves. When vou're done, exit the main image window: vour modified result will be transferred back to the host software."
This bug should be reported against gmic-qt on github, I think. Mind, this gmic filter doesn't seem to work at all and corrupts the original layer.
From a quick look, it seems CImg has no support for macOS at all. This needs to be reported to dtschump/CImg.