The getlegendgraphics with sizeunits meters will crash mapserver

Hi,
using trunk version.

I see a request GetLegendGraphics to a layer having the setting:
SIZEUNITS meters
seem to crash the mapserver.

I verify that removing the "SIZEUNITS" parameter the response is ok.

Also I see that with
SIZEUNITS pixels

the response is ok.