please do SG_ERROR("%s::decide_label(): Dimension  ...., get_name())
to include context information, also provide a bit more information what this means